自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 iOS开发之UIScrollView

//// RootViewController.m// LessonUIScrollView//// Created by 楠少轻狂 on 14-8-29.// Copyright (c) 2014年 lanouhn. All rights reserved.//#import "RootViewController.h"@interface RootVie

2014-09-20 16:09:42 154

原创 iOS开发之手势(UIGestureRecognizer)

//// RootViewController.m// LessonUIGestureRecognizer//// Created by 楠少轻狂 on 14-8-27.// Copyright (c) 2014年 lanouhn. All rights reserved.//#import "RootViewController.h"#import "UICo

2014-09-20 15:55:58 211

原创 UISegmentedControl,UISlider,UISwitch,代码截屏,UIStepper的简单使用

#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil{

2014-09-20 15:08:24 203

原创 iOS代码截屏

//(1.)设置要截屏的图片大小UIGraphicsBeginImageContext(self.view.frame.size);//(2.)对哪个视图截图固定大小的图片[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];//(3.)获取截图的图片对象UIImage * image = UIGraph

2014-09-20 15:03:15 180

原创 iOS的执行周期

//// XSNAppDelegate.m// LessonComprehensive//// Created by 效帅楠 on 14-8-21.// Copyright (c) 2014年 lanouhn. All rights reserved.//#import "XSNAppDelegate.h"@interface XSNAppDelegate

2014-09-20 15:00:30 165

原创 OC内存管理要点总结

1. alloc开辟内存空间,并且将对象的引用计数由0变为1 retain 将对象的引用计数加1 release 将对象的引用计数(立即)-12.在管理内存的时候,经常出现三个问题: (1)内存泄露 现象:内存堆积,在运行中崩溃(占用内存较小时可能不会crash) 产生原因:对一个对象进行alloc,retain,copy之后,没有对它进行相应的release或者aut

2014-08-14 22:40:36 251

空空如也

空空如也

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

TA关注的人

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