Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pawello2222/WidgetExamples

A demo project showing different types of Widgets created with SwiftUI and WidgetKit.
https://github.com/pawello2222/WidgetExamples

animated-widget audio-player audioplayer clock-widget coredata deeplinks demo intent ios14 ios14-widget ios16 ios17 liveactivity sirikit swift swiftdata swiftui userdefaults widget widgetkit

Last synced: 3 months ago
JSON representation

A demo project showing different types of Widgets created with SwiftUI and WidgetKit.

Awesome Lists containing this project

README

        


Widget Examples logo



Build
Language
Release version
License

# Widget Examples

A demo project showing different types of Widgets created with SwiftUI and WidgetKit.


Table of Contents

1. [Basic widgets](#basic)
2. [Intent widgets](#intent)
2. [Unofficial widgets](#unofficial)
3. [Installation](#installation)
4. [License](#license)

## Basic widgets



App Group


Core Data


Countdown


Deep Link





App Group Widget




Core Data Widget




Countdown Widget




Deep Link Widget





Digital Clock


Live Activity


Environment





Digital Clock Widget




Live Activity Widget




Environment Widget





Lock Screen


Network


Shared View


SwiftData





Lock Screen Widget




Network Widget




Shared View Widget




SwiftData Widget





URL Image








URL Image Widget





## Intent widgets

The following widgets use Intents. Please refer to the [documentation](https://developer.apple.com/documentation/appintents/appintent) for a more detailed explanation.



Audio Playback


Dynamic Intent


Intent


Interactive





Audio Playback Widget




Dynamic Intent Widget




Intent Widget




Interactive Widget


## Unofficial widgets

The folowing widgets use private API. Please bear in mind that they don't necessarily have to pass the Apple review process and you use them at your own risk.



Analog Clock








Analog Clock Widget





## Installation

It is recommended to download the whole project to keep the configuration intact as some widgets depend on the App Group capability or integrate with the main App.

### Versions

This project requires iOS 17.

You can also download releases for previous deployment targets:
- [v0.6.2](https://github.com/pawello2222/WidgetExamples/releases/tag/0.6.2) (iOS 16.1+)
- [v0.6.0](https://github.com/pawello2222/WidgetExamples/releases/tag/0.6.0) (iOS 16.0+)
- [v0.5.0](https://github.com/pawello2222/WidgetExamples/releases/tag/0.5.0) (iOS 14.0+)

## License

Widget Examples project is available under the MIT license. See the [LICENSE](./LICENSE.md) file for more info.