• 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
DockTile sample code, Principal class is "DockTile" ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DockTile sample code, Principal class is "DockTile" ?


  • Subject: DockTile sample code, Principal class is "DockTile" ?
  • From: Eden <email@hidden>
  • Date: Thu, 28 Nov 2013 15:13:51 -0800


In Apple's "DockTile" sample code there is a an app and a dock tile plug-in.

In the DockTilePlugIn-Info.plist, the "Principal class" is valued as "DockTile", but there is no such class-- the class in the source code is "DockTilePlugIn".

Isn't that a mistake? But the thing works anyway? The name of the bundle is "DockTile.docktileplugin", so... does "Principal class" really refer to the name of the bundle? Regardless, I can change the name of the finder file and it still works.

In fact, I can delete the value for "Principal class" and it still works... although I can't be sure the working version of something wasn't cached somewhere...

Probably a foolish question, but this is my first time with loadable bundles, I just want to understand...
_______________________________________________

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


  • Follow-Ups:
    • Re: DockTile sample code, Principal class is "DockTile" ?
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: HTML emails from Objective C
  • Next by Date: Re: OS X : Different icon for Status Item
  • Previous by thread: Re: HTML emails from Objective C
  • Next by thread: Re: DockTile sample code, Principal class is "DockTile" ?
  • Index(es):
    • Date
    • Thread