Toggle Buttons
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