Re: NSService - I need a headslap
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