diff options
author | Benedikt Betz <benedikt.betz@check24.de> | 2023-10-18 16:05:13 +0200 |
---|---|---|
committer | Benedikt Betz <benedikt.betz@check24.de> | 2023-10-18 16:05:13 +0200 |
commit | 2b9a75f30d3d4599426e836959b1c1b2a96f373b (patch) | |
tree | ee53593e2aad3668e7a431f73115805624feef65 | |
parent | dd904a57110a70cb7727d8632a5aa93c0cd89813 (diff) |
Adjust README
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -79,8 +79,8 @@ struct ExampleView: View { Below is a sample implementation: */ - Button("Show cropper") { - selectedImage = UIImage(named: "") // TODO: Test + Button("Show cropper with system image") { + selectedImage = UIImage(systemName: "photo") showImageCropper.toggle() } @@ -91,7 +91,7 @@ struct ExampleView: View { imageToCrop: selectedImage, maskShape: .square ) { croppedImage in - // Do something with the returned cropped image + // Do something with the returned, cropped image } } } @@ -115,7 +115,7 @@ let configuration = SwiftyCropConfiguration( maskShape: .square, configuration: configuration // Use the configuration ) { croppedImage in - // Do something with the returned cropped image + // Do something with the returned, cropped image } } } |