Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

yonat/MockImagePicker

Open more actions menu

Repository files navigation

MockImagePicker

Mock UIImagePickerController to simulate the camera in iOS simulator.

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.3.1")
]

TODO

  • implement cameraOverlayView

Meta

@yonatsharon

https://github.com/yonat/MockImagePicker

About

Mock UIImagePickerController for testing camera based UI in simulator

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.