tableView//collectionView加载时的动画
2015-07-16 14:10
344 查看
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath
*)indexPath {
ProjectIntroViewCell *cell = [collectionView
dequeueReusableCellWithReuseIdentifier:COLLECTIONVIEW_CELLID
forIndexPath:indexPath];
[cell updateUIWithModel:model];
// cell.layer.transform = CATransform3DMakeScale(0.1, 0.1, 1);
// //设置动画时间为0.25秒,xy方向缩放的最终值为1
// [UIView animateWithDuration:0.25 animations:^{
// cell.layer.transform = CATransform3DMakeScale(1, 1, 1);
// }];
return cell;
}
*)indexPath {
ProjectIntroViewCell *cell = [collectionView
dequeueReusableCellWithReuseIdentifier:COLLECTIONVIEW_CELLID
forIndexPath:indexPath];
[cell updateUIWithModel:model];
// cell.layer.transform = CATransform3DMakeScale(0.1, 0.1, 1);
// //设置动画时间为0.25秒,xy方向缩放的最终值为1
// [UIView animateWithDuration:0.25 animations:^{
// cell.layer.transform = CATransform3DMakeScale(1, 1, 1);
// }];
return cell;
}
相关文章推荐
- Mahout--用Maven构建Mahout项目(mahoutDemo)
- Oracle sqlldr导入导出txt数据文件详解
- Sublime Text 3 : keyboard shortcut to reveal file in finder
- js面试题--js的继承
- 如何取得客户端的鼠标坐标并反馈到服务器端
- 如何合并多个excel报表到同一表中,只保留一个表头
- linux系统用户下的crontab任务不执行问题处理
- deprecated preg_replace the e modifier is deprecated use preg_replace_callback instead in
- JavaScript (一)
- PHP 文件操作
- 【Java】只允许使用加号,实现整数的减法,乘法,除法
- [leetcode] 173.Binary Search Tree Iterator
- POJ
- eclipse CDT写c++使用文件作为输入源(输入重定向)
- apache启动提示the requested operation has failed
- Android中调用System.exit(0)
- PLSQL内用TRUNCATE删除表
- Haproxy做代理,后端nginx获取真实用户IP
- 关于进程中的栈
- Palindrome Number