摘要:     _tableView1.bounces = NO; 阅读全文
posted @ 2016-03-15 11:37 杨大龙dalong 阅读(583) 评论(0) 推荐(0) 编辑
摘要: - (BOOL) isBlankString:(NSString *)string { if (string == nil || string == NULL) { return YES; } if ([string isKindOfClass:[NSNull class]]) { return Y 阅读全文
posted @ 2016-03-10 10:11 杨大龙dalong 阅读(296) 评论(0) 推荐(0) 编辑
摘要: UINavigationBar *navigationBar = self.navigationController.navigationBar; // white.png图片自己下载个纯白色的色块,或者自己ps做一个 [navigationBar setBackgroundImage:[UIIma 阅读全文
posted @ 2016-02-18 01:13 杨大龙dalong 阅读(165) 评论(0) 推荐(0) 编辑
摘要: -(NSString*)time:(NSString*)num{ NSDateFormatter *inputFormatter = [[NSDateFormatter alloc] init]; [inputFormatter setLocale:[[NSLocale alloc] initWit 阅读全文
posted @ 2016-02-14 10:07 杨大龙dalong 阅读(120) 评论(0) 推荐(0) 编辑
摘要: //控制清除按钮的位置 -(CGRect)clearButtonRectForBounds:(CGRect)bounds { return CGRectMake(bounds.origin.x + bounds.size.width - 50, bounds.origin.y + bounds.si 阅读全文
posted @ 2016-01-31 00:19 杨大龙dalong 阅读(150) 评论(0) 推荐(0) 编辑
摘要: // 设置Tab分隔线-(void)setLayoutMargins:(UITableView*)table{ if ([table respondsToSelector:@selector(setSeparatorInset:)]) { [table setSeparatorInset:UIEdg 阅读全文
posted @ 2016-01-30 23:12 杨大龙dalong 阅读(241) 评论(0) 推荐(0) 编辑