Re: Custom initWithFrame?
Re: Custom initWithFrame?
- Subject: Re: Custom initWithFrame?
- From: Jonathan Hull <email@hidden>
- Date: Thu, 03 Jan 2013 17:38:25 -0800
Sure, just define initWith…. in your subclass and call super -initWithFrame: from it.
Thanks,
Jon
On Jan 3, 2013, at 5:28 PM, Eric Dolecki <email@hidden> wrote:
> I am creating a UIView-based control that I would also like to pass in parameters at the time of creation. Is this doable? I don't want to keep calling methods on my object if I can pass all with initwithframe somehow.
>
> Thanks,
> Eric
>
> Sent by Eric's faithful iPad.
> _______________________________________________
>
> 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