Swiftpack.co - stateman92/InteractiveView as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by stateman92.
stateman92/InteractiveView 0.0.1
Enhance View with interaction detection! 🔍
⭐️ 1
🕓 1 year ago
iOS
.package(url: "https://github.com/stateman92/InteractiveView.git", from: "0.0.1")

InteractiveView

Enhance View with interaction detection! 🔍

Setup

Add the following to Package.swift:

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

Or add the package in Xcode.

Usage

InteractiveView {
    // view
} changed: {
    print("state: \($0), isInteracting: \($0.isInteracting)")
}

For details see the Example app.

GitHub

link
Stars: 1
Last commit: 26 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

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