Latest 1.0.0
Homepage https://github.com/AlexLittlejohn/Celluloid
License MIT
Platforms ios 10.0, requires ARC
Authors

A view that allows you to control many aspects of the iOS camera.


Installation & Requirements

This project requires Xcode 7 to run and compiles with swift 2.2

Usage

import Celluloid

class ViewController: UIViewController {

    let cameraView = CelluloidView()

    override func viewDidLoad() {
        super.viewDidLoad()
        view.addSubview(cameraView)
    }

    override func viewWillAppear(animated: Bool) {
        super.viewWillAppear(animated)

        do {
            try cameraView.startCamera() { success in }
        } catch {

        }
    }

    override func viewWillLayoutSubviews() {
        super.viewWillLayoutSubviews()
        cameraView.frame = view.bounds
    }
}

License

Celluloid is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "Celluloid",
    "version": "1.0.0",
    "summary": "A view that allows you to control many aspects of the iOS camera",
    "source": {
        "git": "https://github.com/AlexLittlejohn/Celluloid.git",
        "tag": "1.0.0"
    },
    "requires_arc": true,
    "platforms": {
        "ios": "10.0"
    },
    "license": "MIT",
    "source_files": "Celluloid/**/*.{swift}",
    "homepage": "https://github.com/AlexLittlejohn/Celluloid",
    "authors": {
        "Alex Littlejohn": "[email protected]"
    }
}

Pin It on Pinterest

Share This