-
Notifications
You must be signed in to change notification settings - Fork 678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor code to remove and improve all the things #39
Conversation
Index was never used
@@ -12,7 +12,7 @@ class BottomContainerView: UIView { | |||
|
|||
lazy var pickerButton: ButtonPicker = { [unowned self] in | |||
let pickerButton = ButtonPicker() | |||
pickerButton.setTitleColor(UIColor.whiteColor(), forState: .Normal) | |||
pickerButton.setTitleColor(.whiteColor(), forState: .Normal) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DOES THIS WORK? BECAUSE IT MADE ME A SUPER ERROR I DIDN'T KNOW HOW TO DEBUG!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😄
@@ -186,12 +188,14 @@ public class ImageGalleryView: UIView { | |||
let translation = gesture.translationInView(superview!) | |||
let velocity = gesture.velocityInView(superview!) | |||
|
|||
if gesture.state == UIGestureRecognizerState.Began { | |||
switch gesture.state { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice.
Refactor code to remove and improve all the things
No description provided.