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!
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

Andrés Leal
9,563 PointsAPI's!!??
I want to create an app of quotes using the API: "They Said So" and I was wondering if that is possible to use on iOS development(swift) and another question: "Can I use any API that uses JSON data in an app?"
Thanks! :D
1 Answer

val osipenko
970 PointsYes this is pretty easy to set up and implement. All you have to do is make an http request using nsurl... or you could install the afnetworking cocoapod (I like afnetworking better) then from the JSON response you can pull the quote and display in your app.
You could also create your own database of quotes using parse.com/firebase.com/etc....
Andrés Leal
9,563 PointsAndrés Leal
9,563 PointsHow do I log my quotes to the database? I used Parse and already included it to my project? Thanks