• 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: Key Value coding with Slider vs TextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Key Value coding with Slider vs TextField


  • Subject: Re: Key Value coding with Slider vs TextField
  • From: mmalc crawford <email@hidden>
  • Date: Sun, 16 Jul 2006 11:49:36 -0700


On Jul 16, 2006, at 10:36 AM, Trygve Inda wrote:


On Jul 16, 2006, at 3:19 AM, Trygve Inda wrote:
Ok, so... "This is the expected behavior. Instead you should change
the model object using a key-value-observing compliant manner."
Then how do I set the value of a slider in a KVO savvy way?
You don't -- a slider is not a model object.
Got it... This works...
[configLength sendAction:[configLength action] to:[configLength target]];


No, you should not be doing this.
You should be changing the model attribute value directly in a KVO- compliant way.


mmalc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Key Value coding with Slider vs TextField
      • From: Trygve Inda <email@hidden>
References: 
 >Re: Key Value coding with Slider vs TextField (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: Control arrays?
  • Next by Date: Re: Re: NSEnumerator -> NSPopupButton (was: Re: NSPipe / NSTask ls -> Array)
  • Previous by thread: Re: Key Value coding with Slider vs TextField
  • Next by thread: Re: Key Value coding with Slider vs TextField
  • Index(es):
    • Date
    • Thread