How to Build a Widget in Swift with WidgetKit
Sean Allen Sean Allen
149K subscribers
52,850 views
0

 Published On Sep 19, 2022

I teach you the basic concepts you'll need to know when building a Widget in Swift. We discuss the Widget timeline, snapshot and how they work. As well as design principles of a great widget. This video will get you up and running into the world of building awesome Widgets.

This is a free preview of my WidgetKit course. This is only the first section that covers a basic widget. We get much more advanced in the full course with network calls, core data, configurations, lock screen widgets, live activities and dynamic island.

Use code PREVIEW to get 15% off the complete course at
https://seanallen.teachable.com/p/wid...

.swift file to copy and paste MonthConfig from (as seen in video):
https://www.dropbox.com/s/soafm5suahn...

WWDC 2020 - Design Great Widgets:
https://developer.apple.com/videos/pl...

Human Interface Guidelines - Widget Section:
https://developer.apple.com/design/hu...

Twitter:
  / seanallen_dev  

Hired.com:
https://hired.com/x/1n01g

Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):

Paul Hudson's Hacking With Swift:
https://gumroad.com/a/762098803

Donny Wals - Combine:
https://gumroad.com/a/909014131

Mark Moeyken’s SwiftUI Books:
www.bigmountainstudio.com/swiftui-views-book/fzc51

Objc.io Books (Thinking in SwiftUI & Advanced Swift):
https://gumroad.com/a/656585843

Ray Wenderlich Books:
https://store.raywenderlich.com/a/208...

Links to my iOS Dev Setup & iOS Dev Book Recommendations
https://www.amazon.com/shop/seanallen

Timestamps:
0:00 - What you will learn
2:15 - What you need to know about Widgets
5:11 - How to design great Widgets
9:30 - Setting up our Xcode project
12:12 - WidgetKit code explanation
20:23 - Monthly Widget UI design & basic functionality
36:00 - Dynamically change UI for each month
49:07 - How to build on this

#swift #softwaredeveloper #iosdeveloper

show more

Share/Embed