aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBenedikt Betz <benedikt.betz@check24.de>2023-10-18 16:05:13 +0200
committerBenedikt Betz <benedikt.betz@check24.de>2023-10-18 16:05:13 +0200
commit2b9a75f30d3d4599426e836959b1c1b2a96f373b (patch)
treeee53593e2aad3668e7a431f73115805624feef65 /README.md
parentdd904a57110a70cb7727d8632a5aa93c0cd89813 (diff)
Adjust README
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
}
}
}