Re: caching NSCollectionView
Re: caching NSCollectionView
- Subject: Re: caching NSCollectionView
- From: "I. Savant" <email@hidden>
- Date: Mon, 23 Jun 2008 16:10:40 -0400
> Does anybody got saving the item views working. I filed a but at apple about
> this but i was curios if anyone found a workaround.
The answer to this question depends entirely on what you're trying
to accomplish (and how you have things wired). Unless you have a very
good reason, however, you're probably going about this the wrong way.
That is, the views should be dictated by the objects they represent.
If you store all the states (sort order, etc.) in the model objects
you represent with the collection view and its items, all you need to
do is restore those model objects (assuming they're wired up to your
collection view) and they should be working just fine (and with no
effort once everything's set up if you're using Core Data and
Bindings).
So ... why are you trying to save the views?
--
I.S.
_______________________________________________
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:
This email sent to email@hidden