> On 13 Μαΐ 2015, at 02:04, Graham Cox <graham....@bigpond.com> 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 (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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to