{"id":2475,"url":"https://github.com/mustafaibrahim989/MIBadgeButton-Swift","last_synced_at":"2025-08-03T00:31:49.303Z","repository":{"id":20137391,"uuid":"23407597","full_name":"mustafaibrahim989/MIBadgeButton-Swift","owner":"mustafaibrahim989","description":"iOS custom badge button.","archived":false,"fork":false,"pushed_at":"2020-11-30T03:09:16.000Z","size":573,"stargazers_count":342,"open_issues_count":14,"forks_count":80,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-11-18T04:38:27.580Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mustafaibrahim989.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-27T22:27:22.000Z","updated_at":"2023-12-22T13:09:23.000Z","dependencies_parsed_at":"2022-07-12T15:17:35.142Z","dependency_job_id":null,"html_url":"https://github.com/mustafaibrahim989/MIBadgeButton-Swift","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafaibrahim989%2FMIBadgeButton-Swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafaibrahim989%2FMIBadgeButton-Swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafaibrahim989%2FMIBadgeButton-Swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafaibrahim989%2FMIBadgeButton-Swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mustafaibrahim989","download_url":"https://codeload.github.com/mustafaibrahim989/MIBadgeButton-Swift/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228510701,"owners_count":17931751,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:16:14.666Z","updated_at":"2024-12-06T18:30:29.997Z","avatar_url":"https://github.com/mustafaibrahim989.png","language":"Swift","funding_links":[],"categories":["UI","Libs"],"sub_categories":["Badge","Other free courses","UI"],"readme":"# MIBadgeButton\n\nMIBadgeButton is badge button written in Swift with high UITableView/UICollectionView performance.\n\n## Screenshots\n\n![alt tag](https://github.com/mustafaibrahim989/MIBadgeButton-Swift/blob/master/screenshot.png)\n\n## Installation\n\nMIBadgeButton is available through [CocoaPods](http://cocoapods.org), to install\nit simply add the following line to your Podfile:\n  \n    # Swift 3\n    use_frameworks!\n    pod \"MIBadgeButton-Swift\", :git =\u003e 'https://github.com/mustafaibrahim989/MIBadgeButton-Swift.git', :branch =\u003e 'master'\n    \n    # Swift 2\n    use_frameworks!\n    pod \"MIBadgeButton-Swift\", :git =\u003e 'https://github.com/mustafaibrahim989/MIBadgeButton-Swift.git', :branch =\u003e 'swift2'\n\nAdd MIBadgeButton to Storyboard or init with frame\n\n```swift\n\nbutton.badgeString = \"120\"\n\n```\n\nSet EdgeInsets to change the default position of the badge (Optional)\n\n```swift\n\nbutton.badgeEdgeInsets = UIEdgeInsetsMake(10, 0, 0, 15)\n\n```\n\nChange the badge text color and background color\n\n```swift\n\nbutton.badgeTextColor = UIColor.blueColor()\nbutton.badgeBackgroundColor = UIColor.redColor()\n\n```\n\n## Author\n\nMustafa Ibrahim, mustafa.ibrahim989@gmail.com\n\nNotes\n============\n\nDesigned for iOS 8.\n\n## License\n\nMIBadgeButton is available under the MIT license. See the LICENSE file for more info.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmustafaibrahim989%2FMIBadgeButton-Swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmustafaibrahim989%2FMIBadgeButton-Swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmustafaibrahim989%2FMIBadgeButton-Swift/lists"}