{"id":20620905,"url":"https://github.com/irons163/ircustomiconbutton","last_synced_at":"2025-03-06T23:12:38.069Z","repository":{"id":84861207,"uuid":"221650236","full_name":"irons163/IRCustomIconButton","owner":"irons163","description":"Convenient Icon Button for iOS.","archived":false,"fork":false,"pushed_at":"2019-11-14T08:55:51.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T05:24:13.477Z","etag":null,"topics":["custombutton","ios","objcective-c"],"latest_commit_sha":null,"homepage":"","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/irons163.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-14T08:41:15.000Z","updated_at":"2019-12-31T05:17:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"c37e0d93-5d59-4ae0-a718-ac0a9744167f","html_url":"https://github.com/irons163/IRCustomIconButton","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irons163%2FIRCustomIconButton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irons163%2FIRCustomIconButton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irons163%2FIRCustomIconButton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irons163%2FIRCustomIconButton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irons163","download_url":"https://codeload.github.com/irons163/IRCustomIconButton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242298974,"owners_count":20104922,"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":["custombutton","ios","objcective-c"],"created_at":"2024-11-16T12:16:02.001Z","updated_at":"2025-03-06T23:12:38.063Z","avatar_url":"https://github.com/irons163.png","language":"Objective-C","readme":"# IRCustomIconButton\n\n## Install\n### Git\n- Git clone this project.\n- Copy this project into your own project.\n\n### Donwload\n- Download `IRCustomIconButton.h` and `IRCustomIconButton.m`.\n- Copy these two files into your own project.\n\n## Usage\n\n@property (nonatomic, assign) IBInspectable UIViewContentMode imageViewContentMode;\n- Set UIViewContentMode to the imageView of button.\n\n@property (nonatomic, assign) IBInspectable NSInteger iconContentMode;\n- Set iconContentMode to button.\n```objc\ntypedef NS_ENUM(NSInteger, IconContentMode) {\n    IconContentModeCenter       = 0,\n    IconContentModeLeft,\n    IconContentModeRight\n};\n```\n\n@property (nonatomic, assign) IBInspectable CGSize iconSizePersent; // \u003e0\n- Set iconSizePersent to button.\n\n@property (nonatomic, assign) IBInspectable CGFloat cornerRadius;\n- Set cornerRadius to button.\n\n@property (nonatomic, assign) IBInspectable CGFloat borderWidth;\n- Set borderWidth to the border of button.\n\n@property (nonatomic, strong) IBInspectable UIColor *borderColor;\n- Set UIColor to the border of button.\n\n@property (nonatomic, assign) IBInspectable CGFloat titleEdgeTop;\n\n@property (nonatomic, assign) IBInspectable CGFloat titleEdgeLeft;\n\n@property (nonatomic, assign) IBInspectable CGFloat titleEdgeBottom;\n\n@property (nonatomic, assign) IBInspectable CGFloat titleEdgeRight;\n- Set titleEdge to button.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firons163%2Fircustomiconbutton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firons163%2Fircustomiconbutton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firons163%2Fircustomiconbutton/lists"}