> On 9 Feb 2015, at 10:44 am, Charles Jenkins <cejw...@gmail.com> 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 (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