Re: Custom View Binding, Arrays, and observeValueForKeyPath
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