Re: NSOpenPanel accessoryView clicks must hit pixels to work
Re: NSOpenPanel accessoryView clicks must hit pixels to work
- Subject: Re: NSOpenPanel accessoryView clicks must hit pixels to work
- From: Steve Mills <email@hidden>
- Date: Mon, 30 Mar 2015 10:49:13 -0500
On Mar 30, 2015, at 08:11:03, Marek Hrušovský <email@hidden> wrote:
>
> AddAssetAccessoryView -> I think it should be named as a controller.
> You kick off view loading and the view is being retained by nsopenpanel. However, I can't see that you retain the NIB you load.
Because the panel takes and then relinquishes ownership of the view, I was thinking that the controller (the file owner) would go along for the ride, so I wouldn't have to retain it. It seemed to work OK. But I guess I'll be safe and take control of the controller. I've assigned the controller to a property that will own it. Still, that doesn't correct the click behavior.
--
Steve Mills
Drummer, Mac geek
_______________________________________________
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