Re: NSDocument subclass, File Wrappers & Core Data
Re: NSDocument subclass, File Wrappers & Core Data
- Subject: Re: NSDocument subclass, File Wrappers & Core Data
- From: Matthew Johnson <email@hidden>
- Date: Wed, 6 Dec 2006 21:14:50 -0600
There are various posts in the archives describing an idea mmalc
has had about subclassing NSDocument to store a persistent store
inside a file wrapper.
It won't work -- the documentation has been updated accordingly:
"Note that NSPersistentDocument does not support some standard
document behavior, in particular NSPersistentDocument does not
support file wrappers."
<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSPersistentDocument_Class/Reference/Reference.html
>
mmalc
Thanks for the quick reply. I have seen this documentation already
which is why I'm not thinking of using NSPersistentDocument. What I
am thinking of is subclassing NSDocument and managing the persistence
stack myself and setting it up to use a store inside a file wrapper.
Have you tried doing this or heard of specific reasons why it won't
work?
Thanks,
Matthew
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden