码迷,mamicode.com
首页 >  
搜索关键字:uiview 过渡动画    ( 3119个结果
IOS 控件 - 去除 tableView 多余的横线
// 为 tableView 添加footview,去掉多余的横线。- (void)setTableFooterView:(UITableView *)tb { if (!tb) { return; } UIView *view = [[UIView allo...
分类:移动开发   时间:2014-12-08 10:26:20    阅读次数:275
tableview小结-初学者的问题
初学者的问题主要集中在,下面几个问题:一、几个函数总是不被调用:例如:[objc]view plaincopy-(UIView*)tableView:(UITableView*)tableViewviewForHeaderInSection:(NSInteger)section;这个代理不被调用的种...
分类:其他好文   时间:2014-12-07 22:54:24    阅读次数:290
UIView 旋转动画
floatbegainAngle=0.0f;CGAffineTransformafterAngle=CGAffineTransformMakeRotation(begainAngle*(M_PI/180.0f));[UIViewanimateWithDuration:0.01delay:0options:UIViewAnimationOptionCurveLinearanimations:^{iConImage.transform=afterAngle;}completion:^(BOOLfinished)..
分类:其他好文   时间:2014-12-07 06:41:59    阅读次数:133
ym—— Android 5.0学习之Activity过渡动画
前言 Activity Transition: 提供了三种Transition类型: 进入:一个进入的过渡(动画)决定activity中的所有的视图怎么进入屏幕。 退出:一个退出的过渡(动画)决定一个activity中的所有视图怎么退出屏幕。 共享元素:一个共享元素过渡(动画)决定两个activities之间的过渡,怎么共享(它们)的视图。...
分类:移动开发   时间:2014-12-06 08:53:15    阅读次数:217
退出应用
- (void)exitApplication {          [UIView beginAnimations:@"exitApplication" context:nil];     [UIView setAnimationDuration:0.5];     [UIView setAnimationDelegate:self];     [UIVie...
分类:其他好文   时间:2014-12-05 19:24:56    阅读次数:123
IOS-- UIView中的坐标转换
//将像素point由point所在视图转换到目标视图view中,返回在目标视图view中的像素值- (CGPoint)convertPoint:(CGPoint)point toView:(UIView *)view;//将像素point从view中转换到当前视图中,返回在当前视图中的像素值- (...
分类:移动开发   时间:2014-12-05 17:05:02    阅读次数:138
UIView 属性
1、clipsToBounds  默认为NO。代码: UIView *tmpView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 200)]; tmpView.clipsToBounds = YES;//分别设置 YES /NO查看效果 [self.view addSubview:tmpView]; UIIm...
分类:其他好文   时间:2014-12-05 12:52:14    阅读次数:149
iOS 实现进度条(progress)
#import @interface ZSDProgressView : UIView{ UIView *progressView;//进度view}//进度值@property(nonatomic,assign)float progress;@end#define UIColorFromRG...
分类:移动开发   时间:2014-12-05 12:35:32    阅读次数:230
Xcode--随机数和UIView常见方法
一、类扩展(class extension,匿名分类) 1.格式 @Interface 类名() { //成员变量... } //方法声明... @end 2.作用 1>写在.m文件中 2>一般用来扩充私有成员变量、@property属性、方法等二、随机数生成 1.arc4random() 会...
分类:其他好文   时间:2014-12-05 10:31:53    阅读次数:150
Xcode--创建动画
1.动画(头部-开始动画)[UIView beginAnimations:nil context:nil];2.设置动画的执行时间[UIView setAnimationDuration:1.0];3.向上移动// CGPoint tempCenter = _btn.center;CGRect te...
分类:其他好文   时间:2014-12-05 10:24:44    阅读次数:189
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!