{"id":13961709,"url":"https://github.com/pawello2222/WidgetExamples","last_synced_at":"2025-07-21T06:31:43.529Z","repository":{"id":41084422,"uuid":"304405964","full_name":"pawello2222/WidgetExamples","owner":"pawello2222","description":"A demo project showing different types of Widgets created with SwiftUI and WidgetKit.","archived":false,"fork":false,"pushed_at":"2024-05-15T12:12:11.000Z","size":14498,"stargazers_count":877,"open_issues_count":5,"forks_count":82,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-11-28T07:34:37.596Z","etag":null,"topics":["animated-widget","audio-player","audioplayer","clock-widget","coredata","deeplinks","demo","intent","ios14","ios14-widget","ios16","ios17","liveactivity","sirikit","swift","swiftdata","swiftui","userdefaults","widget","widgetkit"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pawello2222.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-15T17:50:47.000Z","updated_at":"2024-11-27T06:51:59.000Z","dependencies_parsed_at":"2023-01-19T05:31:26.172Z","dependency_job_id":"c5cffef7-cc1c-46d8-970e-32221d50bc61","html_url":"https://github.com/pawello2222/WidgetExamples","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/pawello2222/WidgetExamples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawello2222%2FWidgetExamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawello2222%2FWidgetExamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawello2222%2FWidgetExamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawello2222%2FWidgetExamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pawello2222","download_url":"https://codeload.github.com/pawello2222/WidgetExamples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawello2222%2FWidgetExamples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266253575,"owners_count":23900052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animated-widget","audio-player","audioplayer","clock-widget","coredata","deeplinks","demo","intent","ios14","ios14-widget","ios16","ios17","liveactivity","sirikit","swift","swiftdata","swiftui","userdefaults","widget","widgetkit"],"created_at":"2024-08-08T17:01:22.433Z","updated_at":"2025-07-21T06:31:38.497Z","avatar_url":"https://github.com/pawello2222.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./.resources/Assets/logo.png\" alt=\"Widget Examples logo\" height=150\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/pawello2222/WidgetExamples/actions?query=branch%3Amain\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/pawello2222/WidgetExamples/ci.yml?logo=github\" alt=\"Build\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/pawello2222/WidgetExamples\"\u003e\u003cimg src=\"https://img.shields.io/badge/language-swift-orange.svg\" alt=\"Language\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/pawello2222/WidgetExamples/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/pawello2222/WidgetExamples\" alt=\"Release version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/pawello2222/WidgetExamples/blob/main/LICENSE.md\"\u003e\u003cimg src=\"https://img.shields.io/github/license/pawello2222/WidgetExamples\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Widget Examples\n\nA demo project showing different types of Widgets created with SwiftUI and WidgetKit.\n\n\u003cdetails\u003e\n  \u003csummary\u003e\n    \u003cb\u003eTable of Contents\u003c/b\u003e\n  \u003c/summary\u003e\n\n  1. [Basic widgets](#basic)\n  2. [Intent widgets](#intent)\n  2. [Unofficial widgets](#unofficial)\n  3. [Installation](#installation)\n  4. [License](#license)\n\n\u003c/details\u003e\n\n## Basic widgets \u003ca name=\"basic\"\u003e\u003c/a\u003e\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth align=\"center\" width=\"25%\"\u003e\n      \u003ca href=\"./Widgets/AppGroupWidget\"\u003eApp\u0026nbsp;Group\u003c/a\u003e\n    \u003c/th\u003e\n    \u003cth align=\"center\" width=\"25%\"\u003e\n      \u003ca href=\"./Widgets/CoreDataWidget\"\u003eCore\u0026nbsp;Data\u003c/a\u003e\n    \u003c/th\u003e\n    \u003cth align=\"center\" width=\"25%\"\u003e\n      \u003ca href=\"./Widgets/CountdownWidget\"\u003eCountdown\u003c/a\u003e\n    \u003c/th\u003e\n    \u003cth align=\"center\" width=\"25%\"\u003e\n      \u003ca href=\"./Widgets/DeepLinkWidget\"\u003eDeep\u0026nbsp;Link\u003c/a\u003e\n    \u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"./Widgets/AppGroupWidget\"\u003e\n        \u003cimg src=\"./.resources/Screenshots/AppGroupWidget.png\" alt=\"App Group Widget\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"./Widgets/CoreDataWidget\"\u003e\n        \u003cimg src=\"./.resources/Screenshots/CoreDataWidget.png\" alt=\"Core Data Widget\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"./Widgets/CountdownWidget\"\u003e\n        \u003cimg src=\"./.resources/Screenshots/CountdownWidget.png\" alt=\"Countdown Widget\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"./Widgets/DeepLinkWidget\"\u003e\n        \u003cimg src=\"./.resources/Screenshots/DeepLinkWidget.png\" alt=\"Deep Link Widget\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003cth align=\"center\"\u003e\n      \u003ca href=\"./Widgets/DigitalClockWidget\"\u003eDigital\u0026nbsp;Clock\u003c/a\u003e\n    \u003c/th\u003e\n    \u003cth align=\"center\" colspan=\"2\"\u003e\n      \u003ca href=\"./Widgets/LiveActivityWidget\"\u003eLive\u0026nbsp;Activity\u003c/a\u003e\n    \u003c/th\u003e\n    \u003cth align=\"center\"\u003e\n      \u003ca href=\"./Widgets/EnvironmentWidget\"\u003eEnvironment\u003c/a\u003e\n    \u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"./Widgets/DigitalClockWidget\"\u003e\n        \u003cimg src=\"./.resources/Screenshots/DigitalClockWidget.png\" alt=\"Digital Clock Widget\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\" colspan=\"2\"\u003e\n      \u003ca href=\"./Widgets/LiveActivityWidget\"\u003e\n        \u003cimg src=\"./.resources/Screenshots/LiveActivityWidget.png\" alt=\"Live Activity Widget\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"./Widgets/EnvironmentWidget\"\u003e\n        \u003cimg src=\"./.resources/Screenshots/EnvironmentWidget.png\" alt=\"Environment Widget\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n    \u003ctr\u003e\n    \u003cth align=\"center\"\u003e\n      \u003ca href=\"./Widgets/LockScreenWidget\"\u003eLock\u0026nbsp;Screen\u003c/a\u003e\n    \u003c/th\u003e\n    \u003cth align=\"center\"\u003e\n      \u003ca href=\"./Widgets/NetworkWidget\"\u003eNetwork\u003c/a\u003e\n    \u003c/th\u003e\n    \u003cth align=\"center\"\u003e\n      \u003ca href=\"./Widgets/SharedViewWidget\"\u003eShared\u0026nbsp;View\u003c/a\u003e\n    \u003c/th\u003e\n    \u003cth align=\"center\"\u003e\n      \u003ca href=\"./Widgets/SwiftDataWidget\"\u003eSwiftData\u003c/a\u003e\n    \u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"./Widgets/LockScreenWidget\"\u003e\n        \u003cimg src=\"./.resources/Screenshots/LockScreenWidget.png\" alt=\"Lock Screen Widget\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"./Widgets/NetworkWidget\"\u003e\n        \u003cimg src=\"./.resources/Screenshots/NetworkWidget.png\" alt=\"Network Widget\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"./Widgets/SharedViewWidget\"\u003e\n        \u003cimg src=\"./.resources/Screenshots/SharedViewWidget.png\" alt=\"Shared View Widget\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"./Widgets/SwiftDataWidget\"\u003e\n        \u003cimg src=\"./.resources/Screenshots/SwiftDataWidget.png\" alt=\"SwiftData Widget\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003cth align=\"center\" width=\"25%\"\u003e\n      \u003ca href=\"./Widgets/URLImageWidget\"\u003eURL\u0026nbsp;Image\u003c/a\u003e\n    \u003c/th\u003e\n    \u003cth align=\"center\" width=\"25%\"\u003e\u003c/th\u003e\n    \u003cth align=\"center\" width=\"25%\"\u003e\u003c/th\u003e\n    \u003cth align=\"center\" width=\"25%\"\u003e\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"./Widgets/URLImageWidget\"\u003e\n        \u003cimg src=\"./.resources/Screenshots/URLImageWidget.png\" alt=\"URL Image Widget\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Intent widgets \u003ca name=\"intent\"\u003e\u003c/a\u003e\n\nThe following widgets use Intents. Please refer to the [documentation](https://developer.apple.com/documentation/appintents/appintent) for a more detailed explanation.\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth align=\"center\"\u003e\n      \u003ca href=\"./Widgets/AudioPlaybackWidget\"\u003eAudio\u0026nbsp;Playback\u003c/a\u003e\n    \u003c/th\u003e\n    \u003cth align=\"center\"\u003e\n      \u003ca href=\"./Widgets/DynamicIntentWidget\"\u003eDynamic\u0026nbsp;Intent\u003c/a\u003e\n    \u003c/th\u003e\n    \u003cth align=\"center\"\u003e\n      \u003ca href=\"./Widgets/IntentWidget\"\u003eIntent\u003c/a\u003e\n    \u003c/th\u003e\n    \u003cth align=\"center\"\u003e\n      \u003ca href=\"./Widgets/InteractiveWidget\"\u003eInteractive\u003c/a\u003e\n    \u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"./Widgets/AudioPlaybackWidget\"\u003e\n        \u003cimg src=\"./.resources/Screenshots/AudioPlaybackWidget.png\" alt=\"Audio Playback Widget\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"./Widgets/DynamicIntentWidget\"\u003e\n        \u003cimg src=\"./.resources/Screenshots/DynamicIntentWidget.png\" alt=\"Dynamic Intent Widget\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"./Widgets/IntentWidget\"\u003e\n        \u003cimg src=\"./.resources/Screenshots/IntentWidget.png\" alt=\"Intent Widget\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"./Widgets/InteractiveWidget\"\u003e\n        \u003cimg src=\"./.resources/Screenshots/InteractiveWidget.png\" alt=\"Interactive Widget\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Unofficial widgets \u003ca name=\"unofficial\"\u003e\u003c/a\u003e\n\nThe 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.\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth align=\"center\" width=\"25%\"\u003e\n      \u003ca href=\"./Widgets/AnalogClockWidget\"\u003eAnalog\u0026nbsp;Clock\u003c/a\u003e\n    \u003c/th\u003e\n    \u003cth align=\"center\" width=\"25%\"\u003e\u003c/th\u003e\n    \u003cth align=\"center\" width=\"25%\"\u003e\u003c/th\u003e\n    \u003cth align=\"center\" width=\"25%\"\u003e\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"./Widgets/AnalogClockWidget\"\u003e\n        \u003cimg src=\"./.resources/Screenshots/AnalogClockWidget.png\" alt=\"Analog Clock Widget\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Installation \u003ca name=\"installation\"\u003e\u003c/a\u003e\n\nIt 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.\n\n\n### Versions\n\nThis project requires iOS 17.\n\nYou can also download releases for previous deployment targets:\n- [v0.6.2](https://github.com/pawello2222/WidgetExamples/releases/tag/0.6.2) (iOS 16.1+)\n- [v0.6.0](https://github.com/pawello2222/WidgetExamples/releases/tag/0.6.0) (iOS 16.0+)\n- [v0.5.0](https://github.com/pawello2222/WidgetExamples/releases/tag/0.5.0) (iOS 14.0+)\n\n## License \u003ca name=\"license\"\u003e\u003c/a\u003e\n\nWidget Examples project is available under the MIT license. See the [LICENSE](./LICENSE.md) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawello2222%2FWidgetExamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpawello2222%2FWidgetExamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawello2222%2FWidgetExamples/lists"}