• 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
Toggle Buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Toggle Buttons


  • Subject: Toggle Buttons
  • From: Mathieu Tozer <email@hidden>
  • Date: Thu, 27 Apr 2006 21:49:14 +1000

I have an NSToggle Button in my user interface, and I have two methods start and end which each press of the button is meant to invoke. The button will act as a switch which starts and stops a timer. I intend to make a managed object when the user clicks 'start' and fill in the start time, and then fill in the end time when the user clicks the toggle button again.

Should I combine the two methods together into the one, and have the method wait until the button is pressed again somehow? Or can I leave the two methods separate?
Perhaps there is a better way to do this?


Thanks for your help! :-)

-Mathieu
_______________________________________________
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: Toggle Buttons
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Which exception handling system should I use?
  • Next by Date: System Services and Mail.app
  • Previous by thread: Re: Selector of Open recent document
  • Next by thread: Re: Toggle Buttons
  • Index(es):
    • Date
    • Thread