• 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: orderOut a sheet while app is hidden
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: orderOut a sheet while app is hidden


  • Subject: Re: orderOut a sheet while app is hidden
  • From: Nico <email@hidden>
  • Date: Tue, 10 Dec 2002 19:41:57 +0100

On Dienstag, Dezember 10, 2002, at 06:05 Uhr, Matt Covey wrote:

[self setOrderOutNeeded: YES]; // (set our internal flag)
if( ! [self haveAddedAsUpdateObserver] )
{
[self setHaveAddedAsUpdateObserver: YES];
[[NSNotificationCenter defaultCenter]
addObserver: ...
selector: ...
name: NSWindowDidUpdateNotification
object: ...
];
}


Looks great, but please tell me how to implement this part!
My window controller doesn't respont to the first three
methods. Must I derive from a special class?
I also don't know exactly how to use addObserver:... .
I'm feeling very stupid now. :(

Nico
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: orderOut a sheet while app is hidden (From: Matt Covey <email@hidden>)

  • Prev by Date: Re: Forcing NSImageView's centered image not to be drawn on integral pixels?
  • Next by Date: Re: Forcing NSImageView's centered image not to be drawn on integral pixels?
  • Previous by thread: Re: orderOut a sheet while app is hidden
  • Next by thread: What can be thrown away in a project?
  • Index(es):
    • Date
    • Thread