Re: NSTextField Binding
Re: NSTextField Binding
- Subject: Re: NSTextField Binding
- From: koko <email@hidden>
- Date: Thu, 07 Aug 2014 15:33:27 -0600
On Aug 7, 2014, at 2:55 PM, Ken Thomases <email@hidden> 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@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