Re: tags and sliders
Re: tags and sliders
- Subject: Re: tags and sliders
- From: Mark Ritchie <email@hidden>
- Date: Tue, 29 Mar 2005 01:44:55 -0500
On Mar 28, 2005, at 11:12 PM, Chris Stephens wrote:
Do I use viewWithTag: and if so how..? I've tried a few things and
they haven't worked. And I've googled around and searched this list
and can't find anything.
While viewWithTag: might work, it would need to search the view
hierarchy each time you wanted to set the value of a slider. This
might not matter but it's worth thinking about if your window has a lot
of other views which would have to be checked.
The traditional way would be to have outlets for each single slider and
probably an outlet for each matrix of sliders. Although, you could
have individual outlets for each slider, whether they were in a matrix
or not.
I hope that helps!
Mark.
__
Mark Ritchie, email@hidden 416-843-5479
Software Developer, Apple Certified Developer Trainer
WebObjects, Cocoa, Mac OS X and Mac OS X Server
Diamond Lake Consulting Inc., Toronto, Ontario, Canada
*** Currently looking for work in Toronto ***
_______________________________________________
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