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
what happened to this function?
buttonItem?.pp.setBadgeLabel(attributes: { (badgeLabel) in badgeLabel.font = UIFont.systemFont(ofSize: 13) badgeLabel.textColor = UIColor.blue })
in the last version and Swift 5 it gives me an error
Value of type 'PP' has no member 'setBadgeLabel'
The text was updated successfully, but these errors were encountered:
From what I gathered, it has been removed in favor of BadgeControl! See 1a7724d for more information.
Sorry, something went wrong.
@X901 Any solution found?
Not a solution, but a workaround:
Set the property textLabel public instead of private in PPBadgeControl
textLabel
PPBadgeControl
Convert the code, from:
to
buttonItem?.pp.badgeView.textLabel.font = UIFont.systemFont(ofSize: 13) buttonItem?.pp.badgeView.textLabel.textColor = UIColor.blue
my 2c,
@jkpang could you help ?
No branches or pull requests
what happened to this function?
in the last version and Swift 5
it gives me an error
The text was updated successfully, but these errors were encountered: