All Projects → tezpark → TezButton

tezpark / TezButton

Licence: MIT license
TezButton is include Title/Backgound Color, border, corner radius options and Bottom/Left label, Include data button.

Programming Languages

objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to TezButton

AnimatedButton
UIButton subclass which performs animation on selection
Stars: ✭ 16 (-20%)
Mutual labels:  uibutton, button, uibutton-subclass
Hhcustomcorner
Awesome library to customize corners of UIView and UIButton. Now you can customize each corner differently
Stars: ✭ 36 (+80%)
Mutual labels:  custom, uibutton, button
Progressbutton
Custom ProgressButton
Stars: ✭ 52 (+160%)
Mutual labels:  custom, uibutton, button
Spbutton
自定义按钮,图片可在上、左、下、右,可调整图文间距,新增属性支持storyBoard/xib,系统按钮的所有属性和方法依然生效
Stars: ✭ 91 (+355%)
Mutual labels:  uibutton, button
Pmsuperbutton
🔥 PMSuperButton is a powerful UIButton coming from the countryside, but with super powers! 😎
Stars: ✭ 653 (+3165%)
Mutual labels:  uibutton, button
Shinebutton
This is a UI lib for Android. Effects like shining.
Stars: ✭ 4,105 (+20425%)
Mutual labels:  custom, button
Emspinnerbutton
UIButton sublcass with loading animation
Stars: ✭ 117 (+485%)
Mutual labels:  uibutton, button
Transitionbutton
UIButton sublass for loading and transition animation.
Stars: ✭ 1,124 (+5520%)
Mutual labels:  uibutton, button
Lgbutton
A fully customisable subclass of the native UIControl which allows you to create beautiful buttons without writing any line of code.
Stars: ✭ 2,216 (+10980%)
Mutual labels:  uibutton, button
Aiflatswitch
Nicely animated flat design switch alternative to UISwitch
Stars: ✭ 904 (+4420%)
Mutual labels:  custom, button
SSSwiftUISpinnerButton
SSSwiftUISpinnerButton is a collection of various spinning animations for buttons in SwiftUI.
Stars: ✭ 37 (+85%)
Mutual labels:  button, custombutton
RTIconButton
A Interface Builder configurable UIButton with a image icon
Stars: ✭ 40 (+100%)
Mutual labels:  uibutton, button
ng2-go-top-button
A simple customizable go-top-button component for Angular projects.
Stars: ✭ 18 (-10%)
Mutual labels:  button
CustomRPC
Set a custom rich presence status on Discord
Stars: ✭ 25 (+25%)
Mutual labels:  custom
RevealLayout
揭示效果布局,可以指定2个子布局,以圆形揭示效果切换选中状态
Stars: ✭ 118 (+490%)
Mutual labels:  button
wp-ispconfig3
Wordpress ISPConfig plugin with Gutenberg support
Stars: ✭ 28 (+40%)
Mutual labels:  custom
Smartthings
Custom DTHs for Smartthings
Stars: ✭ 44 (+120%)
Mutual labels:  custom
CustomTkinter
A modern and customizable python UI-library based on Tkinter
Stars: ✭ 1,626 (+8030%)
Mutual labels:  custom
Coroutines-Animations
Use the power of kotlin coroutines to execute your android animations
Stars: ✭ 31 (+55%)
Mutual labels:  custom
react-native-fresh-refresh
custom pull to refresh component
Stars: ✭ 147 (+635%)
Mutual labels:  custom

Platform GitHub language Version License Travis build

TezButton

Custom UIButton

Summary

  • TezButton is easily support customized button for using.
  • Include button type is:
    • Title, Font
    • Rounding corner
    • Bolder
    • Underline
    • Right image/ Left label
    • Top image / left label
  • Support the Inspector Builder

Screenshot

example

Installation

CocoaPods

TezButton is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "TezButton"

Usage

Programmatically

// All options (Tezbutton superclass)
    TezButton* allOptBtn = [[TezButton alloc] initWithFrame:frame
                                             roundingCorner:YES
                                                allBoldText:YES
                                                     border:YES
                                                 titleColor:colorText
                                            backgroundColor:colorWhite
                                              magnification:1
                                                   fontSize:12
                                               cornerRadius:8
                                               cornerOption:UIRectCornerAllCorners];
    [allOptBtn setTitle:@"TezButton Superclass (All option)" forState:UIControlStateNormal];
    
    // fontsize, bold option
    GreenButton* titleOptBtn = [[GreenButton alloc] initWithFrame:frame
                                                         fontSize:14
                                                      allBoldText:YES];
    [titleOptBtn setTitle:@"FontSize, Bold" forState:UIControlStateNormal];
    
    // Title, bold option
    RedButton* titleOptBtn2 = [[RedButton alloc] initWithFrame:frame
                                                         title:@"Title, Bold"
                                                   allBoldText:YES];
    
    // Title, font option
    SkyBlueButton* titleOptBtn3 = [[SkyBlueButton alloc] initWithFrame:frame
                                                                 title:@"Title, Font"
                                                                  font:[UIFont boldSystemFontOfSize:12]];
    
    // titleColor, fontsize, bold option
    OrangeButton* titleOptBtn4 = [[OrangeButton alloc] initWithFrame:frame
                                                          titleColor:colorText
                                                            fontSize:14
                                                         allBoldText:YES];
    [titleOptBtn4 setTitle:@"TitleColor, FontSize, Bold" forState:UIControlStateNormal];
    
    // Corner, Radius option
    BlueButton* cornerOptBtn = [[BlueButton alloc] initWithFrame:frame
                                                  roundingCorner:YES
                                                    cornerRadius:15];
    [cornerOptBtn setTitle:@"Corner, Radius" forState:UIControlStateNormal];
    
    // Corner, RectCorner, Radius options
    YellowButton* cornerOptBtn2 = [[YellowButton alloc] initWithFrame:frame
                                                       roundingCorner:YES
                                                         cornerRadius:15
                                                         cornerOption:UIRectCornerTopLeft|UIRectCornerBottomRight];
    [cornerOptBtn2 setTitle:@"Corner, RectCorner, Radius" forState:UIControlStateNormal];
    
    // Corner, Radius, Bolder
    PurpleButton* cornerOptBtn3 = [[PurpleButton alloc] initWithFrame:frame
                                                       roundingCorner:YES
                                                         cornerRadius:15
                                                               border:YES];
    [cornerOptBtn3 setTitle:@"Corner, Radius, Bolder" forState:UIControlStateNormal];
    
    
    // Bottom label button
    BottomLabelButton* bottomLabelBtn = [[BottomLabelButton alloc] initWithFrame:frame contentGap:5];
    
    // Left label button
    LeftLabelButton* leftLabelButton = [[LeftLabelButton alloc] initWithFrame:frame contentGap:5];
    
    // Include Data option
    IncludeDataButton* includeDataBtn = [[IncludeDataButton alloc] initWithFrame:frame];
    [includeDataBtn setData:[NSDictionary new]];
    
    // Underline option
    UnderlineButton* underlineBtn = [[UnderlineButton alloc] initWithFrame:frame];

Inspector builder

inspector_builder_tezbutton

License

The MIT License (MIT)

Copyright (c) 2017 Taesun Park

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].