• 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: Best practice for terminating at launch time?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best practice for terminating at launch time?


  • Subject: Re: Best practice for terminating at launch time?
  • From: Graham Cox <email@hidden>
  • Date: Wed, 11 Feb 2009 15:37:22 +1100


On 11 Feb 2009, at 3:11 pm, Rob Keniger wrote:

I guess you'd need to implement - application:openFile: and - application:openFiles: in the application delegate and return NO from these methods.


Bingo. That's the one.

Actually I only needed to implement -application:openFile:, but in fact you have to return YES, pretending you've opened the file, to stop the app doing it.

thanks,

--Graham


_______________________________________________

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


References: 
 >Best practice for terminating at launch time? (From: Graham Cox <email@hidden>)
 >Re: Best practice for terminating at launch time? (From: Rob Keniger <email@hidden>)
 >Re: Best practice for terminating at launch time? (From: Graham Cox <email@hidden>)
 >Re: Best practice for terminating at launch time? (From: Rob Keniger <email@hidden>)
 >Re: Best practice for terminating at launch time? (From: Graham Cox <email@hidden>)
 >Re: Best practice for terminating at launch time? (From: Rob Keniger <email@hidden>)

  • Prev by Date: Re: Best practice for terminating at launch time?
  • Next by Date: Re: UIScrollView - photo viewer like usage
  • Previous by thread: Re: Best practice for terminating at launch time?
  • Next by thread: Network communications help
  • Index(es):
    • Date
    • Thread