CoverFlow
来源:互联网 发布:linux线程优先级 编辑:程序博客网 时间:2024/04/30 12:40
CoverFlowDemo.zip (647.3 KB)
关键代码:
- (void)showImage:(BOOL)animation {
UIImageView *tempImageView;
subviewsArray = [scrollViewsubviews];
if (animation) [UIView beginAnimations:nil context:nil];
for (int i = 0; i < imagesCount; i++) {
tempImageView = (UIImageView *)[subviewsArrayobjectAtIndex:i];
if (i < selectedImage) {
tempImageView.layer.transform =CATransform3DMakeRotation(1,0,1, 0);
tempImageView.layer.position =CGPointMake(110+imageSize.width /3 * i, 500);
}elseif (i >selectedImage) {
tempImageView.layer.transform =CATransform3DMakeRotation(-1,0,1, 0);
tempImageView.layer.position =CGPointMake(650+(imageSize.width /3 * i), 500);
}else {
tempImageView.layer.transform =CATransform3DIdentity;
tempImageView.layer.position =CGPointMake(380 +imageSize.width /3 * i,500);
}
}
if (animation) [UIView commitAnimations];
}
- CoverFlow
- CoverFlow
- CoverFlow
- CoverFlow
- CoverFlow 源码
- CoverFlow 源码
- Android CoverFlow
- CoverFlow效果
- Android-Coverflow
- CoverFlow效果
- Flex CoverFlow 控件
- CoverFlow 效果欣赏
- 自定义控件-----CoverFlow
- Android Coverflow Widget V2
- Open source iOS Coverflow
- iOS OpenFlow: CoverFlow 实现
- 自定义控件-----CoverFlow
- 自定义控件-----CoverFlow
- 《ArcGIS for Android开发基础》PPT及demo源码
- 缓存层
- 处理键盘和鼠标响应消息
- Away3d基础入门
- hello world!应用程序
- CoverFlow
- Linux 用命令行打开doc pdf等文件
- Oracle RAC + Data Guard 环境搭建
- RAC + DG ORA-01105 ORA-01677 standby file name convert parameters differ from other instance 错误
- 动态加载
- 本地化 NSDefaults
- 为什么C语言的strcpy函数有漏洞
- RAC crs 卸载后,再次安装Oracle, crs 目录还存在的问题
- CATransform3D 层的几何转换(贝塞尔曲线)