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:38:19 +1100
> On 9 Feb 2015, at 10:44 am, Charles Jenkins <email@hidden> wrote:
>
> 2015-02-08 16:24:04.159 MyApp[2989:720882] An uncaught exception was raised
> 2015-02-08 16:24:04.159 MyApp[2989:720882] Modal session requires modal window
Big clue here!
In IB, you need to make sure that the window's class is NSPanel (a subclass of NSWindow required for modal dialogs) then in the "Panel" section, select its type (regular panel being the most common).
Sure you really want a modal panel? They're pretty old-fashioned.
--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