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
jon kelson
5,149 PointsHi I've been asked to do this from JSON in iOS please help
- this is what I e been asked to do ..... // render a list of people from the JSON feed provided. ( they have sent a file with this in an email ) //
SO THE QUESTION IS ... can I render a list, in the same way we did with the plist in the "build a vending machine app " lesson ?
2 Answers
jon kelson
5,149 Pointsok thanks Jhoan ,what do I need to do with the JSON file,
just add it to a file in my Xcode prodject and then iterate through it like we did in the plist lesson ?
also people are using swiftyJSON on youtube . Do I need to use that . ?
don't worry if you don't know all the answers, I was just thrown into the deep end so sorry for all the questions. .
Jhoan Arango
14,575 PointsSwiftyJSON is good to use for that.. I was going to recommended on my previews comment, but I am not sure how far you are in Swift or iOS development.
jon kelson
5,149 Pointsok thank you looks like ill look at SwiftyJSON . one last question , do treehouse teach how to do this in swift do you know .\ many thanks
Jhoan Arango
14,575 PointsJhoan Arango
14,575 PointsHello:
Sure you can.. you can iterate through the JSON information and create a list. Perhaps an idea would be iterating, and then creating a dictionary or an array with the names from the JSON.