Uploaded March 2024 | Updated September 2026, 1 week ago
Go to squarespace.com/seanallen to save 10% off your first purchase of a website or domain using code SEANALLEN.
In this video I show you how to build various SwiftUI Toggles. I demonstrate the basic switch, how to use it in a SwiftUI Form and how to customize the color. Then I show you how to build a toggle button and customize it with color, icons and basic animations.
My iOS Dev Courses:
seanallen.teachable.com/?video=-sw7gvNUboc
My Source Code:
seanallen.teachable.com/p/source-code-youtube-videos?video=-sw7gvNUboc
X (Twitter):
Sean Allen - twitter.com/seanallen_dev
Hired.com:
hired.com/x/1n01g
Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):
Mark Moeyken’s SwiftUI Books:
bigmountainstudio.com/a/fzc51
Paul Hudson's Hacking With Swift:
gumroad.com/a/762098803
RocketSim - Enhance Your Xcode Simulator:
gumroad.com/a/51797971/ftvbh
Objc.io Books (Thinking in SwiftUI & Advanced Swift):
gumroad.com/a/656585843
Timestamps:
0:00 - Button Toggle & Switch
0:18 - Toggle Basics - How it Works
1:09 - Toggle Switch w/ SF Symbol
1:34 - Change Color of Switch
1:52 - Form Switches
2:40 - Toggle Button Style
3:07 - Icon Only Toggle
3:49 - Toggle Animations - Content Transition
#swift #softwaredeveloper #iosdeveloper
Go to squarespace.com/seanallen to save 10% off your first purchase of a website or domain using code SEANALLEN.
In this video I show you how to build various SwiftUI Toggles. I demonstrate the basic switch, how to use it in a SwiftUI Form and how to customize the color. Then I show you how to build a toggle button and customize it with color, icons and basic animations.
My iOS Dev Courses:
seanallen.teachable.com/?video=-sw7gvNUboc
My Source Code:
seanallen.teachable.com/p/source-code-youtube-videos?video=-sw7gvNUboc
X (Twitter):
Sean Allen - twitter.com/seanallen_dev
Hired.com:
hired.com/x/1n01g
Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):
Mark Moeyken’s SwiftUI Books:
bigmountainstudio.com/a/fzc51
Paul Hudson's Hacking With Swift:
gumroad.com/a/762098803
RocketSim - Enhance Your Xcode Simulator:
gumroad.com/a/51797971/ftvbh
Objc.io Books (Thinking in SwiftUI & Advanced Swift):
gumroad.com/a/656585843
Timestamps:
0:00 - Button Toggle & Switch
0:18 - Toggle Basics - How it Works
1:09 - Toggle Switch w/ SF Symbol
1:34 - Change Color of Switch
1:52 - Form Switches
2:40 - Toggle Button Style
3:07 - Icon Only Toggle
3:49 - Toggle Animations - Content Transition
#swift #softwaredeveloper #iosdeveloper










