Re: Two Newbie Questions
Re: Two Newbie Questions
- Subject: Re: Two Newbie Questions
- From: Bruce Cresanta <email@hidden>
- Date: Wed, 16 Feb 2011 16:53:39 -0700
Graham,
I thought there was a long process to make the control even visible to IB? I could create a custom view and set the class, but that wouldn't show the button would it?
Thanks,
Bruce
On Feb 16, 2011, at 4:51 PM, Graham Cox wrote:
>
> On 17/02/2011, at 10:17 AM, Bruce Cresanta wrote:
>
>> I would like to change it to a regular button without setting up my custom control to be compatible with IB.
>
>
> As long as it's a view of some kind you don't need to do anything special to be compatible with IB - just set the class of the object to your custom class. It won't be WYSIWYG in IB, but if it has IBOutlets you can connect them in IB and they'll work. This includes target/action.
>
> --Graham
>
>
_______________________________________________
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