English 中文(简体)
NSPersistantStore 协调员 - 添加PersistentStoreWithType,无处不在。
原标题:NSPersistantStoreCoordinator - addPersistentStoreWithType - going nowhere?

I think I am starting to get somewhere with iCloud integration in my iPhone and Mac apps. Sometimes things are occasionally syncing between the devices!

但是,我发现,当这些 app子确实坠毁时,任何变化都不再与iux的储存混在一起。

一旦宏观版本坠毁,我就能够再次坠毁——似乎在达到<条码>时陷入了僵局。 方法内——<代码>(NSPersistentStore Co Coordinator *)

我没有发现任何错误,只是无限期地坐在那里(这在黑板上)。

还有一个单独的问题——我的理解是,我可以利用现有数据库,并期望它出现在iux 储存库中——我会想到,它如何通过口袋将其进口到新的Sqlite db(关于对我进行的改革,还是把它移至i±储存)?

感谢任何帮助,

Adam

最佳回答

My solution to this problem is to set NSPersistentStoreUbiquitousContentNameKey to a UUID if a folder doesn t already exist in the ubiquity directory. Use this UUID in other clients as long as the directory still exists, otherwise generate a new one.

问题回答

暂无回答




相关问题
2 mysql instances in MAC

i recently switched to mac. first and foremost i installed xampp. then for django-python-mysql connectivity, i "somehow" ended up installing a seperate MySQL. now the seperate mysql installation is ...

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Controlling OSX windows

I m trying to control windows of a foreign OSX applications from my application. I d like to 1. move the windows on the screen 2. resize the windows on the screen 3. change the currently active window ...

Switching J2SE versions on Mac OS (SnowLeopard)

My current JDK on Mac OS (10.6) is set to 1.6 and I d like to switch to 1.5. A listing of /System/Library/Frameworks/JavaVM.framework/Versions/ shows: lrwxr-xr-x 1 root wheel 10 Nov 3 18:34 ...

Scrolling inside Vim in Mac s Terminal

I ve been googling around trying to figure out if it s possible to use my mouse wheel to scroll while inside Vim in Mac s Terminal, with no luck. It seems as if only X11 or iTerm support this. Before ...

export to MP3 from quicktime API

A question for Apple,QT programmers. Would like to know if it s possible to export a Movie object to MP3 using the QuickTime API. Preferably the ConvertMovieToFile function. I ve looked at ...

热门标签