• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Growl Support?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Growl Support?


  • Subject: Growl Support?
  • From: themacuser <email@hidden>
  • Date: Mon, 20 Feb 2006 22:33:12 +1030

I'm working on adding Growl support to KisMac.

I've added the Growl bundle into the project, added a new "Copy Files" step into the build process to throw it into Frameworks, and created a new NSObject subclass called GrowlDelegate.

I then edited GrowlDelegate.m and wrote this:

#import "GrowlDelegate.h"
#import <Growl/Growl.h>

@implementation GrowlDelegate
- (void)awakeFromNib {
	[GrowlApplicationBridge setGrowlDelegate:self];

[GrowlApplicationBridge notifyWithTitle:@"test" description:@"description" notificationName:@"notifyname"];
}


@end

Upon building, I get the warnings:
Warning: class 'GrowlDelegate doesn't implement the 'GrowlApplicationBridgeDelegate' protocol.
Warning: 'GrowlApplicationBridge' may not respond to '+notifyWithTitle:description:notificationName:'


What am I doing wrong here? (actually, aside from not registering the app with Growl first, I just realised I should do that, but I'd like the app to compile properly first).

Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Growl Support?
      • From: Julian Cain <email@hidden>
  • Prev by Date: Universal Binary build problem
  • Next by Date: Re: Growl Support?
  • Previous by thread: Re: Universal Binary build problem
  • Next by thread: Re: Growl Support?
  • Index(es):
    • Date
    • Thread