iOS
文章平均质量分 77
ithinco
这个作者很懒,什么都没留下…
展开
-
判断UITextField中字符是否为空
忘记在哪看到了,方法是判断里面字符的长度是否等于0textField.text.length == 0转载 2013-03-29 13:30:39 · 578 阅读 · 0 评论 -
UITableView中设置section内行数以及配置cell的方法
文中代码粘贴复制自苹果UITableView的Recipes范例:- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return 4;}- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(N原创 2013-03-28 14:37:10 · 926 阅读 · 0 评论 -
如何结合CoreData给UITableView的section填充数据
搬运自StackOverFlow:numberOfRowsInSection: method for core data and multiple sections‘问题描述:一个tableview中建立两个section,第一个section使用NSArray填充数据,第二个section使用coredata填充数据- (NSInteger)tableView:(UITableV翻译 2013-03-28 17:23:42 · 771 阅读 · 0 评论