• 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 Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modal Windows


  • Subject: Re: Modal Windows
  • From: Seth Willits <email@hidden>
  • Date: Tue, 22 Dec 2009 23:26:37 -0800

On Dec 22, 2009, at 3:21 PM, Joaquín Sánchez wrote:

> 2009-12-23 00:08:10.483 Secciones[1682:a0f] Modal session requires modal window


This happens when in IB you drop in an NSWindow instance, and then change the class to NSPanel, versus creating an NSPanel instance in the first place. My guess (I didn't bother to check) is that this is because IB didn't set - [NSPanel setWorksWhenModal:YES].

Just add that, or recreate the window in IB as an NSPanel to begin with and you should be fine.


--
Seth Willits



_______________________________________________

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

References: 
 >Modal Windows (From: Joaquín Sánchez <email@hidden>)

  • Prev by Date: Releasing Objects
  • Next by Date: Re: NSViewAnimationFadeInEffect broken in Snow Leopard?
  • Previous by thread: Modal Windows
  • Next by thread: NSViewAnimationFadeInEffect broken in Snow Leopard?
  • Index(es):
    • Date
    • Thread