IP属地:湖南
方法1,通过文件路径加载(本地) NSString *path = [[NSBundle mainBundle] pathForResource...
方法1 -[UIImage animatedImageWithImages:动画数组duration:持续时间]; // 可以获取一个能做动画的...
[UIView beginAnimations:nil context:nil]; //准备开始动画 [UIView setAnimationD...
//一定时间内完成动作后执行某个动作 +(void)animateWithDuration:(NSTimeInterval)duration a...
1-通过transform修改位置(平移) CGAffineTransformMakeTranslation(X偏移量,Y偏移量);//变到某个...
一、 for循环快速遍历 -(void)dictFor{ NSDictionary*dict=@{@”k1”:@”v1”,@”k2”:@”v2”...
一、for循环 -(void)arrayfor{ //快速创建一个oc数组 NSArray *array =@[@”one”,@”two”]; ...
程序启动分为两类: 一.有storyboard 1.main函数 2.UIApplicationMain *创建UIApplication对象...