• 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
different application behaviour under different startup modes ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

different application behaviour under different startup modes ...


  • Subject: different application behaviour under different startup modes ...
  • From: vinai <email@hidden>
  • Date: Thu, 7 May 2009 07:53:45 -0700 (PDT)

Hi Folks,

I am just starting up with Cocoa, and feel like I'm making a very rookie mistake, but I can't track down what I've missed ....

I am coding up an application to process different types of raw data.  On application startup, I have a window (of NSPanel lineage) open, with 2 NSPopupButton selectors, and one button that opens the file chooser panel window.  I laid out everything in IB, and when I build and run the application from Xcode, it runs fine (even prints out a debugging message to the debugger console).  I have another message from the file chooser that prints out the selected file, which also works just fine.

However, when I try to launch the application from either double-click in the finder, or trying to open the application folder from a terminal command line, I get the message about "The application ... quit unexpectedly.  Mac OS X and other applications are not affected. ..."  And when I hit the relaunch button here - the application launches and behaves just as it did from "Build and Run" from within Xcode - just fine ...

So what is the "Relaunch" and Xcode's Build and Run doing extra , and saving me from, versus when I just launch the application ?

Thanks all.

V.




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

  • Follow-Ups:
    • Re: different application behaviour under different startup modes ...
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Core Data Migration and the Inexperienced Younger Self
  • Next by Date: Re: different application behaviour under different startup modes ...
  • Previous by thread: Re: Text color in NSOutlineView's selected row
  • Next by thread: Re: different application behaviour under different startup modes ...
  • Index(es):
    • Date
    • Thread