{"id":28378410,"url":"https://github.com/rickytan/rticonbutton","last_synced_at":"2025-06-24T08:04:03.754Z","repository":{"id":46104593,"uuid":"44376314","full_name":"rickytan/RTIconButton","owner":"rickytan","description":"A Interface Builder configurable UIButton with a image icon","archived":false,"fork":false,"pushed_at":"2019-01-21T05:27:20.000Z","size":240,"stargazers_count":41,"open_issues_count":1,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-06T02:30:45.486Z","etag":null,"topics":["alignment","button","icon","icon-position","uibutton"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/rickytan.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":"2015-10-16T09:43:19.000Z","updated_at":"2023-03-10T11:55:07.000Z","dependencies_parsed_at":"2022-09-21T12:45:30.407Z","dependency_job_id":null,"html_url":"https://github.com/rickytan/RTIconButton","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/rickytan/RTIconButton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickytan%2FRTIconButton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickytan%2FRTIconButton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickytan%2FRTIconButton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickytan%2FRTIconButton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rickytan","download_url":"https://codeload.github.com/rickytan/RTIconButton/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickytan%2FRTIconButton/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261632031,"owners_count":23187268,"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":["alignment","button","icon","icon-position","uibutton"],"created_at":"2025-05-30T02:06:27.463Z","updated_at":"2025-06-24T08:04:03.745Z","avatar_url":"https://github.com/rickytan.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RTIconButton\n\n[![CI Status](http://img.shields.io/travis/rickytan/RTIconButton.svg?style=flat)](https://travis-ci.org/rickytan/RTIconButton)\n[![Version](https://img.shields.io/cocoapods/v/RTIconButton.svg?style=flat)](http://cocoapods.org/pods/RTIconButton)\n[![License](https://img.shields.io/cocoapods/l/RTIconButton.svg?style=flat)](http://cocoapods.org/pods/RTIconButton)\n[![Platform](https://img.shields.io/cocoapods/p/RTIconButton.svg?style=flat)](http://cocoapods.org/pods/RTIconButton)\n\nThis is a drop-in replacement for `UIButton`, which support convenient configuration for image icon's position and icon title margin.\n\nIt also support control centent aligns.\n\n**NOTE:** To support IB, you must set use_frameworks! in your Podfile.\n\n![S1](./ScreenShot/1.png)\n\n## Usage\n\n1. Drag and drop a `UIButton` to your controller\n2. set the **Class** to `RTIconButton`\n3. set the icon position, icon margin and icon size. If size is not specified, it will displayed in the image natural size.\n\n![S2](./ScreenShot/2.png)\n\n![S3](./ScreenShot/3.png)\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Requirements\n\n- **UIKit**\n- **Xcode 6**\n\n## Installation\n\nRTIconButton is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"RTIconButton\"\n```\n\n## License\n\nRTIconButton is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickytan%2Frticonbutton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frickytan%2Frticonbutton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickytan%2Frticonbutton/lists"}