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 Pointsplease help with my JSON project I'm nearly there!
Hi all,
I've been asked to do three things 1 . 1ST i had to render a list of team members from a JSON list WHICH I'VE DONE ! and it prints to the console!
HOW DO I DO STAGE 2 & 3 ?
this is my code. for stage 1
import UIKit import Alamofire
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
Alamofire.request(.GET, "http://developers.mub.lu/resources/team.json").responseJSON { (response) -> Void in
//check if the response has a value
if let JSON = response.result.value {
print(JSON)
}
}
}
//2. I now need to, visually! high light each lead members from the json list.
//3. show detail view of each team member in new screen when tapped .