SwiftAssetsPickerController 0.4.1

SwiftAssetsPickerController 0.4.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Sep 2018
SPMSupports SPM

Maintained by Maxim Bilan.



  • By
  • Maxim Bilan

SwiftAssetsPickerController

Version License Platform CocoaPods CocoaPods

A simple assets picker controller based on Photos framework. Supports iCloud photos and videos.

alt tag alt tag

Installation

CocoaPods:

pod 'SwiftAssetsPickerController'

Manual:

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

Using

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.