简单的UIButton按钮动画效果iOS源码
2014-12-09 09:41
417 查看
这个是简单的UIButton按钮动画效果案例,源码,简单的UIButton按钮动画,可以自定义button属性。 效果图:
<ignore_js_op>
![](http://img.662p.com/ios/forum/201411/21/133544jk3rfj99j6fjort6.jpg)
使用方法:
使用时把ButtonAnimations.h 和.m文件导入新工程即可
ButtonAnimations *btView = [[ButtonAnimations alloc] initWithFrame:CGRectMake(10, 150, self.view.bounds.size.width, 80)];
[self.view addSubview:btView];
[btView setNeedsDisplay:@[@"50",@"100",@"200"]];
[btView sendCar:^(NSString *sendType, NSString *sendPrice) {
NSLog(@"sendType:%@ sendPrice:%@",sendType, sendPrice);
}];
详细说明:http://ios.662p.com/thread-2272-1-1.html
<ignore_js_op>
![](http://img.662p.com/ios/forum/201411/21/133544jk3rfj99j6fjort6.jpg)
使用方法:
使用时把ButtonAnimations.h 和.m文件导入新工程即可
ButtonAnimations *btView = [[ButtonAnimations alloc] initWithFrame:CGRectMake(10, 150, self.view.bounds.size.width, 80)];
[self.view addSubview:btView];
[btView setNeedsDisplay:@[@"50",@"100",@"200"]];
[btView sendCar:^(NSString *sendType, NSString *sendPrice) {
NSLog(@"sendType:%@ sendPrice:%@",sendType, sendPrice);
}];
详细说明:http://ios.662p.com/thread-2272-1-1.html
相关文章推荐
- ios开发学习--动画(Animation)效果源码分享--系列教程2
- ios开发学习--按钮(Button)效果源码分享
- Mono For Android中简单实现按钮的动画效果
- iOS-实现简单的动画效果
- ios气泡动画效果的简单实现
- ios开发学习--按钮(Button)效果源码分享--系列教程1
- ios开发学习--按钮(Button)效果源码分享--系列教程2
- iOS 动画效果。简单的提示消失
- iOS cocos2d实现自定义button(按钮特效)控件效果源码
- 【iOS开发-8】UIButton类型属性简单归纳以及自定义按钮的设置
- ios开发学习--按钮(Button)效果源码分享--系列教程3
- ios开发学习--按钮(Button)效果源码分享--系列教程2
- ios开发学习--动画(Animation)效果源码分享
- iOS添加到购物车的简单动画效果
- ios开发学习--动画(Animation)效果源码分享--系列教程1
- ios开发学习--按钮(Button)效果源码分享--系列教程1
- ios开发学习--动画(Animation)效果源码分享--系列教程1
- iOS-实现简单的动画效果
- iOS --用CABasicAnimation实现简单的动画效果
- 论坛源码推荐(6月16日):类似iOS 7的锁屏密码动画效果 漂亮的圆形加载指示条