Re: Bidirectional, Manual Binding in custom control
Re: Bidirectional, Manual Binding in custom control
- Subject: Re: Bidirectional, Manual Binding in custom control
- From: Jerry Krinock <email@hidden>
- Date: Thu, 28 Jun 2012 16:02:04 -0700
On 2012 Jun 28, at 11:04, Quincey Morris wrote:
> I'm not sure now why your control needs a 'rating' ivar. Doesn't this just duplicate the value of the control's objectValue, and create extra housekeeping?
In this situation, probably yes, but it is quite normal for Cocoa controls to have an instance variable for their control value. NSControl has properties objectValue, stringValue, doubleValue, etc. Controls should be useable without bindings.
_______________________________________________
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