SwiftUI Tutorial: Core Concepts: Custom Modifiers - Part 2: Implementing ViewModifier
Автор: CodeSlicing
Загружено: 2020-08-02
Просмотров: 334
Описание:
SwiftUI Tutorial: Core Concepts: Custom Modifiers - Part 2: Implementing ViewModifier for Inner Shadows
In this episode we're going to be implementing a ViewModifier to extract out a custom modifier to add an inner shadow to a Shape. We will also be discussing the alternative of just using an extension on Shape and contrast the two approaches.
You can find the readme for the inner-shadows section of PureSwiftUITools here:
https://github.com/CodeSlicing/pure-s...
================
PureSwiftUI is a free Swift Package that includes a multitude of useful extensions and properties to make your life easier with SwiftUI resulting in cleaner code that takes less time to write.
It's a huge time-saver so I do encourage you to check it out.
You can get PureSwiftUI here:
https://github.com/CodeSlicing/pure-s...
Check out PureSwiftUITools for additional SwiftUI utility type things:
https://github.com/CodeSlicing/pure-s...
If you want to ask me a question or follow me for updates, you can do so on Twitter:
/ codeslice
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: