摘要: 在Folders项选择“Create groups for any added folders”,这样这个多层文件夹就会导入到工程中。 阅读全文
posted @ 2013-02-16 21:01 diablo大王 阅读(1107) 评论(0) 推荐(0) 编辑
摘要: 1 UITextView * tv = [[UITextView alloc] init];2 3 tv.keyboardType = UIKeyboardTypePhonePad; // 设定键盘类型4 tv.keyboardType = UIKeyboardTypeURL;5 tv.returnKeyType = UIReturnKeyNext; // 设定键盘回车键类型6 tv.enablesReturnKeyAutomatically = NO; // 设定回车键无效7 tv.autocapitalizationType = UITextAutoc... 阅读全文
posted @ 2013-02-16 15:06 diablo大王 阅读(1440) 评论(0) 推荐(0) 编辑
摘要: 1 UIImage *iv = [UIImage imageNamed:@"bc.png"];2 [iv drawInRect:CGRectMake(0, 0, 100, 100)3 blendMode:kCGBlendModeColorDodge4 alpha:1.0]; // blendMode 设定图片与背景融合方式 阅读全文
posted @ 2013-02-16 14:46 diablo大王 阅读(873) 评论(0) 推荐(0) 编辑
摘要: 1 UIColor *white1 = [UIColor whiteColor]; // 白色2 UIColor *white2 = [UIColor colorWithRed:1.0 green:1.0 blue:1.0 alpha:1.0]; // 白色3 UIColor *orange = [UIColor colorWithRed:1.0 green:0.5 blue:0.0 alpha:1.0]; // 橙色4 UIColor *imageColor = [UIColor colorWithPatternImage:image]; // 根据图片生成颜色5 [[... 阅读全文
posted @ 2013-02-16 14:34 diablo大王 阅读(9464) 评论(0) 推荐(0) 编辑
摘要: 1 UIFont *font1 = [UIFont systemFontOfSize:[UIFont smallSystemFontSize]]; // 系统小字体2 UIFont *font2 = [UIFont systemFontOfSize:[UIFont labelFontSize]]; // 系统标签字体3 UIFont *font3 = [UIFont boldSystemFontOfSize:20]; // 加粗字体4 UIFont *font4 = [UIFont italicSystemFontOfSize:20]; // 斜体 阅读全文
posted @ 2013-02-16 14:30 diablo大王 阅读(3452) 评论(0) 推荐(0) 编辑
摘要: 1 NSString *hang = @"test";2 CGRect zwRect = CGRectMake(0,0,200,20);3 UIFont *myFont = [UIFont systemFontOfSize:ud.readFontSize];4 [hang drawInRect:zwRect withFont:myFont]; 阅读全文
posted @ 2013-02-16 14:23 diablo大王 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 1. Terms and conditions(法律与条款)1.1As a developer of applications for the App Store you are bound by the terms of theProgram License Agreement(PLA), Human Interface Guidelines (HIG), and any other licenses or contracts between you and Apple. The following rules and examples are intended to assist you 阅读全文
posted @ 2013-02-16 14:04 diablo大王 阅读(32202) 评论(0) 推荐(0) 编辑