{"id":16283506,"url":"https://github.com/tezpark/tezbutton","last_synced_at":"2025-09-08T05:33:23.257Z","repository":{"id":56924135,"uuid":"83190375","full_name":"tezpark/TezButton","owner":"tezpark","description":"TezButton is include Title/Backgound Color, border, corner radius options and Bottom/Left label, Include data button.","archived":false,"fork":false,"pushed_at":"2019-05-18T11:20:35.000Z","size":145,"stargazers_count":20,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-29T14:52:00.691Z","etag":null,"topics":["button","custom","custombutton","ios","objc","objective-c","uibutton","uibutton-subclass"],"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/tezpark.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":"2017-02-26T07:12:42.000Z","updated_at":"2019-11-22T05:48:32.000Z","dependencies_parsed_at":"2022-08-21T05:20:49.094Z","dependency_job_id":null,"html_url":"https://github.com/tezpark/TezButton","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tezpark%2FTezButton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tezpark%2FTezButton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tezpark%2FTezButton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tezpark%2FTezButton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tezpark","download_url":"https://codeload.github.com/tezpark/TezButton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232282918,"owners_count":18499331,"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":["button","custom","custombutton","ios","objc","objective-c","uibutton","uibutton-subclass"],"created_at":"2024-10-10T19:13:36.914Z","updated_at":"2025-01-03T03:09:07.944Z","avatar_url":"https://github.com/tezpark.png","language":"Objective-C","readme":"[![Platform](https://img.shields.io/cocoapods/p/TezButton.svg?style=flat)](http://cocoapods.org/pods/TezButton)\n[![GitHub language](https://img.shields.io/badge/language-objective--c-6BAEE4.svg)]()\n[![Version](https://img.shields.io/cocoapods/v/TezButton.svg?style=flat)](http://cocoapods.org/pods/TezButton)\n[![License](https://img.shields.io/cocoapods/l/TezButton.svg?style=flat)](http://cocoapods.org/pods/TezButton)\n[![Travis build](https://travis-ci.org/tezpark/TezButton.svg?branch=master)](https://travis-ci.org/tezpark/TezButton)\n\n# TezButton\nCustom UIButton\n\n## Summary\n* TezButton is easily support customized button for using. \n* Include button type is:\n  * Title, Font\n  * Rounding corner\n  * Bolder\n  * Underline\n  * Right image/ Left label\n  * Top image / left label\n* Support the Inspector Builder\n## Screenshot\n![example](https://cloud.githubusercontent.com/assets/389004/25770963/5abfdf1c-327e-11e7-8432-187f28a3bb81.png)\n\n\n## Installation\n#### CocoaPods\nTezButton is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"TezButton\"\n```\n\n## Usage\n### Programmatically\n```objective-c\n// All options (Tezbutton superclass)\n    TezButton* allOptBtn = [[TezButton alloc] initWithFrame:frame\n                                             roundingCorner:YES\n                                                allBoldText:YES\n                                                     border:YES\n                                                 titleColor:colorText\n                                            backgroundColor:colorWhite\n                                              magnification:1\n                                                   fontSize:12\n                                               cornerRadius:8\n                                               cornerOption:UIRectCornerAllCorners];\n    [allOptBtn setTitle:@\"TezButton Superclass (All option)\" forState:UIControlStateNormal];\n    \n    // fontsize, bold option\n    GreenButton* titleOptBtn = [[GreenButton alloc] initWithFrame:frame\n                                                         fontSize:14\n                                                      allBoldText:YES];\n    [titleOptBtn setTitle:@\"FontSize, Bold\" forState:UIControlStateNormal];\n    \n    // Title, bold option\n    RedButton* titleOptBtn2 = [[RedButton alloc] initWithFrame:frame\n                                                         title:@\"Title, Bold\"\n                                                   allBoldText:YES];\n    \n    // Title, font option\n    SkyBlueButton* titleOptBtn3 = [[SkyBlueButton alloc] initWithFrame:frame\n                                                                 title:@\"Title, Font\"\n                                                                  font:[UIFont boldSystemFontOfSize:12]];\n    \n    // titleColor, fontsize, bold option\n    OrangeButton* titleOptBtn4 = [[OrangeButton alloc] initWithFrame:frame\n                                                          titleColor:colorText\n                                                            fontSize:14\n                                                         allBoldText:YES];\n    [titleOptBtn4 setTitle:@\"TitleColor, FontSize, Bold\" forState:UIControlStateNormal];\n    \n    // Corner, Radius option\n    BlueButton* cornerOptBtn = [[BlueButton alloc] initWithFrame:frame\n                                                  roundingCorner:YES\n                                                    cornerRadius:15];\n    [cornerOptBtn setTitle:@\"Corner, Radius\" forState:UIControlStateNormal];\n    \n    // Corner, RectCorner, Radius options\n    YellowButton* cornerOptBtn2 = [[YellowButton alloc] initWithFrame:frame\n                                                       roundingCorner:YES\n                                                         cornerRadius:15\n                                                         cornerOption:UIRectCornerTopLeft|UIRectCornerBottomRight];\n    [cornerOptBtn2 setTitle:@\"Corner, RectCorner, Radius\" forState:UIControlStateNormal];\n    \n    // Corner, Radius, Bolder\n    PurpleButton* cornerOptBtn3 = [[PurpleButton alloc] initWithFrame:frame\n                                                       roundingCorner:YES\n                                                         cornerRadius:15\n                                                               border:YES];\n    [cornerOptBtn3 setTitle:@\"Corner, Radius, Bolder\" forState:UIControlStateNormal];\n    \n    \n    // Bottom label button\n    BottomLabelButton* bottomLabelBtn = [[BottomLabelButton alloc] initWithFrame:frame contentGap:5];\n    \n    // Left label button\n    LeftLabelButton* leftLabelButton = [[LeftLabelButton alloc] initWithFrame:frame contentGap:5];\n    \n    // Include Data option\n    IncludeDataButton* includeDataBtn = [[IncludeDataButton alloc] initWithFrame:frame];\n    [includeDataBtn setData:[NSDictionary new]];\n    \n    // Underline option\n    UnderlineButton* underlineBtn = [[UnderlineButton alloc] initWithFrame:frame];\n```\n\n### Inspector builder\n![inspector_builder_tezbutton](https://user-images.githubusercontent.com/389004/57968756-791eb400-79a9-11e9-8982-96979fff33f2.png)\n\n## License\nThe MIT License (MIT)\n\nCopyright (c) 2017 Taesun Park\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftezpark%2Ftezbutton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftezpark%2Ftezbutton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftezpark%2Ftezbutton/lists"}