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.
Marek. On Mon, Mar 30, 2015 at 8:09 PM, Mike Abdullah <mabdul...@karelia.com> wrote: > > > On 30 Mar 2015, at 08:19, Steve Mills <sjmi...@mac.com> wrote: > > > > OK, this is really weird. I just added an accessoryView to an > NSOpenPanel. The view contains only a checkbox style NSButton. When testing > it, it seemed like the clicks on this button's title didn't always take. It > appears that the only clicks that work are clicks that are on the checkbox > itself or the button title's rendered pixels. Like I can't click the space > between the ascenders in "Add", but must click the actual ascenders in each > 'd'. Same with the descender in a 'y'. > > > > I'm on 10.10.2. Can anyone confirm this? Here's how I'm running it: > > > > NSOpenPanel* panel = [NSOpenPanel openPanel]; > > AddAssetAccessoryView* accessory = > [[AddAssetAccessoryView alloc] initWithNibName:@"AddAssetAccessoryView" > bundle:nil]; > > > > panel.accessoryView = accessory.view; > > > > [panel beginSheetModalForWindow:self.windowForSheet > completionHandler:^(NSInteger result) { > > } > > I think I’ve been seeing the same thing, and not been able to quite put my > figure on it. Is your app sandboxed? > > > _______________________________________________ > > 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/xhruso00%40gmail.com > > This email sent to xhrus...@gmail.com > _______________________________________________ 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