Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ArtOfWarfare

macrumors G3
Original poster
Nov 26, 2007
9,710
6,304
As far as I can tell, all a widget is is a webpage that gets placed in a folder with an extension of .wdgt alongside an info.plist, icon.png, and default.png. The plist has the following data:

- Bundle Identifier
- Bundle Name
- Bundle Display Name
- Bundle Version
- Main HTML
- Close Box Inset X and Y (Optional - Assumed to be 0 otherwise?)
- Width and Height (Optional - Assumed based on Icon.png's dimensions otherwise.)

That's what this page leads me to believe, anyways:
https://developer.apple.com/library...getBasics.html#//apple_ref/doc/uid/TP40008117

But when I open up and look in some widgets, say the App Update widget, http://www.apple.com/downloads/dashboard/status/appupdate.html

I see two things that look odd:
1 - A folder ending in .widgetplugin. What is this? It has what appears to be a template info.plist and InfoPlist.strings that was never filled out. Additionally it has an executable.
2 - plugin_src.zip? What is this?

The reason I ask is I'm looking to write my own better version of dashboard which can open all the widgets that were created for Apple's implementation of dashboard.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.