An open API service indexing awesome lists of open source software.

https://github.com/maximbilan/swiftassetspickercontroller

A simple assets picker controller based on iOS 8 Photos framework. Supports iCloud photos and videos. It's written in Swift.
https://github.com/maximbilan/swiftassetspickercontroller

assets icloud ios photos supports-icloud-photos swift ui ui-components uikit uiviewcontroller

Last synced: about 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

# SwiftAssetsPickerController

[![Version](https://img.shields.io/cocoapods/v/SwiftAssetsPickerController.svg?style=flat)](http://cocoadocs.org/docsets/SwiftAssetsPickerController)
[![License](https://img.shields.io/cocoapods/l/SwiftAssetsPickerController.svg?style=flat)](http://cocoadocs.org/docsets/SwiftAssetsPickerController)
[![Platform](https://img.shields.io/cocoapods/p/SwiftAssetsPickerController.svg?style=flat)](http://cocoadocs.org/docsets/SwiftAssetsPickerController)
[![CocoaPods](https://img.shields.io/cocoapods/dt/SwiftAssetsPickerController.svg)](https://cocoapods.org/pods/SwiftAssetsPickerController)
[![CocoaPods](https://img.shields.io/cocoapods/dm/SwiftAssetsPickerController.svg)](https://cocoapods.org/pods/SwiftAssetsPickerController)

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

![alt tag](https://raw.github.com/maximbilan/SwiftAssetsPickerController/master/img/img1.png)
![alt tag](https://raw.github.com/maximbilan/SwiftAssetsPickerController/master/img/img2.png)

# 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.