> On 9 Feb 2015, at 2:38 pm, Graham Cox <graham....@bigpond.com> 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 (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