• 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: NSApplication delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSApplication delegate


  • Subject: Re: NSApplication delegate
  • From: John Hörnkvist <email@hidden>
  • Date: Sat, 5 May 2001 00:04:59 +0200

On Friday, May 4, 2001, at 09:19 PM, Robert Lee Dotson wrote:

've been seeing alot of posts telling people to send messages to the application delegate to do various things (services, windows, nib files, etc.) But I have no idea where in my apps code the delegate should be. When I launch my app, I want a set number of things to happen, but most of them *before* the main nib file loads (eg. polling for modems, open network connections, etc.) so the app can terminate or open another. How do I set the order in which objects are instantiated and/or nib files are loaded. Everything I read says 'send a message to the application delegate.
' But, as forementioned, I don't know how to do this. help!

You could subclass NSApplication, and set up your delegate in the init method.

Regards,
John Hornkvist


References: 
 >NSApplication delegate (From: Robert Lee Dotson <email@hidden>)

  • Prev by Date: NSApplication delegate
  • Next by Date: Re: NSApplication delegate
  • Previous by thread: NSApplication delegate
  • Next by thread: Re: NSApplication delegate
  • Index(es):
    • Date
    • Thread