• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSDocument subclass, File Wrappers & Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSDocument subclass, File Wrappers & Core Data
      • From: mmalc crawford <email@hidden>
References: 
 >NSDocument subclass, File Wrappers & Core Data (From: Matthew Johnson <email@hidden>)
 >Re: NSDocument subclass, File Wrappers & Core Data (From: mmalc crawford <email@hidden>)

  • Prev by Date: Re: Core Data and unknown types
  • Next by Date: NSScrollView in a child overlay window not receiving scrollWheel: events
  • Previous by thread: Re: NSDocument subclass, File Wrappers & Core Data
  • Next by thread: Re: NSDocument subclass, File Wrappers & Core Data
  • Index(es):
    • Date
    • Thread