• 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
applicationDidFinishLaunching not called?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

applicationDidFinishLaunching not called?


  • Subject: applicationDidFinishLaunching not called?
  • From: Edwin Vane <email@hidden>
  • Date: Mon, 15 Aug 2005 22:19:10 -0400
  • Mail-followup-to: Cocoa-Dev <email@hidden>

Hi,

I started an application (non-document based) and used the
applicationDidFinishLaunching method in an NSApplication delegate for
creating the initial window.

However, since then, I added the parts necessary to make that original
app document based (added a NSDocument subclass, set up the Info.plist
file, etc.) However, now the applicationDidFinishLaunching method is no
longer being called (so I can do different work now of course). Other
methods in the delegate are called (such as
applicationShouldOpenUntitledFile) so it's not that I forgot to set up
the delegate in IB.

Is there anything in how Cocoa deals with documents that would make the
act of making an aplication document-based the manual way cause
applicationShouldOpenUntitledFile to stop being called? This behaviour
is really confusing and I haven't found any indication of it in the docs
yet. Any pointers?

--

Edwin Vane
   MMath Candidate
   Computer Graphics Lab
   School of Computer Science
   University of Waterloo

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: applicationDidFinishLaunching not called?
      • From: Edwin Vane <email@hidden>
  • Prev by Date: Re: Sym Links and NSFileManager
  • Next by Date: Re: attributed string in nsoutlineview (solved)
  • Previous by thread: Re: Sym Links and NSFileManager
  • Next by thread: Re: applicationDidFinishLaunching not called?
  • Index(es):
    • Date
    • Thread