NSTableView autosave columns with CoreData/bindings populated table?
NSTableView autosave columns with CoreData/bindings populated table?
- Subject: NSTableView autosave columns with CoreData/bindings populated table?
- From: Jim Correia <email@hidden>
- Date: Wed, 11 May 2005 11:53:53 -0400
Is it possible to use NSTableView's autosave state feature with a
table populated with CoreData and bindings?
<http://homepage.mac.com/jimcorreia/tmp/PetStore.zip>
Simply setting the autosave name isn't enough;
2005-05-11 11:51:19.874 PetStore[27558] Exception raised during
posting of notification. Ignored. exception: Column identifiers
used with NSTableView autosave feature must conform to NSCoding
protocol.
If I fill in the column identifiers with strings, that removes the
exception, but doesn't restore the state when I relaunch the
application.
A related question: is there a way to archive the state of the
columns (so I can store it in a document, for example) and restore it
at a later time, or must I walk the columns by hand, remember
information, and re-establish them and their bindings by hand if I
need to do this?
Thanks,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden