(OLD) Custom modifiers – Views and Modifiers SwiftUI Tutorial 9/10

preview_player
Показать описание
In this project we take a close look at how views and view modifiers work in SwiftUI.

Рекомендации по теме
Комментарии
Автор

Questions? Comments? Tweet me @twostraws.

twostraws
Автор

I' m from Thailand I want to say thank you alot I'm glad you do this video keep doing I'm your fan now ^^

greenleftth
Автор

I didn't know I could start a view with Color.blue as showed in the example. Is it a good practice to define the background color in a simple View?

casadogaspar
Автор

Hey Paul, I am having an issue getting this to work in SwiftUI 2.0. Any ideas? I am getting "Type 'customTextStyle.Type' cannot conform to 'ViewModifier'; only struct/enum/class types can conform to protocols"

TylerWasick