DockTile sample code, Principal class is "DockTile" ?
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