Reverse the mask functionality in SwiftUI! 🔄
Add the following to Package.swift
:
.package(url: "https://github.com/stateman92/ReverseMask", exact: .init(0, 0, 1))
Color.black
.reverseMask {
// your view, like an image
}
For details see the Example app.
link |
Stars: 1 |
Last commit: 2 weeks ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics