On Aug 7, 2014, at 2:55 PM, Ken Thomases <[email protected]> wrote:
> _How_ did you update the property? You must do it in a KVO-compliant manner,
> which usually means calling the setter.
I believe this is KVO-compliant … but I could be wrong !
@interface Controller : NSObject {
int height;
}
@property (assign) int height;
@end
@implementation Controller
- (void)update
{
self.height = 300;
}
@end
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]