Thanks.
Your idea of storing this kind of meta-data in the database is
interesting. Since I am a Cocoa and CD newbie, would you mind
elaborating on your method please? For example, in which callback do
you set the array controllers' selection? When do you save the current
selection? How d
Not sure about NSTableViews, but with NSOutlineViews, which I'd think
behave the same way, the secret sauce is to make sure that your items
have all of persistentObjectForItem, initWithPersistentObject, isEqual
and hash consistently implemented. Reason being that what is stored to
your pref
Hi Martin,
I archive the selectionIndexes of the array controller and store them
within thecore data document's metadata. I think you need to serialize
(archive) the selectionIndexes to be able to save it either in
NSUserDefaults or anywhere else.
When loading a CD document I check if the
I have a core-data document-based application that uses a NSTableView
with an NSArrayController as its data source. I have managed to figure
out the magic IB incantations required to save the column sort, order
and hidden data to the shared NSDeafulsController.
What I would like to do is to