摘要: CAAnimationGroup (组动画),可以理解将CAAnimation、CABasicAnimation、CAKeyframeAnimation等定义好的单个动画加在一个组里面,实现多个动画一起执行的效果,从而使得动画效果更炫。比如说,一个view在移动的时候,又要让其旋转,这里有两个动画,怎么样让它一起执行呢,请看下面的代码://// ViewController.m// CAAnimation//// Created by vincent_guo on 13-9-6.// Copyright (c) 2013年 vincent_guo. All rights reserve... 阅读全文
posted @ 2013-09-06 15:54 Vincent_Guo 阅读(622) 评论(0) 推荐(0) 编辑
摘要: //// ViewController.m// KeyFrameAnimation//// Created by vincent_guo on 13-9-6.// Copyright (c) 2013年 vincent_guo. All rights reserved.//#import "ViewController.h"#import @interface ViewController (){ UIImageView *_imageView;}@end@implementation ViewController- (void)viewDidLoad{ [super vi 阅读全文
posted @ 2013-09-06 14:39 Vincent_Guo 阅读(642) 评论(0) 推荐(0) 编辑
摘要: CAKeyframeAnimation(针动画)怎么理解这个(针动画)呢,举个例子给大家:一个view,我们想它从点A移动到点B,再移动到点C,整一个动画就是针动画它是根据你指定的一系路径去执行动画的,也就是一针一针的执行动画,要实现这些针动画效果,CATransition,CABaseAnimation是实现不了的。下面给个代码小例子去体会下,大家可直接copy运行下://// ViewController.m// KeyFrameAnimation//// Created by vincent_guo on 13-9-6.// Copyright (c) 2013年 vincent... 阅读全文
posted @ 2013-09-06 14:08 Vincent_Guo 阅读(826) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2013-09-04 17:33 Vincent_Guo 阅读(12) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2013-09-04 15:28 Vincent_Guo 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 史上最全的IOS动画详解 阅读全文
posted @ 2013-09-04 15:25 Vincent_Guo 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 修改hosts文件1.输入命令 sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts2.输入密码3.添加记录 如: 74.125.237.1 dl-ssl.google.com顺便记下:windows的hosts目录C:\WINDOWS\system32\drivers\etc\hosts 阅读全文
posted @ 2013-08-05 12:07 Vincent_Guo 阅读(251) 评论(0) 推荐(0) 编辑
摘要: FMDB使用前步骤1.在Link Binary With Libraries中导入libsqlite3.0.dylib2.导入fmdb到项目中 (下载地址https://github.com/ccgus/fmdb)3.引用FMDatabase.h文件FMDB API使用 1 #define CAR_TABLE @"create table if not exists t_car(id integer primary key autoincrement,car_en varchar(60), car_cn varchar(60));" 2 @implementation Ca 阅读全文
posted @ 2013-07-29 16:46 Vincent_Guo 阅读(360) 评论(0) 推荐(0) 编辑
摘要: IOS开发中 如果只想允许用户竖屏显示界面,只需要在Info.plist文件中,打开Supported interface orientation选项然后只保留Portrait,其它(绿色箭头总会)的都删除就可以了。 阅读全文
posted @ 2013-05-10 14:27 Vincent_Guo 阅读(247) 评论(0) 推荐(0) 编辑