• 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: Custom View Binding, Arrays, and observeValueForKeyPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom View Binding, Arrays, and observeValueForKeyPath


  • Subject: Re: Custom View Binding, Arrays, and observeValueForKeyPath
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 19 May 2010 00:15:14 -0700

On Wed, May 19, 2010 at 12:05 AM, Mazen M. Abdel-Rahman
<email@hidden> wrote:
> What is the best way for calendarView to get the items of the array that are going to be removed before they are actually removed?

We use NSSet KVO instead of array KVO for this exact reason. Another
option is to cache the array on the other side of the binding. You do
duplicate the array but sometimes it's beneficial.

--Kyle Sluder
_______________________________________________

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

References: 
 >Custom View Binding, Arrays, and observeValueForKeyPath (From: "Mazen M. Abdel-Rahman" <email@hidden>)

  • Prev by Date: Custom View Binding, Arrays, and observeValueForKeyPath
  • Next by Date: Original iPhone animation performance
  • Previous by thread: Custom View Binding, Arrays, and observeValueForKeyPath
  • Next by thread: Re: Custom View Binding, Arrays, and observeValueForKeyPath
  • Index(es):
    • Date
    • Thread