- July 11, 2025
- Mins Read
Mock UIImagePickerController to simulate the camera in iOS simulator.
#if targetEnvironment(simulator)
import MockImagePicker
typealias UIImagePickerController = MockImagePicker
typealias UIImagePickerControllerDelegate = MockImagePickerDelegate
#endif
pod ‘MockImagePicker’
Legacy versions:
Swift version | MockImagePicker version |
---|---|
4.1 (Xcode 9.4) | pod 'MiniLayout', '~> 1.2.1' pod 'MockImagePicker', '~> 1.1.0' |
dependencies: [
.package(url: “https://github.com/yonat/MockImagePicker”, from: “1.3.1”)
]
implement cameraOverlayView
A SwiftUI View that emits confetti with user-defined shapes, images, and text.
A colour wheel made all in SwiftUI. There are 2 different colour wheels to choose from. The first main one ...
A color picker implementation with color wheel appearance written in plain SwiftUI. It is compatible with UIColor and NSColor.
This repository is no longer maintained. Here's why: with the release of iOS 16 SwiftUI now enables most of the ...