自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 NSOperationQueue 队列

- (void)viewDidLoad{    [super viewDidLoad];        }- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{    NSOperationQueue *queue = [[NSOperationQueue alloc] init];

2015-12-28 17:34:30 314

原创 创建队列 NSOperationQueue dispatch队列组

// dispatch 队列组@property (weak, nonatomic) IBOutlet UIImageView *imageView;@property (nonatomic, strong) UIImage *image1;@property (nonatomic, strong) UIImage *image2;@end@implementation

2015-12-28 17:18:58 455

原创 延迟执行

- (void)viewDidLoad{    [super viewDidLoad];    // Do any additional setup after loading the view, typically from a nib.}- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{

2015-12-28 16:04:13 332

原创 CATransition 翻页效果

- (void)viewDidLoad {    [super viewDidLoad];    _ImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, [[UIScreen mainScreen] bounds].size.width, [[UIScreen mainScreen] bounds].size.h

2015-12-28 11:43:09 470

原创 CABasicAnimation

- (void)viewDidLoad{    [super viewDidLoad];    // Do any additional setup after loading the view, typically from a nib.            CALayer *layer = [CALayer layer];        layer.posit

2015-12-28 10:55:36 254

原创 CAKeyPathAnimation

@property (weak, nonatomic) IBOutlet UIView *redView;@end@implementation HMViewController- (void)viewDidLoad{    [super viewDidLoad];    // Do any additional setup after loading th

2015-12-28 10:54:36 342

原创 获取日历对象,制作时钟

// 每秒秒针转6度#define perSecendA 6// 每分钟分针转6度#define perMinuteA 6// 每小时时针转6度#define perHourA 30// 每分钟时针转6度#define perMinuteHourA 0.5#define angle2radian(x) ((x) / 180.0 * M_PI)

2015-12-28 10:35:29 476

原创 IOS - 隐式动画

- (void)viewDidLoad{    [super viewDidLoad];    // Do any additional setup after loading the view, typically from a nib.        CALayer *layer = [CALayer layer];        // 设置尺寸    laye

2015-12-28 10:20:51 447

原创 iOS iphone手机状态栏修改

将iphone手机状态栏修改成白色,或者其他,修改方法如下1.在plist文件中,添加View controller-based status bar appearance  将其值设置为NO,2.在你需要改变状态栏的页面里添加[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent

2015-12-22 09:29:45 1514

转载 用法总结:NSNumber、NSString、NSDate、NSCalendarDate、NSData(待续)

NSNumber+ (NSNumber *)numberWithInt:(int)value;+ (NSNumber *)numberWithDouble:(double)value;- (int)intValue;- (double)doubleValue;NSNumber可以将基本数据类型包装起来,形成一个对象,这样就可以给其发送消息,装入NSArr

2015-12-02 10:16:01 316

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除