• 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: NSTextField Binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSTextField Binding (From: koko <email@hidden>)
 >Re: NSTextField Binding (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: NSTextField Binding
  • Next by Date: Re: NSTextField Binding
  • Previous by thread: Re: NSTextField Binding
  • Next by thread: Re: NSTextField Binding
  • Index(es):
    • Date
    • Thread