From 2b9a75f30d3d4599426e836959b1c1b2a96f373b Mon Sep 17 00:00:00 2001 From: Benedikt Betz Date: Wed, 18 Oct 2023 16:05:13 +0200 Subject: Adjust README --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README.md') 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 } } } -- cgit v1.2.3