Latest 1.0.1
Homepage https://github.com/Sroik/PhotoLibrary
License MIT
Platforms ios 8.0
Frameworks UIKit, Photos
Authors

swift photo library module

Podfile

To integrate PhotoLibrary into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '8.0'
use_frameworks!

pod 'PhotoLibrary', '~>1.0.1'

Usage example on Swift

let photoLibrary = PhotoLibrary()
self.photoLibrary.requestAuthorization({(authorized: Bool) in 
    if authorized {
        dispatch_async(dispatch_get_main_queue(), {
            //setup UI here
        })
    }
})

Latest podspec

{
    "name": "PhotoLibrary",
    "version": "1.0.1",
    "summary": "photo library",
    "description": "photo library using Photos framework",
    "homepage": "https://github.com/Sroik/PhotoLibrary",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Sroik": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/Sroik/PhotoLibrary.git",
        "tag": "1.0.1"
    },
    "frameworks": [
        "UIKit",
        "Photos"
    ],
    "source_files": "PhotoLibrary/Classes/PhotoLibraryModule/*.{swift}"
}

Pin It on Pinterest

Share This