Hi,
I'm using the growl SDK (I have tried with 1.2.1 and 1.2.2b1) with my Cocoa
app, and it does not seem to be pushing out actual notifications. I
followed the instructions on this page:
http://growl.info/documentation/developer/implementing-growl.php. My
current bit of code looks like this:
if ([GrowlApplicationBridge isGrowlInstalled] && [GrowlApplicationBridge
isGrowlRunning]) {
NSBundle *myBundle = [NSBundle bundleForClass:[blare_AppDelegate class]];
NSString *growlPath = [[myBundle privateFrameworksPath]
stringByAppendingPathComponent:@"Growl.framework"];
NSBundle *growlBundle = [NSBundle bundleWithPath:growlPath];
if (growlBundle && [growlBundle load]) {
[GrowlApplicationBridge setGrowlDelegate:self];
[GrowlApplicationBridge notifyWithTitle:@"Alert" description:@"Hello!"
notificationName:@"Example Notification" iconData:nil priority:0
isSticky:YES clickContext:nil];
} else {
NSLog(@"ERROR: Could not load Growl.framework");
}
} else {
NSLog(@"Growl not installed or running");
}
There are no errors, and I have verified the code is executed by using
breakpoints. I have verified that my app has registered via growl. Any
suggestions/ideas?
Thanks,
-Joe
--
You received this message because you are subscribed to the Google Groups
"Growl Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/growldiscuss?hl=en.