iOS Swift AssetsPickerController

A simple assets picker controller based on iOS 8 Photos framework. Supports iCloud photos and videos. It’s written in Swift.

Installation:

Manual:

Copy AssetsPickerController.swift and AssetsPickerGridController.swift to your project. Also framework uses CheckMarkView, you can found here.

Cocoapods:

pod 'SwiftAssetsPickerController'

How to use

It’s really simple. Just see the example:

let assetsPickerController = AssetsPickerController() assetsPickerController.didSelectAssets = {(assets: Array) -> () in 
println(assets)
}
let navigationController = UINavigationController(rootViewController: rootListAssets) presentViewController(navigationController, animated: true, completion: nil)

License

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


Originally published at github.com.