• 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: Photoshop plugin with Cocoa UI problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Photoshop plugin with Cocoa UI problems


  • Subject: Re: Photoshop plugin with Cocoa UI problems
  • From: Frederik Slijkerman <email@hidden>
  • Date: Thu, 11 Jun 2009 20:44:24 +0200

Hi Scott,

I was calling [NSApp stopModal] instead of abortModal. I did verify though that the modal loop stopped, and the original [NSApp runModalForWindow] call returned, finally returning to Photoshop. But perhaps there is a difference between stopModal and abortModal here.

Best regards,
Frederik Slijkerman


Scott Andrew wrote:
What doesn't make sense is that the plugin i worked on was modal (it was an export plugin). What I noticed in our window does is a call abortModal on the windowWIllClose notification. From what i can see, from the messages in your original post, it looks like you are still in the modal loop. Putting the notification there allows the window to handle when [window close] is called.

Scott
_______________________________________________

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: 
 >Photoshop plugin with Cocoa UI problems (From: Frederik Slijkerman <email@hidden>)
 >Re: Photoshop plugin with Cocoa UI problems (From: Scott Andrew <email@hidden>)
 >Re: Photoshop plugin with Cocoa UI problems (From: Frederik Slijkerman <email@hidden>)
 >Re: Photoshop plugin with Cocoa UI problems (From: Scott Andrew <email@hidden>)

  • Prev by Date: Re: Get application path by Bundle ID
  • Next by Date: Passing References During Initialization / Nib Loading
  • Previous by thread: Re: Photoshop plugin with Cocoa UI problems
  • Next by thread: Re: Photoshop plugin with Cocoa UI problems
  • Index(es):
    • Date
    • Thread