Configurable Widgets with AppIntents

  Рет қаралды 5,859

Flo writes Code

Flo writes Code

Жыл бұрын

This video covers how the AppIntent framework can be used to create configurable widgets (edit widget). You can define everything in code and just use the new AppIntentConfiguration with WidgetKit.
🚀 LaunchBuddy: apple.co/3iFcjjW
📚 Try CWC+: bit.ly/cwc_flo
☕️ Buy me a coffee: ko-fi.com/flowritescode
👋 Links: flowritesco.de
🛠 Forge: apple.co/3riG8MQ
Affiliate Links ❤
📕 SwiftUI & Combine Books: www.bigmountainstudio.com/a/t...
🔬 Get Reports about your apps: appfigures.com/r/5by3g
📊 Privacy focused analytics: dashboard.telemetrydeck.com/r...
💻 The most powerful mac app for developers: devutils.app/?ref=flo
☕️ Support me: ko-fi.com/flowritescode
If you have any video suggestions please feel free to let me know by a comment.
Get in contact via
Twitter: / flowritescode

Пікірлер: 17
@GroundshotsDe
@GroundshotsDe Жыл бұрын
Again great Video! Now I've got my first widget running! Thanks, Flo! 👌
@tomaskmit7780
@tomaskmit7780 11 ай бұрын
Thank you Flo! I learned so much from your videos over the past years. Would it be possible to make a video (or a sample code) on how to get the configuration options from core data? I have been trying to get it to work for weeks but I just can't figure it out.
@FloWritesCode
@FloWritesCode 11 ай бұрын
Thank you! To get you started, you could watch my CoreData + WidgetKit video. It shows you exactly the setup you need to read CoreData content in your Widgets. Hope it helps! kzfaq.info/get/bejne/fLyPZs6at6ydYJs.html
@meowing1109
@meowing1109 7 ай бұрын
Hey, I've been following your widget kit videos and I'm kind of trying to copy the Lapse app behavior in which they are bringing the user straight to wallpaper settings to set up their app's widget. It will be great if anyone could help me with it. Thanks!
@alinazhusupbekova9852
@alinazhusupbekova9852 Ай бұрын
Awesome tutorial! Is there a way to get current location of user when interacting with widget? e.g. on button press
@AleksanderMassimo
@AleksanderMassimo 9 ай бұрын
Thank you Flo for all your videos! Any suggestion how to localize the selection values? (red = rot, blue = blau, etc.)
@FloWritesCode
@FloWritesCode 9 ай бұрын
I'm actually not sure about that, sorry! Perhaps it's just LocalizedStringKey instead of String? Have you tried the standard localization setup?
@AleksanderMassimo
@AleksanderMassimo 9 ай бұрын
I use the new localization methods, but theses selection values are not automatically imported. I added them manually, but that didn't do it. Using the LocalizedStringKey the code does no longer compile.
@ephirmdaniel5921
@ephirmdaniel5921 11 ай бұрын
Can you please share this github repo link
@zrahawi
@zrahawi 10 ай бұрын
Can I display the configuration values in a List (UITableView) in a separate sheet view instead of MenuPickerStyle?
@FloWritesCode
@FloWritesCode 10 ай бұрын
I don't think you can change the UI, no. That happens automatically on a system-level.
@ephirmdaniel5921
@ephirmdaniel5921 11 ай бұрын
So we don’t need intenttimelineprovider if we use this ?
@FloWritesCode
@FloWritesCode 11 ай бұрын
As mentioned in the video, you need AppIntentTimelineProvider if you're using AppIntents.
@rickywitherspoon2861
@rickywitherspoon2861 Жыл бұрын
Is all of this iOS 17 only?
@FloWritesCode
@FloWritesCode Жыл бұрын
Unfortunately yes.
@boazc
@boazc 10 ай бұрын
@@FloWritesCode I was about to try this but AppIntentTimelineProvider is still beta so I can't. Guess I have to wait!
@bjp_for_2024
@bjp_for_2024 7 ай бұрын
github link?
Interactive Widgets in iOS 17
9:23
Flo writes Code
Рет қаралды 7 М.
WidgetKit Masterclass 2024
2:29:03
Flo writes Code
Рет қаралды 1,2 М.
Now THIS is entertainment! 🤣
00:59
America's Got Talent
Рет қаралды 40 МЛН
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 35 МЛН
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 63 МЛН
Share CoreData with Widget Extension
9:34
Flo writes Code
Рет қаралды 3,5 М.
How Much I Earned as an Indie iOS Developer in a Year
8:01
Aivars Meijers
Рет қаралды 28 М.
Getting started with iOS modularization by Luka Terzić
23:48
SwiftData Basics in 15 minutes
15:18
CodeWithChris
Рет қаралды 41 М.
How to Build a Widget in Swift with WidgetKit
50:23
Sean Allen
Рет қаралды 58 М.
5 SwiftUI Features You Didn’t Know!
8:38
Flo writes Code
Рет қаралды 1,8 М.
SwiftData in Widget Extensions | Build a Full SwiftData App Lesson 4
13:17
Exploring Interactive Widgets - SwiftUI and Xcode 15
4:59
CodeWithChris
Рет қаралды 11 М.
Create your first Lockscreen Widget | iOS 16 WidgetKit Tutorial
7:32
Flo writes Code
Рет қаралды 22 М.
iPhone, Galaxy или Pixel? 😎
0:16
serg1us
Рет қаралды 1,3 МЛН
НОВЫЕ ФЕЙК iPHONE 🤯 #iphone
0:37
ALSER kz
Рет қаралды 278 М.
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
VA-PC
Рет қаралды 2,4 МЛН
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Tynalieff Shorts
Рет қаралды 2 МЛН