Creating Your First SwiftUI Widget | iOS 14
Автор: Kilo Loco
Загружено: 2020-06-24
Просмотров: 43705
Today, Kilo Loco will be going over how to implement SwiftUI Widgets into your app from scratch. We will implement all three widgetFamily sizes: systemSmall, systemMedium, and systemLarge.
We start by creating our SwiftUI iOS app just like normal, but add the capability to persist our selected Emoji object to UserDefaults by using App Groups. Then we add our Widget Extension as a new target to the project. Lastly, we create a TimelineProvider, a placeholder view and entry view that handles our TimelineEntry and renders our widget.
Anyone looking to not only add Widgets to their app, but fully understanding what's going on at each step of implementing widgets will definitely find this video useful.
** Show Notes and Links **
Project Files:
https://kilo-loco.teachable.com/cours...
Need Help?
https://kiloloco.com/membership
Kilo Loco on Social Media:
www.kiloloco.com
YouTube- / kiloloco
Twitter- / kilo_loco
Instagram- / kilo_loco
--------GEAR ------
Code Passionately T-Shirt
http://a.co/d/53OkIu0
Laptop - 2017 MacBook Pro
https://amzn.to/2tk5yLr
Keyboard - Anne Pro 2
https://amzn.to/2RvBcRZ
Microphone - Blue Yeti
https://amzn.to/34swmdC
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, we’ll receive a small commission. This helps support the channel and allows us to continue to make videos like this. Thank you for the support!
#swiftui #swift #iosdevelopment
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: