• 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: application:openFile: usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: application:openFile: usage


  • Subject: Re: application:openFile: usage
  • From: Dennis Falling <email@hidden>
  • Date: Tue, 19 Oct 2004 21:49:25 -0500

Yeah, that was my thought, but I don't know how to see which launch type was used. I can't just set a boolean in that method, because that same method will be called whether the application is already open or not.

-dennis


On Oct 19, 2004, at 9:42 PM, Dennis Falling wrote:

Yeah, that was my thought, but I don't know how to see which launch type was used. I can't just set a boolean in that method, because that same method will be called whether the application is already open or not.

-dennis


On Oct 19, 2004, at 9:32 PM, Daniel Todd Currie wrote:

I'm not sure I understand the difference exactly, but could you perhaps use a BOOL instance variable to store which launch type was used? Then in the -applicationShouldTerminate: delegate method, you can refer to the BOOL and quit or not, depending on the BOOL's value.

-- DTC


On 2004 Oct 20, at 10:22, Dennis Falling wrote:

How can I get my application to quit if the call to application:openFile: launched it, but not if it was launched normally and then this method was used?

Thanks,
-dennis falling

_______________________________________________
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




_______________________________________________
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

_______________________________________________
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: application:openFile: usage
      • From: Daniel Todd Currie <email@hidden>
    • Re: application:openFile: usage
      • From: marquis logan <email@hidden>
References: 
 >application:openFile: usage (From: Dennis Falling <email@hidden>)
 >Re: application:openFile: usage (From: Dennis Falling <email@hidden>)

  • Prev by Date: Re: application:openFile: usage
  • Next by Date: Re: application:openFile: usage
  • Previous by thread: Re: application:openFile: usage
  • Next by thread: Re: application:openFile: usage
  • Index(es):
    • Date
    • Thread