Overview of Widget Examples
mainWidget Examples is a demo project designed to showcase various types of iOS widgets built using SwiftUI and WidgetKit. It serves as a reference for implementing different widget functionalities, ranging from basic data display to interactive intent-based widgets.
The project is categorized into three main types of widgets:
- Basic widgets: Standard widgets using public APIs (e.g., App Group, Core Data, SwiftData, Live Activities).
- Intent widgets: Widgets that utilize Apple's
AppIntentsframework for user interaction. - Unofficial widgets: Widgets that utilize private APIs. Warning: These may not pass Apple's review process and should be used at your own risk.
This project requires iOS 17 for the current version.