Voltar ao ranking

JakeLin/SwiftLanguageWeather

Swift

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

swift-languageswift-weatherios-weatherswift4designinterface-builder
Crescimento de estrelas
Estrelas
5.2k
Forks
1.2k
Crescimento semanal
Issues
9
2k4k
jun. de 2014jun. de 2018jul. de 2022jul. de 2026
README

Swift Language Weather

BuddyBuild Language License

SwiftWeather has renamed to Swift 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 is Swift Language Weather. More details can be found on Issue: 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 and Release V1 - Using CocoaPods and AFNetworking
  • V2.0 - Support iOS 8+ using Carthage, Alamofire, and SwiftyJSON. README.v2.md and Release 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 update ViewController UI from ViewModel
  • Protocol-Oriented Programming - We use Protocol-Oriented Programming in IBAnimatable open source project.
  • Value-based programming - Use immutable value anywhere.
  • Icon fonts - Use Weather Icons
  • SwiftyJSON
  • Core Location
  • App indexing like CoreSpotlight and NSUserActivity
  • 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 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.

  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
Repositórios relacionados
vsouza/awesome-ios

A curated list of awesome iOS ecosystem, including Objective-C and Swift Projects

SwiftMIT Licenseawesomeswift-library
awesomeios.dev
52.8k7k
matteocrippa/awesome-swift

A collaborative list of awesome Swift libraries and resources. Feel free to contribute!

RubyRubyGemsCreative Commons Zero v1.0 Universalswift-frameworkswift-library
26.2k3.1k
Tim9Liu9/TimLiu-iOS

iOS开发常用三方库、插件、知名博客等等

GNU General Public License v3.0swift-libraryswift-extensions
11.7k3.8k
kickstarter/ios-oss

Kickstarter for iOS. Bring new ideas to life, anywhere.

SwiftApache License 2.0reactivecocoareactiveswift
kickstarter.com/mobile
8.7k1.2k
bizz84/SwiftyStoreKit

Lightweight In App Purchases Swift framework for iOS 8.0+, tvOS 9.0+ and macOS 10.10+ ⛺

SwiftMIT Licenseswift-languageios
6.7k806
Wolg/awesome-swift

A curated list of awesome Swift frameworks, libraries and software.

swift-languageswift
5.9k531
uraimo/Awesome-Swift-Playgrounds

A List of Awesome Swift Playgrounds

SwiftOtherswift-playgroundslearning-swift
4.4k343
ankurp/Dollar

A functional tool-belt for Swift Language similar to Lo-Dash or Underscore.js in Javascript

SwiftMIT Licenseswiftdollar
dollarswift.org
4.2k362
Lax/Learn-iOS-Swift-by-Examples

精心收集并分类整理的Swift开发学习资源,包括Apple官方提供的示例代码和文档,以及github上的项目和国内外开发者的技术博客。欢迎提交pull-request一起维护。https://t.me/SwiftCN QQ交流群 32958950 申请请注明开发经验

Swiftswift-languageswift-programming
lax.github.com/SwiftBeginnersGuide/
3.8k856
iOS-Swift-Developers/Swift

🥇Swift基础知识大全,🚀Swift学习从简单到复杂,不断地完善与更新, 欢迎Star❤️,欢迎Fork, iOS开发者交流:①群:446310206 ②群:426087546

CMIT Licenseswiftswift3
blog.csdn.net/qq_31810357
1.9k482
jakarmy/swift-summary

A summary of Apple's Swift language written on Playgrounds

SwiftMIT Licenseswift-languageswift-summary
1.7k127
jogendra/example-ios-apps

 A curated list of Open Source example iOS apps developed in Swift. An amazing list for people who are beginners and learning ios development and for ios developers who need any example app or feature.

SwiftMIT Licenseiosios-app
jogendra.github.io
1.4k272