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 trialsam chacko ninan
2,278 Pointshow can i get the data outside the closure say a array instead of setting the temperature value to UI label.text
how can i get the data outside the closure say store the data into a array instead of setting the temperature value to UI label.text directly in the closure
if let currentWeatherWeb = currently {
dispatch_async(dispatch_get_main_queue()) {
}
sam chacko ninan
2,278 Pointssam chacko ninan
2,278 Pointsto add to my question. I want to use the array later once the closure is completed.