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
megabits
V2EX  ›  iDev

iCloud 写起来真是个坑

  •  
  •   megabits · 2015-10-31 09:29:41 +08:00 · 3022 次点击
    这是一个创建于 3093 天前的主题,其中的信息可能已经有所发展或是发生改变。

    刚开始为了图省事,写个 todolist 直接用了个数组存,没用 coredata 这种东西,然后现在要加 icloud 就疯了。 icloud 没有提供 Notification 来判断是不是从 icloud 检查完了数据,只提供了判断有没有数据更改的 Notification ( Key - Value )。然后你懂的,各种同步冲突。。。。。。我真是逼了狗了。

    4 条回复    2015-11-01 00:35:12 +08:00
    xfspace
        1
    xfspace  
       2015-10-31 10:00:16 +08:00
    看标题我还以为你要写个 iCloud !!!
    megabits
        2
    megabits  
    OP
       2015-10-31 10:08:57 +08:00
    @xfspace 哈哈哈哈哈哈哈哈哈哈
    twoyuan
        3
    twoyuan  
       2015-10-31 12:40:18 +08:00
    @xfspace +1 ,应该是「用起来」吧 :)
    wezzard
        4
    wezzard  
       2015-11-01 00:35:12 +08:00
    UIManagedDocument? CloudKit?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5238 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 07:08 · PVG 15:08 · LAX 00:08 · JFK 03:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.