• 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
IntraApp communication....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IntraApp communication....


  • Subject: IntraApp communication....
  • From: "Steven M.Palm" <email@hidden>
  • Date: Fri, 27 Sep 2002 16:03:39 -0500

I have a category defined on NSApplication.

I want to send a message to another object in my application, and I wonder if there is a better way...

Currently I have MainMenu.nib, owned by NSApplication. I have a class MyController which is a subclass of NSObject. I want to send a message to MyController from the NSApplication category.

Currently, since it involves dealing with a single (and the only ever) window, I made "MyController" a delegate to the window, only so that in my category on NSApplication I could get it's "0"th window, get it's delegate, and then send it a message.

Is there a cleaner way? [I'm sure there is, I'm new at this]

-----------------------
- Steven M. Palm
- Ham Radio Call: N9YTY
-----------------------
_______________________________________________
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.

  • Prev by Date: Re: private Frameworks
  • Next by Date: Re: What type of "thing" do I want?
  • Previous by thread: Resetting Textured Window "background area"
  • Next by thread: IntraApp Communication....
  • Index(es):
    • Date
    • Thread