yydq.github.io

Swift Language Weather

BuddyBuild Language License

SwiftWeather is an iOS weather app developed in Swift 4. The app has been actively upgrading to adopt the latest features of iOS and Swift language.

Notices

The current version is working with Xcode Version Xcode 9.1 (9B55). If you are using different Xcode version, please check out the previous releases.

Version 4

This version has been upgraded to support iOS 10+ only using Swift 4.

Screenshots

Features

Sketch design

Custom UIView

IBDesignable and IBInspectable

UIStackView

Size Classes

How to build

1) Clone the repository

$ git clone https://github.com/yux567890/SwiftWeather.git

2) Install pods

$ cd SwiftLanguageWeather
$ pod install

3) Open the workspace in Xcode

$ open "SwiftWeather.xcworkspace"

4) Sign up on openweathermap.org/appid to get an appid

$ mkdir .access_tokens
$ echo "your-openweathermap-appid" > .access_tokens/openweathermap

Please replace “your-openweathermap-appid” with your actual appid key.

5) Compile and run the app in your simulator

6) If you don’t see any data, please check “Simulator” -> “Debug” -> “Location” to change the location.

Requirements