• 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
Dock Tile Plugin Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Fastest high-quality thumbnail display
  • Next by Date: Re: Return causes EXC_BAD_ACCESS
  • Previous by thread: How can I eliminate the delay between pressing a global shortcut and the reaction of the triggered background process?
  • Next by thread: Multithreaded Coredata save in Lion
  • Index(es):
    • Date
    • Thread