上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页
摘要: 做项目时,经常会有一些资源拷来拷去会很麻烦,打包这些文件到项目里会方便很多!首先把文件放到一个文件夹里 然后重命名文件夹为iToast.bundle拖到项目里如何访问?iToast.bundle/down 阅读全文
posted @ 2014-06-20 23:54 回读(IOS) 阅读(220) 评论(0) 推荐(0) 编辑
摘要: textField.contentVerticalAlignment = UIControlContentVerticalAlignmentCenter; 阅读全文
posted @ 2014-06-20 09:48 回读(IOS) 阅读(284) 评论(0) 推荐(0) 编辑
摘要: http://www.macappbox.com/tips/159/通过Automator创建教程:1、打开Automator并选择新建2、选择服务类型3、搜索Run Shell Script ( 运行shell脚本) 并选中双击切换“传递输入”为“作为自变量”,并粘贴下面代码到输入框中for f ... 阅读全文
posted @ 2014-06-20 09:31 回读(IOS) 阅读(614) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/chapter2/01_The_Basics.html基础部分本页包含内容:常量和变量注释分号整数浮点数类型安全和类型推断数值型字面量数值型类型转换类型别名布尔值元组可选断言Sw... 阅读全文
posted @ 2014-06-19 18:01 回读(IOS) 阅读(334) 评论(0) 推荐(0) 编辑
摘要: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/chapter1/02_a_swift_tour.html本页内容包括:简单值(Simple Values)控制流(Control Flow)函数和闭包(Functions an... 阅读全文
posted @ 2014-06-19 17:56 回读(IOS) 阅读(404) 评论(0) 推荐(1) 编辑
摘要: 摘自:http://numbbbbb.gitbooks.io/-the-swift-programming-language-/chapter1/01_swift.htmlSwift 是一种新的编程语言,用于编写 iOS 和 OS X 应用。Swift 结合了 C 和 Objective-C 的优点... 阅读全文
posted @ 2014-06-19 17:55 回读(IOS) 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 输入的日期字符串形如:@"1992-05-21 13:08:08"- (NSDate*)dateFromString:(NSString*)dateString{NSDateFormatter*dateFormatter = [[NSDateFormatter alloc]init];[dateFo... 阅读全文
posted @ 2014-06-17 22:30 回读(IOS) 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-06-13 09:15 回读(IOS) 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 应用中登陆界面颜色较浅,状态栏字体颜色为黑色,跳转到主界面之后,界面颜色较深,状态栏颜色随之变成白色。但是再重新返回登陆界面后,状态栏字体颜色并没有改成黑色,特别别扭。plist文件里将View controller-based status bar appearance改为NO然后在view co... 阅读全文
posted @ 2014-06-12 11:02 回读(IOS) 阅读(311) 评论(0) 推荐(0) 编辑
摘要: @interfaceUIViewController :UIResponder- (BOOL)prefersStatusBarHiddenNS_AVAILABLE_IOS(7_0);// Defaults to NO// 隐藏状态栏-(BOOL)prefersStatusBarHidden{ r... 阅读全文
posted @ 2014-06-12 09:43 回读(IOS) 阅读(223) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页