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.
- Host: GitHub
- URL: https://github.com/maximbilan/swiftassetspickercontroller
- Owner: maximbilan
- License: mit
- Created: 2015-05-10T21:01:37.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-12-17T03:13:28.000Z (over 7 years ago)
- Last Synced: 2024-09-18T19:05:45.241Z (almost 2 years ago)
- Topics: assets, icloud, ios, photos, supports-icloud-photos, swift, ui, ui-components, uikit, uiviewcontroller
- Language: Swift
- Homepage:
- Size: 4.39 MB
- Stars: 85
- Watchers: 5
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SwiftAssetsPickerController
[](http://cocoadocs.org/docsets/SwiftAssetsPickerController)
[](http://cocoadocs.org/docsets/SwiftAssetsPickerController)
[](http://cocoadocs.org/docsets/SwiftAssetsPickerController)
[](https://cocoapods.org/pods/SwiftAssetsPickerController)
[](https://cocoapods.org/pods/SwiftAssetsPickerController)
A simple assets picker controller based on Photos framework. Supports iCloud photos and videos.


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