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

Re: Synchronized outlets and actions


  • Subject: Re: Synchronized outlets and actions
  • From: Markus Hitter <email@hidden>
  • Date: Sun, 8 Jan 2006 22:41:42 +0100


Am 05.01.2006 um 18:14 schrieb Dan Price:

--- Markus Hitter <email@hidden> wrote:

Implement an action method sending two (or more)
messages to the
objects you want to be updated. Typically a task for
the Controller.

This is not ideal - it means mainting outlets to every control for one thing.

Adding features to attract lazy programmers might be worse.

Also, when you drag the slider,
it will update the text field AND itself again - a
circular reference.

Depends on how you update your stuff. In case you're in trouble:

if (sender != mySlider) {
	[mySlider doUpdate];
} else if ( sender != ...


Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/




_______________________________________________ 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
References: 
 >Re: Synchronized outlets and actions (From: Dan Price <email@hidden>)

  • Prev by Date: Re: Newbie cuestion on document based app and menus
  • Next by Date: Re: Core Data: Unable to store a NSData object into an entity's binary property.
  • Previous by thread: Re: Synchronized outlets and actions
  • Next by thread: Re: Synchronized outlets and actions
  • Index(es):
    • Date
    • Thread