Hello list,

I'm having trouble tracking down what I would think to be a simple answer for a simple question:

In my NSPersistentDocument based application (10.4), selecting 'revert' from the file menu creates new window controllers (I assume it is just re-opening the original document), but it doesn't deallocate the old window controllers from the document that was edited pre-revert. This creates a ton of "'entityForName' could not locate an NSManagedObjectModel" error's due to the fact that the document these window controllers were retained in no longer exists. Am I doing something strange or do I need to manually deallocate my window controllers in my NSPersitentDocuments' revert override?

Thanks,
Mike
_______________________________________________

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