How to build an iOS Streaks App and Widget

Описание к видео How to build an iOS Streaks App and Widget

In this video, you’ll learn how I built a streaks app with a complimentary iOS widget and how I kept the data in sync using App Groups. You’ll also learn about iOS widgets and how they work.

👋 Our "Launch Your First App" program will help you build up your iOS skills to publish your very own feature rich app even if you’re a beginner starting from scratch. https://cwc.to/youtubeoffer

Links and references from the video:
CWC+: https://codewithchris.com/plus
Timeline Provider: https://developer.apple.com/documenta...
AppIntents:https://developer.apple.com/documenta...
Keeping a widget up to date: https://developer.apple.com/documenta...
@KavSoft Circular Progress Ring:    • SwiftUI 3.0 Apple Bed Time Circular S...  

Steps:
00:56 Start the Xcode project
01:21 Add the counter and button
03:26 Build the progress ring
08:53 Style the text and background
12:02 Add a widget extension
13:53 Walkthrough of the Widget code
25:33 Set up an App Group
29:49 Set up the DataService in the Widget
31:35 Build the Widget UI
38:07 Manually update the widget from the app
39:37 Add an app intent to the project

Комментарии

Информация по комментариям в разработке