ok. sorry i am really trying to understand this, i'm a n00b at cocoa
integration in a carbon app.
void GrowlNotify(growl::notify notifyID, CFStringRef msgRef)
{
[GrowlApplicationBridge setGrowlDelegate:@""];
[GrowlApplicationBridge
notifyWithTitle:@"Garr!"
description:(NSString *)msgRef
notificationName:(NSString *)@"MyNotifyKey"];
}
so this fn is in a .m file, so it compiles as ObjC. not using the
notifyID yet. created my "Growl Registration Ticket.growlRegDict"
dictionary and added it to my Resources folder with "MyNotifyKey"
correctly created. i've added the framework and it is copying and
linking correctly.
when i compile, i get this:
> 'GrowlApplicationBridge' may not respond to
> '+notifyWithTitle:description:notificationName:'
> warning: (Messages without a matching method signature
and i'm like huh?
when i run, of course it fails.
#0 0x90b4fa07 in ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___
#1 0x94ac7509 in objc_exception_throw
#2 0x90b5199b in +[NSObject(NSObject) doesNotRecognizeSelector:]
#3 0x90aab806 in ___forwarding___
#4 0x90aab3d2 in __forwarding_prep_0___
#5 0x000036fe in GrowlNotify at CocoaFunctions.m:31
#6 0x001ad934 in CNotification::Notify at CNotification.cpp:21
--
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.