Dock Tile Plugin Problem
Dock Tile Plugin Problem
- Subject: Dock Tile Plugin Problem
- From: Roberto Mauro <email@hidden>
- Date: Sun, 31 Jul 2011 14:36:32 +0200
I'm trying to add a Dock Tile PlugIn to my application but I can't figured out why it isn't working.
- I've added a new Target to my project with Wrapper Extension as docktileplugin
- I've added a Class that implements NSDockTilePlugIn with method
-(void)setDockTile:(NSDockTile *)dockTile
{
[dockTile setBadgeLabel:@"12"];
}
- and I've set this class as Principal Class in its info.plist
- I've set this new DockTile Target as a Target Dependency for my Main application and I've added it to "Copy Files / Destinantion: Plugins" Build Phase
- I've set the NSDockTilePlugin keyword in my Main Application's Info.plist as the name of the Dock Tile Target without extension.
If I build the application and explore the contents of the package I can see my docktileplugin bundle inside "Contents/PlugIns", but when I drag the Icon on the Dock or I run the application, nothing happens.
Can someone please help to find out what I'm doing wrong?
Thank you
--
Roberto Mauro
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden