• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Modal Window Failure on 10.10.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Modal Window Failure on 10.10.2
      • From: Graham Cox <email@hidden>
References: 
 >Modal Window Failure on 10.10.2 (From: Charles Jenkins <email@hidden>)

  • Prev by Date: Re: Modal Window Failure on 10.10.2
  • Next by Date: Re: Modal Window Failure on 10.10.2
  • Previous by thread: Re: Modal Window Failure on 10.10.2
  • Next by thread: Re: Modal Window Failure on 10.10.2
  • Index(es):
    • Date
    • Thread