GithubHelp home page GithubHelp logo

sfers / swiftweather Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jakelin/swiftlanguageweather

0.0 2.0 0.0 23.72 MB

SwiftWeather is an iOS app developed in Swift language.

License: MIT License

Swift 97.63% C++ 2.37%

swiftweather's Introduction

Swift Weather

SwiftWeather is an iOS weather app developed in Swift language. The app can support iPhone 4(s), iPhone 5(s), iPhone 6 and iPhone 6 Plus. The app also support Today Widgets.

Version 2

This is version 2. I have ugraded the entire project to use Carthage, Alamofire and SwiftyJSON. And the app can only support iOS8+, if you want to support iOS7 or use CocoaPods and AFNetworking. Please have a look at README.v1.md and Release Using Cocoapods and AFNetworking. Happy coding.

Screenshots

Loading

Loading

Swift Weather

Notices

Because Apple keeps changing the Swift compiler, the current version can be compiled in Xcode 6.2 beta.

Used features

  • Swift Programming Language
  • Carthage
  • Alamofire
  • SwiftyJSON
  • Core Location
  • Using Framework to share code between targets(app and widget).

Known issues

Because we are using Carthage to build the third party packages. There are some build warings like ld: warning: linking against dylib not safe for use in application extensions: /Build/Products/Debug-iphoneos/Alamofire.framework/Alamofire

How to build

Because the app uses carthage, we need to install carthage. To install the carthage tool on your system, please download and run the Carthage.pkg file for the latest release, then follow the on-screen instructions..

  1. Open Terminal app.
  2. Change directory to the project folder. cd $project_dir
  3. Use ls to list all the file to check whether Cartfile file is in the folder?
  4. If the Cartfile has been found, then execute carthage update.This will fetch dependencies into a Carthage/Checkouts folder, then build each one.
  5. On your application targets’ “General” settings tab, in the “Linked Frameworks and Libraries” section, drag and drop each framework you want to use from the Carthage/Build folder on disk. In our project, which are Alamofire and SwiftyJSON
  6. Press Cmd + B to build the app.
  7. Press Cmd + R to run the app on Simulator.

Credits

  • Thanks to johnsonjake for adding iOS 8 support and improving the UI/UX.
  • Thanks to Marc for adding forcast feature, widget and app icon.

swiftweather's People

Contributors

jakelin avatar wozuo avatar thelittleboy avatar orchan avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.