In this video, you will learn how widgets work internally in iOS and how you can create your own widget with different sizes through WidgetKit.
0:56 - How do widgets work in the system?
2:51 - Widgets aren't mini apps
3:30 - Quotes App review
3:48 - Widget's default configuration
8:10 - Quote's widget implementation
13:43 - Fixing sizes
15:00 - Adding deep linking
16:57 - Summary
Design great widgets: https://developer.apple.com/videos/pl...
WidgetKit: https://developer.apple.com/documenta...
Widgets reload: https://developer.apple.com/documenta...
Source code showed in the video: https://github.com/pitt500/swift-and-...
Other videos that may interest you:
SwiftUI's Lists: • SwiftUI Intro - Lists
SwiftUI Stacks and modifiers: • SwiftUI Intro - Custom Views with St...
Structures vs Classes: • Structs vs classes in Swift
Don't forget to subscribe to the channel, like it, and follow me on social media:
Twitter:
/ swiftandtips
/ pitt500
Finally, ask me for a video you would like to see next 😄!
Credits:
Music by Wataboi from https://pixabay.com/
Video edited with LumaFusion
Смотрите видео Creating iOS Widgets with WidgetKit and SwiftUI: A Step-by-Step Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Swift and Tips 01 Январь 1970, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,239 раз и оно понравилось 91 людям.