Skip to content

JunesiPhone/WidgetInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WidgetInfo

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.

Credits

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.

About

Info for iWidgets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published