This is the same link that Roger Dalal posted yesterday. Thanks On Apr 5, 2011, at 6:57 AM, Hank Heijink (Mailinglists) wrote:
> Typing "customize uiswitch" into Google returned this as the second hit: > http://osiris.laya.com/projects/rcswitch/ > > Might be worth looking at. > > Hank > > On Apr 4, 2011, at 10:22 PM, Philip Ershler wrote: > >> The first thing I tried to do was to subclass the UISwitch. But when one >> looks at the docs for the UISwitch there are no Properties or Instance >> Methods that one can override to change the "text" on the switch. And when >> one looks at the origins of the UISwitch, there is nothing to be overridden >> to change the text (or actually the images that contain text) either. >> >> Inherits from >> UIControl : UIView : UIResponder : NSObject >> Conforms to >> NSCoding >> NSCoding (UIView) >> NSObject (NSObject) >> So when I hit The UISwitch class is not customizable. I threw in the towel. >> >> Phil >> >> On Apr 4, 2011, at 6:20 PM, Laurent Daudelin wrote: >> >>> I think there is a difference between "customizable" and "not >>> subclassable". The question I guess would be: did he try to subclass? >>> >>> -Laurent. >>> -- >>> Laurent Daudelin >>> AIM/iChat/Skype:LaurentDaudelin >>> http://www.nemesys-soft.com/ >>> Logiciels Nemesys Software >>> laur...@nemesys-soft.com >>> >>> On Apr 4, 2011, at 15:04, Luke the Hiesterman wrote: >>> >>>> "The UISwitch class is not customizable." >>>> >>>> And what he really wanted to do was customize the appearance. >>>> >>>> Luke >>>> >>>> On Apr 4, 2011, at 3:02 PM, Jeffrey Walton wrote: >>>> >>>>> On Mon, Apr 4, 2011 at 12:20 PM, Philip Ershler <ersh...@cvrti.utah.edu> >>>>> 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). >>>>> Prohibiting subclassing is *not* mentioned here: >>>>> http://developer.apple.com/library/ios/#documentation/uikit/reference/UISwitch_Class/Reference/Reference.html >>>>> >>> >>> _______________________________________________ >>> >>> 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/ershler%40cvrti.utah.edu >>> >>> This email sent to ersh...@cvrti.utah.edu >> >> 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/hank.list%40runbox.com >> >> This email sent to hank.l...@runbox.com >> > 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com