摘要: [self.tableView setScrollEnabled:NO]; 阅读全文
posted @ 2015-03-20 19:16 Mr.Greg 阅读(384) 评论(0) 推荐(0) 编辑
摘要: -(void)setExtraCellLineHidden: (UITableView *)tableView{ UIView *view = [UIView new]; view.backgroundColor = [UIColor clearColor]; [tableView... 阅读全文
posted @ 2015-03-20 19:14 Mr.Greg 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 原文:http://blog.csdn.net/l_ch_g/article/details/9399363iphone 4.0以后就开始支持正则表达式的使用了,在ios4.0中正则表达式的使用是使用NSRegularExpression类来调用。下面一个简单的使用正则表达式的一个例子:1.首先新建... 阅读全文
posted @ 2015-03-20 19:04 Mr.Greg 阅读(1064) 评论(0) 推荐(0) 编辑
摘要: 原文 :http://www.cocoachina.com/bbs/read.php?tid=144272&fpage=14Textkit是iOS7新推出的类库,其实是在之前推出的CoreText上的封装,有了这个TextKit,以后不用再拿着CoreText来做累活了,根据苹果的说法,他们开发了两... 阅读全文
posted @ 2015-03-20 17:45 Mr.Greg 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 改变UITableViewCell选中时背景色: cell.selectedBackgroundView=[[[UIImageViewalloc]initWithImage:[UIImageimageNamed:@"cellart.png"]]autorelease]; // 点击背景图片 c... 阅读全文
posted @ 2015-03-20 12:01 Mr.Greg 阅读(928) 评论(0) 推荐(0) 编辑