hyperoslo / hyperoslo/Lightbox

Delete Item Notification

Open
#280 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
1.7k
Forks
332
PR merge metrics
No merged PRs in 30d

Description

This is awesome library to show images.

I am missing the one of the extra functionality, which is more helpful for the developers. If you add the delete Notification (delegate). To delete item notification if you can implement this in function just before deleting the item from "initialImages" collection.

Method:
`func headerView(_ headerView: HeaderView, didPressDeleteButton deleteButton: UIButton) {`

Notification/Delegate:
`pageDelegate?.lightboxController(self, willDeleteItem: initialImages[prevIndex], at: prevIndex)`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.