自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

李昊的Blog

代码虐我千百遍,我待代码如初恋。

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

原创 CGContext画线

1 前言 得到图形环境,然后用 CGContextMoveToPoint 和 CGContextAddLineToPoint 函数来画线。 2 代码实例 ZYViewControllerView.m   [plain] - (void)drawRect:(CGRect)rect{      [self drawRooftopAtTopPointof:CGPointMa

2014-03-26 20:12:34 933

原创 Face++ 第三方类库的使用文档

Face++主要实现人脸的扫描,定位五官位置。判断微笑程度,年龄等。 实现人脸识别等。 下载地址:http://www.faceplusplus.com.cn 以下是对此类库的使用笔记 // //  RootViewController.m //  FacePlusPlusDemo_and_SDK // //  Created by lihao

2014-03-26 20:10:07 6770

原创 OC中的SQLite3使用

获取Bandle数据库至沙盒中 // // DB.h // LocalStorage // // Created by LiHao on 14-1-10. // Copyright (c) 2014年 LiHao. All rights reserved. // #import #import //库文件只能import @interface DB : NSObject +(

2014-01-11 11:08:46 3017

原创 UIImage NSData转换

-(void)writeButtonAction:(id)sender{ NSString * path = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0]; NSString * newPath = [NSString stringW

2014-01-10 15:07:32 785

原创 Objective-C NSString、NSArray、NSDictionary、NSData 存取至Document

//-(void)writeButtonAction:(id)sender{// //获得沙盒路径// NSArray * paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);// //NSDocumentDirectory documents文件夹// // NSUserD

2014-01-10 14:09:07 1001

原创 添加一个能够自适应字数的UILabel对象到ScrollView

NSString * value = _currentBook.content;     UILabel * aLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 0, 0)];//设置初始大小     aLabel.text = value;     [aLabel setNumberOfLines:0];

2014-01-08 22:51:22 1112

空空如也

空空如也

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

TA关注的人

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