Re: Modal Window Failure on 10.10.2
Re: Modal Window Failure on 10.10.2
- Subject: Re: Modal Window Failure on 10.10.2
- From: Graham Cox <email@hidden>
- Date: Mon, 09 Feb 2015 14:45:46 +1100
> On 9 Feb 2015, at 2:38 pm, Graham Cox <email@hidden> wrote:
>
> a subclass of NSWindow required for modal dialogs
On further thought I think that's not true - NSWindow can work modally, but it's usual to make it NSPanel. If you use a plain window, I think there are restrictions on which kinds can be used modally, though I'm not sure what those are from the docs. I think Ken nailed it - probably a bad window outlet. Also, if you're using -init, are you overriding -nibName to return the correct nib name? You have to either explicitly pass it to -initWithWindowNibName: or else override the -nibName method and call -init.
--Graham
_______________________________________________
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