• 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: Bidirectional, Manual Binding in custom control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Bidirectional, Manual Binding in custom control (From: Jerry Krinock <email@hidden>)
 >Re: Bidirectional, Manual Binding in custom control (From: Quincey Morris <email@hidden>)
 >Re: Bidirectional, Manual Binding in custom control (From: Jerry Krinock <email@hidden>)
 >Re: Bidirectional, Manual Binding in custom control (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Sorting an NSTableView bound to an NSArrayController.
  • Next by Date: Re: nstableview remove/insert rows question
  • Previous by thread: Re: Bidirectional, Manual Binding in custom control
  • Next by thread: nstableview remove/insert rows question
  • Index(es):
    • Date
    • Thread