• 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
Synchronized outlets and actions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Synchronized outlets and actions


  • Subject: Synchronized outlets and actions
  • From: Dan Price <email@hidden>
  • Date: Tue, 3 Jan 2006 23:06:20 +0000 (GMT)

My app has properties which can be set by either a
text field, or a slider. If the user enters a value in
the field, the property needs to be updated and the
slider value must be changed to reflect the new value.
Likewise, if the slider is dragged, the property must
be updated and the text field changed to show the new
setting. This sounds easy, but it seems that controls
in IB can only have a single action connection. The
slider can update the field, or the property, but not
both. They need to be synchronized together, while
avoiding a problematic circular-reference.

Is there a simple way to do this? My app has dozens of
controls split across several utility panels.

Or am I missing the point?



___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
 _______________________________________________
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: Synchronized outlets and actions
      • From: Jonathon Mah <email@hidden>
    • Re: Synchronized outlets and actions
      • From: Markus Hitter <email@hidden>
  • Prev by Date: Re: Using newer APIs and deprecated APIs for older releases...
  • Next by Date: Scaled image in NSButtonCell flipped - drawInRect:
  • Previous by thread: Re: Uniform Type Identifiers (UTIs)
  • Next by thread: Re: Synchronized outlets and actions
  • Index(es):
    • Date
    • Thread