Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Auxiliary Data with NSPersistentDocument



I'm 99% certain I asked this question before, and got a few suggestions, but I can't find it.

I have a Core Data model for most of my document's data, but there's a whole mess of other stuff that needs to be stored (e.g., the color in which certain types of lines are drawn, the view's position and zoom, the window's position on screen, etc.)

Is there a way for me to store additional data in the same file? Or do I have to create entities to hold it? I suppose I can make an entity to hold an NSDictionary and create a single instance of that...but that seems a bit hackish.

I'm sure I'm not the first to run into this problem. I'd appreciate suggestions or a pointer to the piece of documentation I should've read.

Thanks!

--
Rick

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.