My advice is not to bother. Just subclass NSDocument directly and implement the Core Data side of things there. It really isn't too much work.

Mike.

On 3 Dec 2008, at 09:42, Paul Tomlin wrote:

I'm looking for the current best practice for convincing NSPersistentDocument to work with document packages.

I've found quite a few references online[1] which indicate this is/ was a known issue and there seem to be a few workarounds. What I'm wondering is if the stuff I've discovered is 'current', since I don't seem to be able to find anything circa 2008.

The current Apple docs still state that NSPD doesn't play nice with file wrappers, so I assume you still need to work around this issue and I've not seen an Apple Approved (tm) example.

A quick pointer to somewhere would be completely sufficient, I'm really just Googled out now :)

Thanks,

Paul

[1] 
http://acaro.wordpress.com/2007/07/19/core-data-persistent-packages-revisited/
[1] http://acaro.wordpress.com/2007/07/09/packages-and-core-data-documents/
[1] http://lists.apple.com/archives/cocoa-dev/2007/Jul/msg00103.html
[1] http://www.cocoadev.com/index.pl?NSPersistentDocumentAsPackage

_______________________________________________

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 [EMAIL PROTECTED]

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to