https://github.com/ackeecz/ackimagepicker
https://github.com/ackeecz/ackimagepicker
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ackeecz/ackimagepicker
- Owner: AckeeCZ
- License: mit
- Created: 2020-02-04T06:41:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-17T13:25:04.000Z (over 2 years ago)
- Last Synced: 2024-10-31T16:12:42.470Z (11 months ago)
- Language: Swift
- Size: 1.55 MB
- Stars: 7
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README


[](http://cocoapods.org/pods/ACKImagePicker)
[](https://github.com/Carthage/Carthage)
[](http://cocoapods.org/pods/ACKImagePicker)
[](http://cocoapods.org/pods/ACKImagePicker)ACKImagePicker lets users choose multiple photos from different albums in their media library with a native-like appearance.
![]()
## Installation
### CocoaPods
ACKImagePicker is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile:
```ruby
pod "ACKImagePicker", "~> 0.4.0"
```### Carthage
You can also use [Carthage](https://github.com/Carthage/Carthage). Specify this repo in your Cartfile:
```
github "AckeeCZ/ACKImagePicker" ~> 0.4.0
```## Usage
Simply initalize `ACKImagePicker` and present it:
```swift
let controller = ACKImagePicker()
present(controller, animated: true)
```To receive selected images, you can set `onImagesPicker` callback:
```swift
controller.onImagesPicked = { images in
showImagesInMyController()
// Dismiss `ACKImagePicker`
dismiss(animated: true)
}
```You can also limit number of images that an user can select by setting:
```swift
controller.maximumNumberOfImages = 3
```## Author
[Ackee](https://ackee.cz) team
## License
ACKImagePicker is available under the MIT license. See the LICENSE file for more info.
[1]: https://twitter.com/AckeeCZ