🤑 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
  • Kevin Murphy
    Kevin Murphy
    24,380 Points

    Swift - Class Method syntax (when calling)

    Posted May 26, 2015 8:06pm by Kevin Murphy
    Kevin Murphy
    24,380 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Networking in iOS

    0 Answers

  • Chris George
    Chris George
    9,373 Points

    let forecastURL assignment error?

    Posted May 7, 2015 4:29pm by Chris George
    Chris George
    9,373 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Networking in iOS

    1 Answer

  • Juran-Perez Moodley
    Juran-Perez Moodley
    2,018 Points

    Need help on task 2 in the challenges. My code isn't working.

    Posted April 30, 2015 4:50am by Juran-Perez Moodley
    Juran-Perez Moodley
    2,018 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Networking in iOS

    1 Answer

  • MUZ140563 Brighton Madire
    MUZ140563 Brighton Madire
    4,365 Points

    If we were fetching the location every time we made a query ,what will you put on the empty String at your forecastURL

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

    1 Answer

  • Dave Pinchoff
    Dave Pinchoff
    4,440 Points

    Why am I getting this error? ViewController.type does not have a member named 'apiKey'

    Posted February 9, 2015 12:52am by Dave Pinchoff
    Dave Pinchoff
    4,440 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Networking in iOS

    4 Answers

  • robin Dylan
    robin Dylan
    2,659 Points

    Each time i type in the NSURL declaration xcode does not autocomplete it at all and manually filling it doesnt work.

    Posted January 25, 2015 8:48am by robin Dylan
    robin Dylan
    2,659 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Networking in iOS

    1 Answer

  • Tiger Wang
    Tiger Wang
    26,548 Points

    Can't play or download this video at all.

    Posted November 6, 2014 1:14am by Tiger Wang
    Tiger Wang
    26,548 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Networking in iOS

    2 Answers

  • Chirs Davies
    Chirs Davies
    6,379 Points

    when i download this file why does it only work when its in my download file? if i move it out i get a compiler error?

    Posted October 30, 2014 5:50pm by Chirs Davies
    Chirs Davies
    6,379 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Networking in iOS

    0 Answers

  • Aaron Williamson
    Aaron Williamson
    10,421 Points

    Having trouble interpreting NSURL Class Reference in the Swift documentation.

    Posted October 24, 2014 8:21pm by Aaron Williamson
    Aaron Williamson
    10,421 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Networking in iOS

    2 Answers

  • Aaron Williamson
    Aaron Williamson
    10,421 Points

    Why does Pasan define the forecastURL constant within the viewDidLoad function rather than outside of it?

    Posted October 24, 2014 7:32pm by Aaron Williamson
    Aaron Williamson
    10,421 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Networking in iOS

    2 Answers

  • Akilah Jones
    Akilah Jones
    18,397 Points

    What's the advantage of using NSURL?

    Posted October 14, 2014 12:17pm by Akilah Jones
    Akilah Jones
    18,397 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Networking in iOS

    3 Answers

  • Delip Rao
    Delip Rao
    1,736 Points

    Bizzaro compile error

    Posted September 26, 2014 6:50pm by Delip Rao
    Delip Rao
    1,736 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Networking in iOS

    1 Answer

  • Anthony Ho
    Anthony Ho
    10,228 Points

    I want to learn how to use the forecast.io api in objective-C.

    Posted September 26, 2014 11:02am by Anthony Ho
    Anthony Ho
    10,228 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Pulling Data From the Web
    • Networking in iOS

    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.