Skip to content

Conversation

@miex0r
Copy link
Contributor

@miex0r miex0r commented Feb 3, 2017

It was useful for me to have a unique button and button layout for the dismissal of the thumbnail view

thumbnailsController.closeLayout = seeAllCloseLayout
} else if let closeButton = closeButton {
let seeAllCloseButton = UIButton(frame: CGRect(origin: CGPoint.zero, size: closeButton.bounds.size))
seeAllCloseButton.setImage(closeButton.image(for: UIControlState()), for: UIControlState())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not related to this PR but this should be .normal instead of UIControlState()... will fix it at some point

@zfoltin
Copy link
Collaborator

zfoltin commented Feb 3, 2017

LGTM 👍 Thanks @miex0r for contributing 👌

case .seeAllCloseButtonMode(let buttonMode):

switch buttonMode {

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra space

@miex0r
Copy link
Contributor Author

miex0r commented Feb 3, 2017

removed the extra line.

NP @zfoltin - glad to help. love the plugin so far.

another PR i may put in next week will be configuration around the thumbnail collection view cell cards. It would be cool to customize the style of those (custom shadows,margins,etc).

@zfoltin zfoltin merged commit a4c7735 into Krisiacik:master Feb 4, 2017
@zfoltin
Copy link
Collaborator

zfoltin commented Feb 4, 2017

👍 looking forward to the next PR :) There is a lot that could be improved on the thumbnails view

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants