Latest 1.2.0
Homepage https://github.com/yonat/MockImagePicker
License MIT
Platforms ios 9.3, requires ARC
Dependencies MiniLayout
Authors

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 1.1.0

Manually:

Copy Sources/MockImagePicker.swift and MiniLayout.swift to your Xcode project.

TODO

  • [ ] implement cameraOverlayView

Meta

@yonatsharon

https://github.com/yonat/MockImagePicker

Latest podspec

{
    "name": "MockImagePicker",
    "version": "1.2.0",
    "summary": "Mock UIImagePickerController to simulate the camera in iOS simulator.",
    "homepage": "https://github.com/yonat/MockImagePicker",
    "screenshots": "https://raw.githubusercontent.com/yonat/MockImagePicker/master/Screenshots/MockImagePicker.png",
    "license": {
        "type": "MIT",
        "file": "LICENSE.txt"
    },
    "authors": {
        "Yonat Sharon": "[email protected]"
    },
    "social_media_url": "http://twitter.com/yonatsharon",
    "swift_version": "4.2",
    "platforms": {
        "ios": "9.3"
    },
    "requires_arc": true,
    "source": {
        "git": "https://github.com/yonat/MockImagePicker.git",
        "tag": "1.2.0"
    },
    "source_files": "Sources/*.swift",
    "dependencies": {
        "MiniLayout": []
    }
}

Pin It on Pinterest

Share This