Re: Design Question: Pro & Cons of KVC/KVO
Re: Design Question: Pro & Cons of KVC/KVO
- Subject: Re: Design Question: Pro & Cons of KVC/KVO
- From: Graham Cox <email@hidden>
- Date: Fri, 22 Aug 2008 12:27:52 +1000
On 22 Aug 2008, at 1:03 am, Oleg Krupnov wrote:
4) Anything else I may have overlooked?
I've read through this thread and it's very interesting.
But one thing that has been overlooked - common or garden
notifications. If all you want is to pick up a change in an object a
notification is a simple way to do it without writing your own
messaging system. It's less powerful than KVO but simpler to
understand and much less fussy about managing its "connections" than
KVO. Think of it as a half-way house between doing it all yourself and
using KVO, which might seem to be "too much magic" for some.
Check out NSNotificationCenter.
cheers, Graham
_______________________________________________
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