• 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: NSService - I need a headslap
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSService - I need a headslap


  • Subject: Re: NSService - I need a headslap
  • From: Quincey Morris <email@hidden>
  • Date: Wed, 4 Feb 2009 09:26:51 -0800

On Feb 4, 2009, at 07:03, Steve Cronin wrote:

However, that doesn't change my end result!

I think you threw the baby out with the bath water. *Something* has to create your app delegate object, since it's not coming from a NIB file in this case. So...


	+(void) initialize {[NSApp setDelegate: [[MyDelegate alloc] init]];}

would probably do it, although 'initialize' is really supposed to have a check to make sure it doesn't execute twice.
_______________________________________________


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: 
 >NSService - I need a headslap (From: Steve Cronin <email@hidden>)
 >Re: NSService - I need a headslap (From: Ron Fleckner <email@hidden>)
 >Re: NSService - I need a headslap (From: Steve Cronin <email@hidden>)

  • Prev by Date: Drag and drop images to other application using NSFilesPromisePboardType
  • Next by Date: Re: Advanced NSTextView use
  • Previous by thread: Re: NSService - I need a headslap
  • Next by thread: Re: NSService - I need a headslap
  • Index(es):
    • Date
    • Thread