摘要:
假如在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 阅读全文
摘要:
- (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 阅读全文