Latest 1.0
Homepage https://github.com/DarkySwift/LittleOwl
License MIT
Platforms ios 8.0
Authors

Build Status
Cocoa Pod
Carthage compatible
Language: Swift
codecov
[Platform]()
License: MIT
Author: carlos21

Requirements

  • Swift 3.2 or later
  • iOS 8.0 or later

Carthage

  • Insert github "DarkySwift/LittleOwl" ~> 1.0 to your Cartfile.
  • Run carthage update.
  • Link your app with LittleOwl in Carthage/Build.

CocoaPods

  • Insert pod 'LittleOwl', '~> 1.0' to your Podfile.
  • Run pod install.

Prerequisites:

As of iOS 10, Apple requires the additon of the NSCameraUsageDescription and NSMicrophoneUsageDescription strings to the info.plist of your application. Example:

<key>NSCameraUsageDescription</key>
<string>To Take Photos and Video</string>
<key>NSMicrophoneUsageDescription</key>
<string>To Record Audio With Video</string>

Getting Started:

If you install SwiftyCam from Cocoapods, be sure to import the module into your View Controller:

import LittleOwl

LittleOwl is a drop-in convenience framework. To create a Camera instance, just add this:

let cameraController = CameraViewController(type: .video(10))
cameraController.didSelectVideo = { url in
    cameraController.dismiss(animated: true, completion: nil)
}

or

let cameraController = CameraViewController(type: .photo)
cameraController.didSelectPhoto = { image in
    cameraController.dismiss(animated: true, completion: nil)
}

Image 1
Image 2

That is all that is required to setup the AVSession for photo and video capture. LittleOwl will prompt the user for permission to use the camera/microphone, and configure both the device inputs and outputs.

Author

Carlos Duclós

License

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

Latest podspec

{
    "name": "LittleOwl",
    "version": "1.0",
    "summary": "A customized camera controller using AVFoundation",
    "resources": "LittleOwl/Assets/*",
    "swift_version": "4.1",
    "description": "A customized camera controller using AVFoundation with a cool button animation as Snapchat has.",
    "homepage": "https://github.com/DarkySwift/LittleOwl",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Carlos Duclos": "[email protected]"
    },
    "source": {
        "git": "https://github.com/DarkySwift/LittleOwl.git",
        "tag": "1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "LittleOwl/Classes/**/*",
    "resource_bundles": {
        "Owl": [
            "LittleOwl/Assets/**/*.{storyboard,xib,xcassets,imageset,png,jpg}"
        ]
    }
}

Pin It on Pinterest

Share This