Re: Trying to subclass UISwitch
Re: Trying to subclass UISwitch
- Subject: Re: Trying to subclass UISwitch
- From: Luke the Hiesterman <email@hidden>
- Date: Mon, 4 Apr 2011 15:04:29 -0700
"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 <email@hidden> 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
>
> Jeff
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden