在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:mustafaibrahim989/MIBadgeButton-Swift开源软件地址:https://github.com/mustafaibrahim989/MIBadgeButton-Swift开源编程语言:Swift 94.9%开源软件介绍:MIBadgeButtonMIBadgeButton is badge button written in Swift with high UITableView/UICollectionView performance. ScreenshotsInstallationMIBadgeButton is available through CocoaPods, to install it simply add the following line to your Podfile:
Add MIBadgeButton to Storyboard or init with frame button.badgeString = "120"
Set EdgeInsets to change the default position of the badge (Optional) button.badgeEdgeInsets = UIEdgeInsetsMake(10, 0, 0, 15)
Change the badge text color and background color button.badgeTextColor = UIColor.blueColor()
button.badgeBackgroundColor = UIColor.redColor()
AuthorMustafa Ibrahim, [email protected] NotesDesigned for iOS 8. LicenseMIBadgeButton is available under the MIT license. See the LICENSE file for more info. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论