• 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
How to disconnect bound views temporarily
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to disconnect bound views temporarily


  • Subject: How to disconnect bound views temporarily
  • From: Markus Spoettl <email@hidden>
  • Date: Sun, 15 Jun 2008 00:39:03 -0700

Hi List,

I have a document window that can show the same data in more than one way, very much like Finder, one view mode is an outline, the other is a collection. Both are bound to the same data, so they reflect changes automatically.

I was wondering if there is some way to tell a controller class (like NSArrayController) to temporarily disconnect the bound view from the data (other than removing the binding itself). It seems that the views are updating the data even if they are not visible, consuming memory and processor time. Moreover, NSCollectionView does seem to have problems when it's not visible and the data changes (I get debug log entries about assertion failures in NSView lockFocus).

Thanks
Markus
--
__________________________________________
Markus Spoettl

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: How to disconnect bound views temporarily
      • From: Andy Mroczkowski <email@hidden>
  • Prev by Date: Re: looking for a crc code
  • Next by Date: Re: argument checks
  • Previous by thread: Re: creating and using a (Reusable) View xib
  • Next by thread: Re: How to disconnect bound views temporarily
  • Index(es):
    • Date
    • Thread