Array playground focused on .map, .filter, and .reduce
Uses real weather data from http://openweathermap.org
- Go to: http://home.openweathermap.org/users/sign_up to signup for free Weather API access.
- Copy your API key to the "openWeatherAPIKey" variable in the /Sources/SupportCode.swift file.
- Since this project uses CocoaPods, open the Arrays.xcworkspace file in XCode.
- The target may have several targets listed.
Select ArraysPlayground target and then select "Manage Schemes …".
- Deselect the checkbox in upper left that says “Autocreate Schemes”.
- Deselect all the schemes except the ArraysPlayground.
- Build the ArraysPlayground target.
- Expand the Arrays.playground file and start with the "Array.map Intro" playground page.