方法1,通過文件路徑加載(本地) NSString *path = [[NSBundle mainBundle] pathForResource...
方法1 -[UIImage animatedImageWithImages:動畫數(shù)組duration:持續(xù)時間]; // 可以獲取一個能做動畫的...
[UIView beginAnimations:nil context:nil]; //準(zhǔn)備開始動畫 [UIView setAnimationD...
//一定時間內(nèi)完成動作后執(zhí)行某個動作 +(void)animateWithDuration:(NSTimeInterval)duration a...
1-通過transform修改位置(平移) CGAffineTransformMakeTranslation(X偏移量,Y偏移量);//變到某個...
一、 for循環(huán)快速遍歷 -(void)dictFor{ NSDictionary*dict=@{@”k1”:@”v1”,@”k2”:@”v2”...
一、for循環(huán) -(void)arrayfor{ //快速創(chuàng)建一個oc數(shù)組 NSArray *array =@[@”one”,@”two”]; ...
程序啟動分為兩類: 一.有storyboard 1.main函數(shù) 2.UIApplicationMain *創(chuàng)建UIApplication對象...