SwiftWeather is an iOS app developed in Swift language. The app can support iPhone 4(s), iPhone 5(s), iPhone 6 and iPhone 6 Plus.
Because Apple keeps changing the Swift compiler, the current version can be compiled in Xcode 6.1.
- Swift Programming Language
- CocoaPods
- AFNetworking
- Core Location
Because the app uses CocoaPods, we need to run pod install
to install all the pods.
- Open Terminal app.
- Change directory to the project folder.
cd $project_dir
- Use
ls
to list all the file to check whether Podfile file is in the folder? - If the Podfile has been found, then execute
pod install
- If the Mac OS doesn't have CocoaPods installed. Please follow CocoaPods Getting Started to install.
- Once complete installation, open Swift Weather.xcworkspace file with Xcode 6.
- Press Cmd + B to build the app.
- Press Cmd + R to run the app on Simulator.
- Thanks to johnsonjake for adding iOS 8 support and improving the UI/UX.