diff --git a/Sources/CropImage/Documentation.docc/Documentation.md b/Sources/CropImage/Documentation.docc/Documentation.md index 09e0574..4197e07 100644 --- a/Sources/CropImage/Documentation.docc/Documentation.md +++ b/Sources/CropImage/Documentation.docc/Documentation.md @@ -4,13 +4,13 @@ A simple SwiftUI view where user can move and resize an image to a pre-defined s Supports iOS 14.0 and above, or macOS Ventura 13.0 and above. -## Overview - - Supports both iOS and macOS - Use `ImageRenderer` to render the cropped image, when possible - Very lightweight - (Optionally) bring your own crop UI +Configure and present ``CropImageView`` to the user, optionally specifying a ``CropImageView/ControlClosure`` to use your own UI controls to transform the image in the canvas, and cancel or finish the crop process, and receive cropped image from ``CropImageView/onCrop``. + ![Preview on macOS](macos) ## Topics diff --git a/Sources/CropImage/Documentation.docc/Resources/macos.png b/Sources/CropImage/Documentation.docc/Resources/macos.png index a399204..50f515e 100644 Binary files a/Sources/CropImage/Documentation.docc/Resources/macos.png and b/Sources/CropImage/Documentation.docc/Resources/macos.png differ diff --git a/Sources/CropImage/Documentation.docc/Resources/macos~dark.png b/Sources/CropImage/Documentation.docc/Resources/macos~dark.png index d8e337f..4672643 100644 Binary files a/Sources/CropImage/Documentation.docc/Resources/macos~dark.png and b/Sources/CropImage/Documentation.docc/Resources/macos~dark.png differ