aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index edb6acb..c07e0ad 100644
--- a/README.md
+++ b/README.md
@@ -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
}
}
}