-
Notifications
You must be signed in to change notification settings - Fork 38
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
New features #12
base: main
Are you sure you want to change the base?
New features #12
Conversation
make didPan and didTap gestures public to support user custom pan/tap gestures from outside of the pod
feature: add an image to the slider feature: set position for slider's image style: add the image to each slider in the main storyboard
Thanks, I’m really excited to add this feature! Can you do a version that leaves the indentation as tabs? I can’t really see what changes you’ve made when the diff shows almost every line being rewritten. |
This reverts commit 8398738.
@@ -531,7 +590,7 @@ import UIKit | |||
} | |||
} | |||
|
|||
@objc func didPan(sender: UIPanGestureRecognizer) { | |||
@objc public func didPan(sender: UIPanGestureRecognizer) { |
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.
when didPan
function is public, I can set my custom drag gesture (like other view drag gestures) into the slider
@@ -588,7 +647,7 @@ import UIKit | |||
} | |||
} | |||
|
|||
@objc func didTap(sender: UITapGestureRecognizer) { | |||
@objc public func didTap(sender: UITapGestureRecognizer) { |
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.
when didTap
function is public, I can set my custom tap gesture (like other view taps) into the slider
I removed all indentation and tabs |
feature: support custom pan and tab gesture
feature: disable slider drag option
feature: add an image to the slider
feature: set position for slider's image
style: add the image to each slider in the main storyboard