• 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: Making a application active with NSStatusMenus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making a application active with NSStatusMenus


  • Subject: Re: Making a application active with NSStatusMenus
  • From: Andy Lee <email@hidden>
  • Date: Mon, 26 Feb 2007 00:39:42 -0500

Does a Google search for "cocoa delegation" not give you what you need? You could also have searched for "windowDidBecomeKey example". Here are some other resources:

* Xcode: You can open a Documentation window using Xcode's Help menu. Search for "delegation".

* I would think whatever materials you're using to learn Cocoa should have mentioned delegates. If you're using a book, look in the index.

* Good sites for learning Cocoa are stepwise.com, cocoabuilder.com, and cocoadevcentral.com.

--Andy


On Feb 26, 2007, at 12:14 AM, Andrew James wrote:

Sorry im only a few months into programming on ObjC/Cocoa would you know of some guides or places i could look at that explains this whole delegation.


i would prefer not to create individual IBActions for every menu item (Doing this would still leave the automated windows out of it)

Makes sense.

Below is a link to a example project i used to test the bug,

Looks like the window's delegate is not set. windowDidBecomeKey: is a window delegate method.


--Andy




_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >Making a application active with NSStatusMenus (From: "Andrew James" <email@hidden>)
 >Re: Making a application active with NSStatusMenus (From: Andy Lee <email@hidden>)
 >Re: Making a application active with NSStatusMenus (From: Andrew James <email@hidden>)
 >Re: Making a application active with NSStatusMenus (From: Andy Lee <email@hidden>)

  • Prev by Date: NSBrowser replacement
  • Next by Date: Re: ssh-tunnel, remote controlling (and stuff)
  • Previous by thread: Re: Making a application active with NSStatusMenus
  • Next by thread: ssh-tunnel, remote controlling (and stuff)
  • Index(es):
    • Date
    • Thread