• 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: NSApp beginSheet:NSWindow notification of sheet opening?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSApp beginSheet:NSWindow notification of sheet opening?


  • Subject: Re: NSApp beginSheet:NSWindow notification of sheet opening?
  • From: Keary Suska <email@hidden>
  • Date: Fri, 12 Dec 2008 11:35:00 -0700


On Dec 12, 2008, at 11:26 AM, Robert Mullen wrote:

I have an NSWindow that unfortunately is in the Main nib of my project (to be changed later) and is being shown modally from the default NSWindow using beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:. How can I trap when this modal sheet is displayed from within its controller? I could do awakeFromNib if it were loaded from its own NIB but that will not work for now. I have not been able to get an NSWiindow delegate or notification to fire when opening this way.


Are you able to observe NSWindowWillBeginSheetNotification on the NSWindow that will display the sheet?

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

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: NSApp beginSheet:NSWindow notification of sheet opening?
      • From: Robert Mullen <email@hidden>
References: 
 >NSApp beginSheet:NSWindow notification of sheet opening? (From: Robert Mullen <email@hidden>)

  • Prev by Date: NSApp beginSheet:NSWindow notification of sheet opening?
  • Next by Date: Re: Announce the time every 30 minutes
  • Previous by thread: NSApp beginSheet:NSWindow notification of sheet opening?
  • Next by thread: Re: NSApp beginSheet:NSWindow notification of sheet opening?
  • Index(es):
    • Date
    • Thread