How to create interactive widgets in iOS apps using SwiftUI: WidgetKit Tutorial

preview_player
Показать описание
Hi friends,

In this tutorial we will be learning about how to make widgets in iOS apps. Sound fun? Let's dive in :)

Cheers, and see you in the video!

Timestamps:

00:13 Intro
01:33 Intro to Starter code/Sample App
04:55 Add widget extension
08:50 Separate widget code into separate files and add correct targets
17:25 Customize Widgets
29:59 Multiple widget sizes
51:33 Share core data between widget and app
59:35 Notify widget to reload data from the app
01:02:32 Make the widget interactive
01:16:02 Notify app to reload data from the widget action

Resources:

#swift #swiftui #ios17 #iosdevelopment #widget #ios
Рекомендации по теме
Комментарии
Автор

Very good thanks. I hope similar content continues

serverdogan
Автор

Спасибо тебе, принцесса! Это один из лучших уроков что я видел!
From Russia with love!🫂

babyshkaboy
Автор

i try following you along, with diferent app, but my widge, one wont authenticate to firebase, and wont return anything off coredata, i dont know why it is not able to ge the data of coredata, i set the persistance container url as you did, i also have the group being use for notification extension, so dont know why it is not working :(

yuniorsanchez
Автор

can we share data b/w app and widget using notification center - or using app group?

bjp_for_
join shbcf.ru