Phil:

Try http://osiris.laya.com/projects/rcswitch/ by Sascha Hoehne and Robert Chin. 
It is well done.

Roger Dalal
Assembled Apps




On Apr 4, 2011, at 12:20 PM, Philip Ershler wrote:

> Hi,
>       After beating my head against the wall trying to subclass UISwitch, so 
> that I might change the "text" for the two states, I finally noticed that 
> there is a statement in the docs that UISwitch cannot be subclassed. (Please 
> no wise cracks that I should have seen that straight away, I get to claim old 
> eyes). So now I have come to realize that UISwitch is just a special case of 
> UISlider.
>       I see that it is possible to set images for all the different parts of 
> a UISlider. I'd like to make a UISlider look just like a UISwitch. Is there 
> an easy way to get the UIImage specs so that I can build a UISlider that 
> looks just like a UISwitch just with different ON and OFF "text". I'm sorry 
> if this is a real naive question.
> 
> Thanks, Phil
> 
> Philip R. Ershler Ph.D.
> University of Utah
> Cardiovascular Research and Training Institute
> 95 South 2000 East
> Salt Lake City, UT 84112-5000
> 
> phone: (801) 230-8771
> alt ph: (801) 587-9528
> fax: (801) 581-3128
> e-mail: ersh...@cvrti.utah.edu
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/roger.dalal%40gmail.com
> 
> This email sent to roger.da...@gmail.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to