carousell / pickle

Carousell flavoured image picker with multiple photo selections.
https://carousell.github.com/pickle
Apache License 2.0
60 stars 25 forks source link

Configurable Parameters #23

Closed bcylin closed 6 years ago

bcylin commented 6 years ago

Add a struct for the parameters that ImagePickerConfigurable requires. It should make the customisation easier without creating an additional type.

var parameters = Pickle.Parameters()
parameters.allowedSelections = .limit(to: 4)
let picker = ImagePickerController(configuration: parameters)
carouselljenkins commented 6 years ago

@rance-attack, can you review this pull request?

carouselljenkins commented 6 years ago
1 Warning
:warning: Big PR

Generated by :no_entry_sign: Danger