Krisiacik / ImageViewer

An image viewer à la Twitter
MIT License
2.53k stars 385 forks source link

Add delegate method for delete confirmation #234

Open robertcrabtree opened 4 years ago

robertcrabtree commented 4 years ago

Add delegate method shouldRemoveGalleryItem so users can be presented with an alert prior to deleting an image. shouldRemoveGalleryItem has a default implementation so that existing users of this library remain unaffected.