This view magnifier project enables the magnification of any SwiftUI view. Just give the modifier a binded CGPoint where you want to magnifier to start.
struct ContentView: View {
@State private var point = CGPoint(x: 200, y: 350)
var body: some View {
Image("example").magnify($point)
}
}
- Eli Slade - Initial Work - Eli Slade
This project is licensed under the MIT License - see the LICENSE.md file for details.