Yes. If you use the SQLite store, it automatically uses filesystem locking. Indeed, that is how CalendarStore and AddressBook operate under the hood these days I believe.
The major caveat is that the locking doesn't work if the file is accessed from two different filesystems. i.e. a local file which another machine is also trying to access over the network at the same time. Mike. On 28 Dec 2009, at 17:50, Robert Monaghan wrote: > Is it possible to share a DataModel and resulting db file between 2 apps? > If so, what sort of pitfalls are present? > > I want to create an App that creates the DB file, and a plugin for another > App, that reads the database file. > > Thanks! > > bob.. > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net > > This email sent to cocoa...@mikeabdullah.net _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com