摘要: 假如在ViewDidLoad中往页面中添加一个UITextField来输入检索内容 UITextField *searchText=[[UITextField alloc]init]; searchText.frame=CGRectMake(0, 0, 250, 30); searchText.placeholder=@"输入搜索内容"; searchText.font=[UIFont systemFontOfSize:15]; searchText.textColor=[UIColor redColor]; searchText.borderStyle=UITextBor 阅读全文
posted @ 2013-06-12 20:14 cqclassic 阅读(233) 评论(0) 推荐(0) 编辑
摘要: - (void)dumpView:(UIView *)aView atIndent:(int)indent into:(NSMutableString *)outstring{ for (int i = 0; i < indent; i++) [outstring appendString:@"--"]; [outstring appendFormat:@"[%2d] %@\n", indent, [[aView class] description]]; for (UIView *view in [aView subviews]) [self d 阅读全文
posted @ 2013-06-12 13:06 cqclassic 阅读(162) 评论(0) 推荐(0) 编辑