SwiftUI: How to Create Inner and Outer Borders

Опубликовано: 02 Октябрь 2024
на канале: Core SwiftUI: Animation & Design
242
19

In SwiftUI, you can use .stroke() to make an outer border, and use .strokeBorder() to make an inner border as demonstrated in this video.

Source code: https://gist.github.com/amosgyamfi/bc...

Join to learn more on UDEMY:
SwiftUI Animations: hhttps://www.udemy.com/course/swiftui-...

Design With SwiftUI: https://www.udemy.com/course/swiftui-...

GitHub: Animation
https://github.com/amosgyamfi/open-sw...