• 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
"Did" vs. "Will" delegates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Did" vs. "Will" delegates


  • Subject: "Did" vs. "Will" delegates
  • From: dp <email@hidden>
  • Date: Sun, 30 Nov 2003 18:53:01 -0500

Can someone explain the difference between implementing windowDidMiniaturize and windowWillMiniaturize in my delegate class? It seems that the later is called, but not the former?

thanks
dp



On Nov 26, 2003, at 1:59 PM, Jonathan E. Jackel wrote:

Have a look at the delegate methods for NSWindow. Implement
windowDidMiniaturize: or windowWillMiniaturize: in the delegate.

Jonathan

-----Original Message-----
From: email@hidden
[mailto:email@hidden]On Behalf Of Chad Harrison
Sent: Wednesday, November 26, 2003 12:59 PM
To: Cocoa List
Subject: subclass NSWindow


How do I detect when my app's main window gets miniaturized? I want to
update some menu items as soon as the window is miniaturized - do I
need to subclass NSWindow and make that the first responder for my
window or something?
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: "Did" vs. "Will" delegates
      • From: Jonathan Jackel <email@hidden>
References: 
 >RE: subclass NSWindow (From: "Jonathan E. Jackel" <email@hidden>)

  • Prev by Date: Method not called when target is Development?
  • Next by Date: Method not called when target is Development? (follow-up)
  • Previous by thread: RE: subclass NSWindow
  • Next by thread: Re: "Did" vs. "Will" delegates
  • Index(es):
    • Date
    • Thread