Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Swift Language Weather is an iOS weather app developed in Swift 4.

License

NotificationsYou must be signed in to change notification settings

JakeLin/SwiftLanguageWeather

Repository files navigation

BuddyBuildLanguageLicense

SwiftWeather has renamed toSwift Language Weather. Because this repo is ranked number one in Google when we search "Swift Weather", I got an email from Swift Weather Company's lawyer to ask me to change the name because they said they are the owner of U.S. Trademark SWIFT WEATHER. After discussed with them, they were not happy with the name SwiftyWeather. Now the new project name isSwift Language Weather. More details can be found onIssue: Open source project using a registered trademark.

Swift Language Weather 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.

There is three major version of the app released before.

  • V1.0 - Support iOS 7+ using CocoaPods and AFNetworking.README.v1.md andRelease V1 - Using CocoaPods and AFNetworking
  • V2.0 - Support iOS 8+ using Carthage, Alamofire, and SwiftyJSON.README.v2.md andRelease V2.0
  • V2.1 - Support iOS 8+ using Alamofire and SwiftyJSON. This version has removed Carthage because some developers don't have a paid Apple iOS developer account, and they have issues to build Carthage packages.
  • V3.0 - Support iOS 9+ and Swift 3.

Screenshots

Features

Sketch design

  • Custom UIView

Custom UIView

  • @IBDesignable and@IBInspectable - Reusable UI components

IBDesignable and IBInspectable

  • UIStackView

UIStackView

  • Size Classes - Support different devices with adaptive layout

Size Classes

  • MVVM - Reactively updateViewController UI fromViewModel
  • Protocol-Oriented Programming - We use Protocol-Oriented Programming inIBAnimatable open source project.
  • Value-based programming - Use immutable value anywhere.
  • Icon fonts - UseWeather Icons
  • SwiftyJSON
  • Core Location
  • App indexing like CoreSpotlight andNSUserActivity
  • Unit Tests
  • UI Tests
  • Animations

How to build

  1. Clone the repository
$ git clone https://github.com/JakeLin/SwiftLanguageWeather.git
  1. Install pods
$cd SwiftLanguageWeather$ pod install
  1. Open the workspace in Xcode
$ open"SwiftWeather.xcworkspace"
  1. Sign up onopenweathermap.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.

  1. Compile and run the app in your simulator

  2. If you don't see any data, please check "Simulator" -> "Debug" -> "Location" to change the location.

Requirements

  • Xcode 9
  • iOS 10+
  • Swift 4

About

Swift Language Weather is an iOS weather app developed in Swift 4.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors24

Languages


[8]ページ先頭

©2009-2025 Movatter.jp