
Objective-C编程语言
文章平均质量分 79
小才1991
这个作者很懒,什么都没留下…
展开
-
UILabel 自适应
NSString * str = @"测试字符串" UILabel * label = [[UILabel alloc] init]; [label setBackgroundColor:[UIColor grayColor]]; [label setFrame:CGRectMake(0, 0, 260, 30)]; [label setText:sel原创 2014-01-08 13:34:41 · 1128 阅读 · 5 评论 -
iOS Objective-C Json解析
和大家分享下 Json解析 Json中的txt{ "code": "cn", "cities": [ {"name": "保定", "lat": 38849998, "lon": 115569999}, {"name": "北京", "lat": 39930000, "lon": 116279原创 2014-01-11 22:28:03 · 1125 阅读 · 0 评论 -
iOS Objective-C 解析XML SAX解析方法
给大家分享一个 解析XML 中的 SAX解析这是我要解析的XML文件 由于城市过多 我就在中间删掉一部分 方便查看 创建一个SaxParser原创 2014-01-14 19:13:01 · 1101 阅读 · 0 评论