Synthesized properties for scalars not KVO compliant
Synthesized properties for scalars not KVO compliant
- Subject: Synthesized properties for scalars not KVO compliant
- From: Kiel Gillard <email@hidden>
- Date: Wed, 20 May 2009 09:52:21 +1000
Hi all,
I have a few scalar (NSUInteger, CGRect etc) ivars in my model
objects. I have declared identically named properties for these
scalars and instructed the compiler to synthesize accessor methods for
them. My controller objects add themselves to the model objects as
observers with the keypaths to the scalars. However, I'm not getting
any key-value observing notifications when changes to those observed
properties occur (observeKeyPath... isn't being called at all).
I feel I may be missing something very simple but I have no idea what.
Any suggestions?
Thanks,
Kiel
_______________________________________________
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