Skip to content

Delete Item Notification #280

@mhamidg

Description

@mhamidg

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions