Info for iWidgets
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Hooks into iWidgets to provide battery, ram, music, calendar events, reminders from reminders app, and weather directly from iOS. It does this by injecting global variables which are defined in the ExampleWidget. When said info is updated it will call a main function mainUpdate(type) the parameter passed describes what info was changed and therefore a developer can update those dom elements without the need for timers. Widgets must use the methods shown in the ExampleWidget to receive this info. This will not automatically fix old widgets.

iOS Calls

With communication from iOS to the iWidget, the only thing missing was calling iOS from the iWidget. This is handled by hooking iWidgets hitTest: method. Calls that are translated are defined in the ExampleWidget.

Latest version 0.0.7 here.


Andrew Wiik @Andywiik for his implementation of getting weather condition strings from the weather framework. Makes life so much easier for iWidget developers.

Matt Clark @_Matchstic for his amazing work on InfoStats2 the roadmap I followed to create FrontPage which has also lead to WidgetInfo.