Re: IB_DESIGNABLE - anyone got it to work?
Re: IB_DESIGNABLE - anyone got it to work?
- Subject: Re: IB_DESIGNABLE - anyone got it to work?
- From: Akis Kesoglou <email@hidden>
- Date: Wed, 13 May 2015 02:15:09 +0300
> On 13 Μαΐ 2015, at 02:04, Graham Cox <email@hidden> wrote:
>
> One possible issue in this case is that the first time -drawRect: for any instance is called, it calls a class method to load the image from a resource, which is then retained indefinitely.
There's a method if I remember correctly that you can use to prepare an IB_DESIGNABLE view: - (void)prepareForInterfaceBuilder
_______________________________________________
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