Code Monkey home page Code Monkey logo

widgetexamples's Introduction

Language Supported Platform Release version License


Widget Examples

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

Contents

AppGroup Widget

A demo showcasing how to use an App Group to share data between an App and its Widget.

Clock Widget

A Widget that displays the current time (in various formats) and refreshes every minute.

CoreData Widget

A demo showcasing how to use Core Data in a Widget.

Countdown Widget

A Widget that displays the remaining time in seconds and changes color when the end date is approaching.

DeepLink Widget

A demo showcasing how to use Deep Links to pass events / information from a Widget to the parent App.

Dynamic Intent Widget

A Widget that has dynamically configurable data.

Environment Widget

A demo showcasing how to adjust a Widget View depending on Environment variables.

Intent Widget

A Widget that has a configurable background color.

Network Widget

A demo showcasing how to load data from a network request and populate the Widget Timeline.

Preview Widget

A demo showcasing how to display a Widget View directly in the parent App.

Timer Widget

A Widget that displays the current time (including seconds) as a timer.

URLImage Widget

A Widget that displays an Image downloaded from an external URL.

Notes

Some examples depend on the App Group capability (e.g., AppGroup Widget) or integrate with the main App (e.g., Preview Widget), so it's recommended to download the whole project to keep the configuration intact.

License

Widget Examples project is available under the MIT license. See the LICENSE file for more info.

widgetexamples's People

Contributors

pawello2222 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.