Skip to content
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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

New features #12

wants to merge 4 commits into from

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
@daprice
Copy link
Owner

daprice commented Jul 26, 2023

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.

@@ -531,7 +590,7 @@ import UIKit
}
}

@objc func didPan(sender: UIPanGestureRecognizer) {
@objc public func didPan(sender: UIPanGestureRecognizer) {
Copy link
Author

@Ali72 Ali72 Jul 27, 2023

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) {
Copy link
Author

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

@Ali72
Copy link
Author

Ali72 commented Jul 27, 2023

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.

I removed all indentation and tabs

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.

2 participants