We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
Have successfully added this control to an Obj C project but am unable to see the func set(progress: Int, animated: Bool) from my class.
Is this a limitation or is there workaround to get the control to animate?
The text was updated successfully, but these errors were encountered:
get same problem
Sorry, something went wrong.
There's probably a better way of doing this, but I made a swift extension with an @objc annotation, and a wrapper function:
import CHIPageControl @objc extension CHIBasePageControl { func animate(progress: NSInteger, animated: Bool) { self.set(progress: progress, animated: animated) } }
You could also go into CHIBasePageControl.swift and add the @objc annotation to set(progress: Int, animated: Bool)
set(progress: Int, animated: Bool)
No branches or pull requests
Hello,
Have successfully added this control to an Obj C project but am unable to see the func set(progress: Int, animated: Bool) from my class.
Is this a limitation or is there workaround to get the control to animate?
The text was updated successfully, but these errors were encountered: