V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
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 · Oct 31, 2015 · 3634 views
    This topic created in 3834 days ago, the information mentioned may be changed or developed.

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

    4 replies    2015-11-01 00:35:12 +08:00
    xfspace
        1
    xfspace  
       Oct 31, 2015
    看标题我还以为你要写个 iCloud !!!
    megabits
        2
    megabits  
    OP
       Oct 31, 2015
    @xfspace 哈哈哈哈哈哈哈哈哈哈
    twoyuan
        3
    twoyuan  
       Oct 31, 2015
    @xfspace +1 ,应该是「用起来」吧 :)
    wezzard
        4
    wezzard  
       Nov 1, 2015
    UIManagedDocument? CloudKit?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5120 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 102ms · UTC 05:59 · PVG 13:59 · LAX 22:59 · JFK 01:59
    ♥ Do have faith in what you're doing.