Latest 1.0.0
Homepage https://github.com/aizexin/AISpringButton
License MIT License
Platforms ios 7.0, requires ARC
Frameworks Foundation, UIKit
Authors

实现弹簧效果按钮
使用方法

AISpringButton *btn = [[AISpringButton alloc]initWithFrame:CGRectMake(0, 0, 100, 182)];
btn.center = self.view.center;
//标题的方向
btn.titleDirection = TitleDirection_bottom;
[btn setTitle:@"我是标题"];
[btn setNormalImageName:@"deng" andSelectedImageName:@"deng"];
[btn addTarget:self action:@selector(onClickBtn:) forControlEvents:(UIControlEventTouchUpInside)];
[self.view addSubview:btn];

image

Latest podspec

{
    "name": "AISpringButton",
    "version": "1.0.0",
    "summary": "A button view used on iOS.",
    "description": "It is a button view used on iOS, which implement by Objective-C.",
    "homepage": "https://github.com/aizexin/AISpringButton",
    "license": "MIT License",
    "authors": {
        "u827eu6cfdu946b": "[email protected]"
    },
    "source": {
        "git": "https://github.com/aizexin/AISpringButton.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "AISpringButton/*",
    "frameworks": [
        "Foundation",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This