• 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: KVO on objects in NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KVO on objects in NSArrayController


  • Subject: Re: KVO on objects in NSArrayController
  • From: Sean McBride <email@hidden>
  • Date: Tue, 06 Sep 2011 17:01:10 -0400
  • Organization: Rogue Research Inc.

On Sat, 3 Sep 2011 09:23:43 -0700, Kyle Sluder said:

>> I understand that... I think the alternative would be to register an
>> observer on all 8000+ objects in the array.
>
>Yes, this is the expected pattern with KVO. Contrary to what you might
>think at first, it is *fast*.

Unless you are using garbage collection, in which case it is an order of magnitude slower than with MRC (manual ref counting).  ie horribly slow.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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: 
 >Re: KVO on objects in NSArrayController (From: Jerry Krinock <email@hidden>)
 >Re: KVO on objects in NSArrayController (From: Trygve Inda <email@hidden>)
 >Re: KVO on objects in NSArrayController (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: The best way to call Cocoa methods not implemented in previous versions of the SDK?
  • Next by Date: Re: The best way to call Cocoa methods not implemented in previous versions of the SDK?
  • Previous by thread: Re: KVO on objects in NSArrayController
  • Next by thread: Re: KVO on objects in NSArrayController
  • Index(es):
    • Date
    • Thread