• Home
  • Free Trial
  • Sign In
  • Plans
  • Tracks
  • Library
  • Community
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
  • Chris George
    Chris George
    9,373 Points

    I don't understand what each of the parameters in the completion handler mean

    Posted May 17, 2015 2:00am by Chris George
    Chris George
    9,373 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    0 Answers

  • Andrés Leal
    Andrés Leal
    9,563 Points

    Don't get the sharedSession instance

    Posted May 16, 2015 2:47am by Andrés Leal
    Andrés Leal
    9,563 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    0 Answers

  • Ben Myhre
    Ben Myhre
    28,726 Points

    MORE Nil value for response

    Posted April 20, 2015 9:41pm by Ben Myhre
    Ben Myhre
    28,726 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    2 Answers

  • Jeanne Merle
    Jeanne Merle
    3,390 Points

    Expected ',' separator : weird error

    Posted April 14, 2015 2:02pm by Jeanne Merle
    Jeanne Merle
    3,390 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    1 Answer

  • markhunter4
    markhunter4
    5,564 Points

    Getting nil value in console?

    Posted March 26, 2015 12:55pm by markhunter4
    markhunter4
    5,564 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    6 Answers

  • Aby Mathew
    PLUS
    Aby Mathew
    Courses Plus Student 2,432 Points

    Extra argument 'completionHandler' in call, What is the error?

    Posted March 17, 2015 12:12pm by Aby Mathew
    Aby Mathew
    Courses Plus Student 2,432 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    1 Answer

  • Kevin Lozandier
    PLUS
    Kevin Lozandier
    Courses Plus Student 53,747 Points

    Update on the API regarding closures involving sharedSessions & relative URLs in Swift needs to be noted.

    Posted February 19, 2015 5:19pm by Kevin Lozandier
    Kevin Lozandier
    Courses Plus Student 53,747 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    4 Answers

  • Seth Dobrin
    Seth Dobrin
    1,459 Points

    downloadTask error in Weather App

    Posted February 1, 2015 12:27am by Seth Dobrin
    Seth Dobrin
    1,459 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    5 Answers

  • Mike Graham
    Mike Graham
    3,325 Points

    Another nil response issue

    Posted January 8, 2015 6:12pm by Mike Graham
    Mike Graham
    3,325 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    2 Answers

  • Rajiv Barton
    Rajiv Barton
    12,051 Points

    Response nil

    Posted January 3, 2015 11:10pm by Rajiv Barton
    Rajiv Barton
    12,051 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    1 Answer

  • Alex Yakir
    Alex Yakir
    5,425 Points

    Hey Guys, Do I need to unwrap forecastURL? coz it looks like I do. Even In your project files I get the same error.

    Posted December 7, 2014 1:19pm by Alex Yakir
    Alex Yakir
    5,425 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    3 Answers

  • Nick Larkins
    Nick Larkins
    5,780 Points

    Getting nil response

    Posted December 3, 2014 12:53pm by Nick Larkins
    Nick Larkins
    5,780 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    1 Answer

  • Daniel Ferguson
    Daniel Ferguson
    1,850 Points

    Please help with coding error/issue

    Posted November 18, 2014 9:47am by Daniel Ferguson
    Daniel Ferguson
    1,850 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    5 Answers

  • Tal Zion
    Tal Zion
    6,234 Points

    Auto code completion not working NSURL etc..

    Posted November 8, 2014 2:45pm by Tal Zion
    Tal Zion
    6,234 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    3 Answers

  • Tal Zion
    Tal Zion
    6,234 Points

    I don't see the documentation on the NSURL Library, and xCode does not suggest this library. It does compile though.

    Posted November 8, 2014 1:59pm by Tal Zion
    Tal Zion
    6,234 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    5 Answers

  • Aaron Williamson
    Aaron Williamson
    10,421 Points

    Different documentation through xcode vs online

    Posted November 3, 2014 9:15pm by Aaron Williamson
    Aaron Williamson
    10,421 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    0 Answers

  • Emayciekay Mack
    Emayciekay Mack
    1,476 Points

    println(repsonse) is Nil. How to get NSData(contentsOfURL : forecastURL!) to work

    Posted October 29, 2014 12:56am by Emayciekay Mack
    Emayciekay Mack
    1,476 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    3 Answers

  • Grace Copplestone
    Grace Copplestone
    3,779 Points

    Add a ! to forecastURL

    Posted October 28, 2014 10:46pm by Grace Copplestone
    Grace Copplestone
    3,779 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    5 Answers

  • Mark El-Lamaa
    Mark El-Lamaa
    1,634 Points

    What is meant by 'session object' and 'completion handler', does the instructor even define these?

    Posted October 28, 2014 9:06pm by Mark El-Lamaa
    Mark El-Lamaa
    1,634 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    1 Answer

  • Raunak Mohanty
    Raunak Mohanty
    1,326 Points

    How do I know when to call a method via Class and when to use instance of the class in documentation ?

    Posted October 22, 2014 8:45pm by Raunak Mohanty
    Raunak Mohanty
    1,326 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    1 Answer

  • elmoreshaw
    elmoreshaw
    1,882 Points

    Not getting any response

    Posted October 20, 2014 8:57pm by elmoreshaw
    elmoreshaw
    1,882 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    3 Answers

  • Asim Zaidi
    Asim Zaidi
    2,222 Points

    Error in sharedSession singleton closure

    Posted October 19, 2014 10:40pm by Asim Zaidi
    Asim Zaidi
    2,222 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    2 Answers

  • George Rodriguez
    George Rodriguez
    1,681 Points

    value of optional type 'NSURL?' not unwrapped, did you mean to use '!' or '?'

    Posted October 3, 2014 8:36pm by George Rodriguez
    George Rodriguez
    1,681 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    2 Answers

  • Ilya Feynberg
    Ilya Feynberg
    2,567 Points

    Not able to get the data from the API

    Posted October 1, 2014 6:11pm by Ilya Feynberg
    Ilya Feynberg
    2,567 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    1 Answer

  • Andre Guerra
    Andre Guerra
    2,799 Points

    Documentation displayed in Xcode for NSURLSession doesn't include the Swift declaration.

    Posted September 28, 2014 5:20pm by Andre Guerra
    Andre Guerra
    2,799 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    1 Answer

  • Matthew Duff
    Matthew Duff
    6,427 Points

    Concurrency and Forecast API Request Connection Lost

    Posted September 23, 2014 2:31pm by Matthew Duff
    Matthew Duff
    6,427 Points
    • iOS
    • Build a Weather App with Swift (Retired)
    • Concurrency
    • Writing Concurrent Networking Code

    4 Answers

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
  • Perks
  • Public Library Access
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2023 Treehouse Island, Inc.