Swift Package Index


Mock UIImagePickerController for testing camera based UI in simulator


  • The latest stable release is 1.2.5. Released about 1 year ago.
  • The last commit to master was 8 months ago.

Swift Version Compatibility

  • 1.2.5 and master
    5.3
    5.2
    5.1
    5.0
    4.2
Full build results

Platform Compatibility

  • 1.2.5 and master
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS
Full build results

MockImagePicker

Swift Version Build Status License CocoaPods Compatible
Platform PRs Welcome

Usage

#if targetEnvironment(simulator)
    import MockImagePicker
    typealias UIImagePickerController = MockImagePicker
    typealias UIImagePickerControllerDelegate = MockImagePickerDelegate
#endif

Requirements

  • iOS 9.3+
  • Xcode 9

Installation

CocoaPods:

pod 'MockImagePicker'

Legacy versions:

Swift version MockImagePicker version
4.1 (Xcode 9.4) pod 'MiniLayout', '~> 1.2.1'pod 'MockImagePicker', '~> 1.1.0'

Swift Package Manager:

dependencies: [
    .package(url: "https://github.com/yonat/MockImagePicker", from: "1.2.5")
]

TODO

  • implement cameraOverlayView

Meta

@yonatsharon

https://github.com/yonat/MockImagePicker