nohana / NohanaImagePicker

A multiple image picker for iOS app.
Apache License 2.0
224 stars 57 forks source link

Added behavior for a long press on image cells. And added podspec back in. #110

Open crspybits opened 5 years ago

crspybits commented 5 years ago

The new member variable:

open var cellMainAction: CellMainAction? = .tapShowLargeImage

for NohanaImagePickerController allows a long press to be used to show the large images. In this case, a tap on the main part of the cell just changed the picked state.

I added this because in my case two different actions when tapping different parts of the cell seemed difficult for a user.

I've also added the Cocoapods podspec back in. Various people were wondering why it was removed (https://github.com/nohana/NohanaImagePicker/issues/101) and I needed it too.