• 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: Buzz Andersen <email@hidden>
  • Date: Fri, 27 Sep 2002 19:36:56 -0600

I have a category defined on NSApplication.

If you don't mind my asking, do you have a specific reason for using a category on NSApplication? The norm would really be to put all of your logic in a controller class that is a delegate of your program's NSApplication instance (create an instance of your controller class in Interface Builder and connect it to the "delegate" outlet of "File's Owner" in your Nib) and let the run loop do the rest.

If you need to access your application's NSApplication instance from your controller class, use the following...

[NSApplication sharedApplication];

Does this answer your question, or did you already know all of that :-)?

--
Buzz Andersen
email: email@hidden
web: http://www.scifihifi.com
_______________________________________________
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: IntraApp Communication....
      • From: "Steven M.Palm" <email@hidden>
  • Prev by Date: AddressBook: getting "address format"
  • Next by Date: Re: IntraApp Communication....
  • Previous by thread: IntraApp communication....
  • Next by thread: Re: IntraApp Communication....
  • Index(es):
    • Date
    • Thread