GithubHelp home page GithubHelp logo

2008muyu / rainreminder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chaostong/rainreminder

0.0 1.0 0.0 22.94 MB

SwiftWeather--简洁的Swift天气应用

Home Page: https://itunes.apple.com/us/app/rainreminder/id1102738128?l=zh&ls=1&mt=8

Ruby 0.10% Swift 53.42% Objective-C 45.84% Shell 0.64%

rainreminder's Introduction

RainReminder

Version 1.4.0

Update to Swift3 date 2017.08.29

简洁的Swift天气预报软件.(ps:简洁是因为复杂的我还不会orz)

明天要下雨,你记得要带伞了吗?
明天要降温,你记得要多穿衣服了吗?
明天要刮风,你记得要口罩了吗?

简洁的天气预报软件,简洁的操作,手势下拉搜索,或上滑显示七天预报.
还可以使用中文搜索**其它地区的天气哦.
目前只支持**国内地区,搜索暂不支持海外.
设置中可以设置提醒的时间.下雨或异常天气才会提醒哦.

支持微博分享当天天气内容.

联系邮箱: [email protected] 讨论Q群: 188255611

####WebSite: RainReminder-Swift天气应用
####AppStore: 已上架AppStore

GIF

探索应用 七天预报 通知 搜索 分享到微博 Today Widget

Installing/Getting started

  • 拥有一台Mac,并且安装了最新的Xcode.
  • 需要开发证书,个人证书(free自行google),苹果开发者购买(99$/year) or taobao(ps:虚拟机开发不许要证书,相关开发功能受限,区别自行google)
  • 安装cocoapods.(自行google)
  • git clone project,then 使用terminal
pod install
  • 打开RainReminder.xcworkspace,修改Bundle Identifier名称,修改Team里的证书
  • Build Settings -> Code Signing, 修改签名.

没有开发者证书的,把today相关信息删除.这个是Today Widget部分. 注意有两个分支通常以通过审核版本会放在master里,开发版会放在develop里。 出现任何问题可以make a issue,或者发送email:[email protected](尽可能一次性描述你的问题)

Developing

如何学习此项目(首先,写的不好,仅限初学者学习) 代码比较易懂,没有过多的封装,所以没有很详细的介绍. 通过本项目可以比较熟悉的了解以下内容:

  • 使用Alamofire库进行网络请求
  • 使用SwiftyJSON解析JSON数据
  • 使用UserDefault保存数据
  • 使用NSCoding协议归档数据
  • 使用TableView,CollectionView
  • 使用SDWebImage获取网络图片
  • WeiboSDK获取授权并发送微博
  • 本地通知
  • 商品内购
  • 使用定位服务并获取CLPlacemark相关信息
  • Today Widget

以上内容都会以项目代码为实例‘尽快’编写相关教程(如果这个项目有人star的话...目标100个就写好不好)

Features

这款应用能干什么呢?

  • 当然是获取天气啦,信息由和风天气提供3小时更新,7天预报
  • 搜索**地区天气
  • 设置提醒(明天要下雨啦,明天降温了,明天热死了)
  • 分享到微博,App专用小尾巴(来自RainReminder)
  • Today Widget

Contributing

Contact Me

Licensing

The MIT License (MIT)

Copyright (c) 2015 ChaosTong

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

rainreminder's People

Contributors

chaostong avatar bryant1410 avatar

Watchers

James Cloos 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.