• 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
NSTableView autosave columns with CoreData/bindings populated table?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: forwarding KVO from NSDocument to model
  • Next by Date: NSWorkspace POST to URL ?
  • Previous by thread: Re: QTKit: QTMovieView
  • Next by thread: NSWorkspace POST to URL ?
  • Index(es):
    • Date
    • Thread