• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSOpenPanel accessoryView clicks must hit pixels to work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSOpenPanel accessoryView clicks must hit pixels to work (From: Steve Mills <email@hidden>)
 >Re: NSOpenPanel accessoryView clicks must hit pixels to work (From: Mike Abdullah <email@hidden>)
 >Re: NSOpenPanel accessoryView clicks must hit pixels to work (From: Marek Hrušovský <email@hidden>)

  • Prev by Date: Re: NSOpenPanel accessoryView clicks must hit pixels to work
  • Next by Date: Re: NSOpenPanel accessoryView clicks must hit pixels to work
  • Previous by thread: Re: NSOpenPanel accessoryView clicks must hit pixels to work
  • Next by thread: Re: NSOpenPanel accessoryView clicks must hit pixels to work
  • Index(es):
    • Date
    • Thread