SwiftUI Toggle - Button & Switch Tutorial

preview_player
Показать описание

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:

My Source Code:

X (Twitter):

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

Mark Moeyken’s SwiftUI Books:

Paul Hudson's Hacking With Swift:

RocketSim - Enhance Your Xcode Simulator:

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
Рекомендации по теме
Комментарии
Автор

The contentTransition was a game changer.

WikiPeoples
Автор

Another great video, thanks Sean! have a good weekend.

MassonLifestyle
Автор

Thx dude you're doing great content. with love from Russia)))

MichaelTikhomirov
Автор

thank you bro ❤❤
I really like your content

mkboy
Автор

Love it! I like how you show different options in the way that makes sense.
One question though, how do you get rid of the toggle button background color?

nguyensongha
Автор

* me finding out I just re-invented the whole wheel in my app * 😅

I knew about the Toggle switch but had no idea you could use it in all these different ways!

yegak
Автор

hi chat. i'm a fresh graduate and struggling during the past few months looking for entry level ios development. i'm thinking to do some freelance to build my real world experience.

any tips on freelancing websites that are good to look for iOS dev projects? thanks guys

danielniels
join shbcf.ru