AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or Python. 🚀

Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Memory Mungofa
    Memory Mungofa
    3,343 Points

    how do i correct my code

    Posted April 23, 2015 9:10am by Memory Mungofa
    Memory Mungofa
    3,343 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    1 Answer

  • MUZ140563 Brighton Madire
    MUZ140563 Brighton Madire
    4,365 Points

    Im having problem here

    Posted April 10, 2015 10:24am by MUZ140563 Brighton Madire
    MUZ140563 Brighton Madire
    4,365 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    1 Answer

  • Kulan Kahadugoda
    Kulan Kahadugoda
    2,149 Points

    Can't figure out how to "assign the NSData call to the courseData constant"

    Posted April 9, 2015 3:24am by Kulan Kahadugoda
    Kulan Kahadugoda
    2,149 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    1 Answer

  • matt tripodi
    matt tripodi
    2,673 Points

    Help with challenge

    Posted April 3, 2015 7:28pm by matt tripodi
    matt tripodi
    2,673 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    2 Answers

  • Matthew Giuliano
    Matthew Giuliano
    2,749 Points

    How would I do the second coding challenge?

    Posted March 6, 2015 4:36pm by Matthew Giuliano
    Matthew Giuliano
    2,749 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    1 Answer

  • Allan Noguera
    PLUS
    Allan Noguera
    Courses Plus Student 2,421 Points

    What is the correct answer for the challenge, fetching json data?

    Posted February 19, 2015 8:56pm by Allan Noguera
    Allan Noguera
    Courses Plus Student 2,421 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    1 Answer

  • Manohar Pilli
    Manohar Pilli
    2,549 Points

    Why it's not compiling?

    Posted February 19, 2015 3:26am by Manohar Pilli
    Manohar Pilli
    2,549 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    1 Answer

  • Richard Robinson
    Richard Robinson
    5,373 Points

    Can anyone explain why this code does not work?

    Posted February 17, 2015 11:18am by Richard Robinson
    Richard Robinson
    5,373 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    2 Answers

  • Erman Sefer
    Erman Sefer
    7,523 Points

    Challange Error

    Posted January 29, 2015 12:52pm by Erman Sefer
    Erman Sefer
    7,523 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    1 Answer

  • Lei zheng
    Lei zheng
    7,990 Points

    NSData.getDatafromURL(...........) now change to NSdata(contentsOfURL: courseURL!, options: nil, error: nil)

    Posted January 22, 2015 12:53am by Lei zheng
    Lei zheng
    7,990 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    3 Answers

  • Florent Remis
    Florent Remis
    2,492 Points

    I don't understand why it doesn't work, I checked the video and it is the right code

    Posted January 20, 2015 9:08am by Florent Remis
    Florent Remis
    2,492 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    1 Answer

  • Dominic Bryan
    Dominic Bryan
    14,452 Points

    Has the Code Challenge been updated to current xcode format? or is my code just wrong

    Posted January 16, 2015 1:59am by Dominic Bryan
    Dominic Bryan
    14,452 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    1 Answer

  • Lei zheng
    Lei zheng
    7,990 Points

    Let's assume that the courseURL we created earlier returns some JSON data from Treehouse API. Create a data object to ca

    Posted January 15, 2015 6:24am by Lei zheng
    Lei zheng
    7,990 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    1 Answer

  • beven nyamande
    beven nyamande
    9,575 Points

    ios networking

    Posted December 29, 2014 5:47am by beven nyamande
    beven nyamande
    9,575 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    1 Answer

  • sv
    sv
    1,244 Points

    Having trouble getting past this

    Posted December 22, 2014 8:16pm by sv
    sv
    1,244 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    3 Answers

  • Carlos Lagares
    Carlos Lagares
    4,332 Points

    courseURL

    Posted December 11, 2014 3:15pm by Carlos Lagares
    Carlos Lagares
    4,332 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    1 Answer

  • Roca Lu
    Roca Lu
    6,074 Points

    what's wrong?

    Posted December 10, 2014 1:35am by Roca Lu
    Roca Lu
    6,074 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    1 Answer

  • sookwonht
    sookwonht
    3,325 Points

    my answer appears correct, triple checked it, can't seem to past this screen. Thank you

    Posted December 7, 2014 7:23am by sookwonht
    sookwonht
    3,325 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    2 Answers

  • Edwin Mhoy Silva Rifa
    Edwin Mhoy Silva Rifa
    2,631 Points

    NSdate problem

    Posted December 2, 2014 8:27pm by Edwin Mhoy Silva Rifa
    Edwin Mhoy Silva Rifa
    2,631 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    4 Answers

  • Brian Oei
    Brian Oei
    2,175 Points

    It says I need to assign Data Object to courseData constant even though I have clearly done that.

    Posted November 23, 2014 12:34am by Brian Oei
    Brian Oei
    2,175 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    1 Answer

  • Craigg Bergeron
    Craigg Bergeron
    7,320 Points

    Code Challenge Fetching JSON Data

    Posted November 15, 2014 9:45am by Craigg Bergeron
    Craigg Bergeron
    7,320 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    4 Answers

  • Matt Osborn
    Matt Osborn
    1,042 Points

    Advising incorrect answer?

    Posted November 11, 2014 8:36pm by Matt Osborn
    Matt Osborn
    1,042 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    0 Answers

  • William Crawford
    William Crawford
    4,319 Points

    Still uses old Swift term

    Posted November 2, 2014 10:38pm by William Crawford
    William Crawford
    4,319 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    1 Answer

  • Levi Lais
    Levi Lais
    5,975 Points

    Let's assume that the courseURL we created earlier returns some JSON data from Treehouse API. Create a data object to ca

    Posted October 9, 2014 11:08am by Levi Lais
    Levi Lais
    5,975 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    2 Answers

  • Alejandro Machado
    Alejandro Machado
    16,091 Points

    "Fetching JSON Data" code challenge - Deprecated method

    Posted October 2, 2014 4:43pm by Alejandro Machado
    Alejandro Machado
    16,091 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    1 Answer

  • Amrit Khokhar
    Amrit Khokhar
    592 Points

    Stuck on a challenge

    Posted October 1, 2014 5:22pm by Amrit Khokhar
    Amrit Khokhar
    592 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Fetching JSON Data

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.