Re: App Delegate Methods

2011-07-08 Thread Andy Lee
On Jul 7, 2011, at 5:59 PM, koko wrote: So, is there really an NSApplicationWillFinishLaunchingNotification or is Apple just pulling my leg? Works for me. You should be able to confirm too by creating a new project. --Andy ___ Cocoa-dev mailing

Re: App Delegate Methods

2011-07-08 Thread Shawn Erickson
On Fri, Jul 8, 2011 at 12:34 AM, Andy Lee ag...@mac.com wrote: On Jul 7, 2011, at 5:59 PM, koko wrote: So, is there really an  NSApplicationWillFinishLaunchingNotification or is Apple just pulling my leg? Works for me. You should be able to confirm too by creating a new project. Yeah it

App Delegate Methods

2011-07-07 Thread koko
In my app delegate applicationDidFinishLaunching is called but applicationWillFinishLaunching is not. Can anyone shed some light on this apparent anomaly? -koko___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: App Delegate Methods

2011-07-07 Thread Shawn Erickson
On Thu, Jul 7, 2011 at 12:14 PM, koko k...@highrolls.net wrote: In my app delegate applicationDidFinishLaunching is called but applicationWillFinishLaunching is not. Can anyone shed some light on this apparent anomaly? As currently typed in your mail above neither of those are the methods

Re: App Delegate Methods

2011-07-07 Thread koko
Let me clarify: in my app delegate the method applicationDidFinishLaunching: is called while the method applicationWillFinishLaunching: How can this be? -koko On Jul 7, 2011, at 1:50 PM, Shawn Erickson wrote: On Thu, Jul 7, 2011 at 12:14 PM, koko k...@highrolls.net wrote: In my app

Re: App Delegate Methods

2011-07-07 Thread Shawn Erickson
On Thu, Jul 7, 2011 at 12:57 PM, koko k...@highrolls.net wrote: Let me clarify: in my app delegate the method applicationDidFinishLaunching: is called while the method applicationWillFinishLaunching: How can this be? Most likely a typo in your source code in the method name or some

Re: App Delegate Methods

2011-07-07 Thread koko
Spelling seems correct: (copied from mm file): // application delegate methods /* applicationWillFinishLaunching */ - (void)applicationWillFinishLaunching:(NSNotification *)aNotification { NSLog(@applicationWillFinishLaunching); } and the delegate is hooked up in IB. So, is

Re: App Delegate Methods

2011-07-07 Thread Greg Guerin
koko wrote: So, is there really an NSApplicationWillFinishLaunchingNotification or is Apple just pulling my leg? From the reference doc for the NSApplicationDelegate protocol: applicationWillFinishLaunching: Sent by the default notification center immediately ***before the application

Re: App Delegate Methods

2011-07-07 Thread Jens Alfke
On Jul 7, 2011, at 4:10 PM, Greg Guerin wrote: What do you hope to accomplish with this event that you can't accomplish with applicationDidFinishLaunching: ? The only time I’ve ever had to use it was when I had to install some custom AppleEvent handlers before the app processed the