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
Hamza Ansari
1,014 PointsHow to create an API for an iOS poll?
I'm working on an app for iOS that involves users taking polls, but how do I create an API on a server that would receive poll responses for each choice and can display the results back to the app? I've been able to create my PHP poll but I have no idea on how to create an API for it. Where do I start?
1 Answer
Justin Horner
Treehouse Guest TeacherHello Hamza,
You may want to consider looking at Parse.com. This can serve as your backend and mobile app API.
I hope this helps.
Hamza Ansari
1,014 PointsHamza Ansari
1,014 PointsI'm really having trouble using it; on Parse where do I find the servers where I write the API for receiving data (i.e. responses) from the app and sending data (i.e. results) back to the app? It seems like a very convenient service but I'm still pretty lost as to where these things go, embarrassingly enough. Do I just do everything on XCode? I signed up with Parse but really don't know where to start.