• 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
Re: caching NSCollectionView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: caching NSCollectionView
      • From: Georg Seifert <email@hidden>
References: 
 >caching NSCollectionView (From: Georg Seifert <email@hidden>)

  • Prev by Date: caching NSCollectionView
  • Next by Date: re: Learning SQLite by watching Core Data?
  • Previous by thread: caching NSCollectionView
  • Next by thread: Re: caching NSCollectionView
  • Index(es):
    • Date
    • Thread