摘要:
[UIView animateWithDuration:1.0 animations:^{ label.alpha=1.0; } completion:^(BOOL finished) { [UIView animateWithDuration:1.0 animations:^{ label.a... 阅读全文
摘要:
- (UIImage *)clipImage: (UIImage *)image inRect: (CGRect) rect{ //返回image中rect范围内的图片 CGImageRef imageRef = CGImageCreateWithImageInRect(image.CGImage,... 阅读全文
摘要:
//// AppDelegate.m// TabBarControllerDemo//// Created by qianfeng on 15/9/22.// Copyright (c) 2015年 qianfeng. All rights reserved.//#import "AppDelega... 阅读全文
摘要:
#define COLOR_VALUE arc4random() % 256 /255.0//宏定义@interface FirstViewController (){ NSTimer *_timer;}//定义一个事件的属性[self createBackCorlor];//方法的调用#pragm... 阅读全文
摘要:
//// ViewController.m// UIScollView//// Created by hehe on 15/9/25.// Copyright (c) 2015年 wang.hehe. All rights reserved.//#import "ViewController.h"#... 阅读全文
摘要:
//// nextViewController.m#import "nextViewController.h"#import "my.h"@interface nextViewController ()@end@implementation nextViewController- (void)vie... 阅读全文