Giter VIP home page Giter VIP logo

widgetkit-demo's Introduction

WidgetKit Demo

Sample iOS project showing how to implement new widgets for iOS 14 using WidgetKit.

screenshot

Features

This example covers the following features:

  • widget view in SwiftUI
  • creating Timeline for remote data (mocked API call)
  • support for widget configurations
  • intent extension for dynamic data in configuration
  • support for smart stacks (donating)
  • deeplinks - navigation to application from widget

Requirements

  • Xcode 12+

Xcode 12.0.1 seems to be the most stable in terms of WidgetKit. On Xcode 12.1 I noticed some problems.

widgetkit-demo's People

Contributors

wojciech-kulik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

widgetkit-demo's Issues

How to test the smart rotate on the smart stack?

Hello,

Thanks a lot for a nice WidgetKit sample project. It's very easy to understand how to implement a widget and its configuration. While I recently have been looking for how to test Smart Rotate, I found your sample code. It supports INInteraction donation, however, the widget has never appeared on a Smart Stack in iOS 14.7.1 with Xcode 12.5.1, notwithstanding donating interactions so mush from the app. Since I can see the Siri Suggestion on Spotlight Search, I think the donation work fine properly.

As far as I see Developer forums, it seems like some developers have the same issue as mine. (I am also going to try to support Widget Suggestions by the way.)
https://developer.apple.com/forums/thread/686136

I really appreciate if you could let me know the solution or some tips regarding the Smart Rotate debugging.

Regards,

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.