乐理

2014年3月15日 #

PureCode--iOS--自定义UITableViewCell(含疑问)

摘要: 纯代码编写的简单自定义UITableViewCell:1.像处理普通视图一样处理Cell:clsTableViewCell.h:1 #import 2 3 @interface clsTableViewCell : UITableViewCell4 @property (nonatomic,strong) UILabel *label;5 @property (nonatomic,strong) UIImageView *img;6 @endclsTableViewCell.m: 1 #import "clsTableViewCell.h" 2 3 @implementat 阅读全文

posted @ 2014-03-15 11:34 乐理 阅读(631) 评论(0) 推荐(0) 编辑

2013年12月16日 #

ASP.NET Web服务调用发生错误,错误代码404

摘要: 现象:iOS端使用ASIHTTP连接Web服务时,得到的数据是一个错误代码为404的页面,错误信息(web.config添加以启用远程浏览器对错误信息的查看)提示URL有问题,“意外地以‘/方法名’”为结尾。原因:.Net Framework 1.1之后,默认禁用了Http Post。解决方法:web.config中在system.web下添加,以启用。 阅读全文

posted @ 2013-12-16 23:30 乐理 阅读(187) 评论(0) 推荐(0) 编辑

2013年10月30日 #

UITableViewCell和UITableView的学习

摘要: 一:自定义UITableViewCell:先来看UITableView.h:- (void)registerNib:(UINib *)nib forCellReuseIdentifier:(NSString *)identifier NS_AVAILABLE_IOS(5_0);- (void)registerClass:(Class)cellClass forCellReuseIdentifier:(NSString *)identifier NS_AVAILABLE_IOS(6_0);- (void)registerNib:(UINib *)nib forHeaderFooterViewRe 阅读全文

posted @ 2013-10-30 02:03 乐理 阅读(404) 评论(0) 推荐(0) 编辑

2013年10月29日 #

各种UIButton

摘要: 前几日尝试了各种UIButton UIButton*btn0=[UIButton buttonWithType:UIButtonTypeContactAdd]; UIButton*btn1=[UIButtonbuttonWithType:UIButtonTypeCustom]; UIButton*btn2=[UIButtonbuttonWithType:UIButtonTypeDetailDisclosure]; UIButton*btn3=[UIButtonbuttonWithType:UIButtonTypeInfoDark]; UIButton*btn4=[UIButtonbuttonW 阅读全文

posted @ 2013-10-29 23:47 乐理 阅读(217) 评论(0) 推荐(0) 编辑

2013年10月19日 #

高德地图API编译警告

摘要: 版本:V2.1.1警告内容:(null): warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/OffsetCoordinate/lib/Release-iphonesimulator/liboffset.a(offset.o) unable to open object file暂时处理:设置 target->Build Settings->Debug Information Format 为 DWARF 阅读全文

posted @ 2013-10-19 15:44 乐理 阅读(275) 评论(0) 推荐(0) 编辑

导航