Skip to content

elislade/View-Magnifier

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
iOS
 
 
 
 
 
 
 
 

View Magnifier

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)
    }
}

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages