Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Michael Voccola
1,758 PointsSwift, iOS, FileMaker and PHP
I have a database that is currently built and hosted completely within FileMaker Server Advanced 13 and would like to access it within a native iOS application. FileMaker's PHP engine allows you to access existing scripts etc... which should make things a bit easier, but I am having trouble finding the information to just get the connection going as I don't know Objective-C and just started learning Swift and PHP.
For reference, the portion of the system I would like to replicate in a native iOS app scans barcodes on an iPhone and generates a record in the FileMaker database. For now though, I have created and hosted a database that is a basic address book just to get a feel for how this is all going to work.
That said, I am looking for some guidance in creating the basis of communication between iOS and FileMaker's PHP server using Swift as a language. There are a few articles on this out there, but they are in Objective-C and none of them are specifically geared towards FileMaker.
Here is some information on FileMaker PHP API: http://www.filemaker.com/support/technologies/php.html
https://fmhelp.filemaker.com/docs/13/en/fms13_cwp_php.pdf
Any help is greatly appreciated!