[fbcocoa] Re: [fbcocoa] Notification Manager ( old ) replacement

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2010 : Group Archive : Group : All Groups

From: Bernie <fbcocoa.bw@...>
Date: Thu, 1 Jul 2010 18:07:27 +0100
Brian wrote:

> On Jul 1, 2010, at 9:14 AM, Brian S wrote:
> 
>> The above call to sharedApplication is apparently the key and its description sounds like it would solve my issue.
> 
> and it does. Inserting [NSApplication sharedApplication]; just prior to the NSAlert alloc/init allows it to run.


I hadn't tried displaying the alert without the call to requestUserAttention:. If I had, I may have realised that NSApplicationLoad(); is required. Looks like [NSApplication sharedApplication]; does same thing.

Bernie