V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
diwup
V2EX  ›  iDev

使用 WatchOS 3.0 最新接口实时查看空气污染数据

  •  
  •   diwup ·
    diwu · 2016-09-16 21:50:02 +08:00 · 2415 次点击
    这是一个创建于 2750 天前的主题,其中的信息可能已经有所发展或是发生改变。

    • 后台自动刷新使用 WatchOS 3.0 特有的 WKRefreshBackgroundTask 接口实现
    • 在你的苹果表盘上追踪实时空气污染数据。
    • 支持城市: 上海、北京、广州、沈阳和成都。
    • 实时后台刷新,最大延迟小于 30 分钟。
    • 精美 complication 视图,适配 WatchOS 3.0 所有表盘。
    • 使用最新 Swift 3.0 编写。
    • 传送门: https://github.com/diwu/BeijingAirWatch

    欢迎各位 V 友们拍砖开 Issue 提 PR 送星星,尤其是送星星。:)

    2 条回复    2016-09-18 20:33:31 +08:00
    moguiyu
        1
    moguiyu  
       2016-09-17 23:12:52 +08:00
    楼主,能否加入深圳点啊?或者自动最近的点?
    还有就是这个数值这么低该不会是大陆的标准吧?
    diwup
        2
    diwup  
    OP
       2016-09-18 20:33:31 +08:00
    @moguiyu 深圳没有可靠的数据源。:( 截图里的数字是真实数字。来台风的时候就是这么低。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3403 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 10:38 · PVG 18:38 · LAX 03:38 · JFK 06:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.