Swiftpack.co - stateman92/ReverseMask as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by stateman92.
stateman92/ReverseMask 0.0.1
Reverse the mask functionality in SwiftUI! 🔄
⭐️ 1
🕓 3 weeks ago
iOS
.package(url: "https://github.com/stateman92/ReverseMask.git", from: "0.0.1")

ReverseMask

Reverse the mask functionality in SwiftUI! 🔄

Setup

Add the following to Package.swift:

.package(url: "https://github.com/stateman92/ReverseMask", exact: .init(0, 0, 1))

Or add the package in Xcode.

Usage

Color.black
    .reverseMask {
        // your view, like an image
    }

For details see the Example app.

Example

Example

GitHub

link
Stars: 1
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics