Latest 0.0.7
Homepage https://github.com/blackho1e/mjCamera
License MIT
Platforms ios 8.0, requires ARC
Authors

mjCamera

A light weight & simple & easy camera for iOS by Swift.

[CocoaPods]()
[CocoaPods]()
Support
[Swift version]()
[CocoaPods]()

Installation & Requirements

This project requires Xcode 8 to run and compiles with swift 3.0

CameraViewController is available on CocoaPods. Add the following to your Podfile:

pod ‘mjCamera’

Usage

To use this component couldn’t be simpler. Add import CameraViewController to the top of you controller file.

let cameraViewController = CameraViewController(albumName: "mjCamera", saveToPhoneLibrary: true) { success, image, asset in
    if success {

    } else {
        guard let _ = image else {  //cancel
            self.dismiss(animated: true, completion: nil)
            return
        }
        // When the last photo button is clicked
    }
}
present(cameraViewController, animated: true, completion: nil)

License

mjCamera is released under the MIT license.
See LICENSE for details.

Latest podspec

{
    "name": "mjCamera",
    "version": "0.0.7",
    "summary": "A simple camera library",
    "homepage": "https://github.com/blackho1e/mjCamera",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Minju Kang": "[email protected]"
    },
    "source": {
        "git": "https://github.com/blackho1e/mjCamera.git",
        "tag": "0.0.7"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Classes/**/*.swift",
    "resources": [
        "Classes/Assets.xcassets",
        "Classes/**/*.xib",
        "Classes/*.lproj"
    ],
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This