Enhance View with interaction detection! ๐
Add the following to Package.swift
:
.package(url: "https://github.com/stateman92/InteractiveView", exact: .init(0, 0, 1))
InteractiveView {
// view
} changed: {
print("state: \($0), isInteracting: \($0.isInteracting)")
}
For details see the Example app.