上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: UIBarButtonItem *rightItem = [[UIBarButtonItem alloc] initWithTitle:@"完成" style:UIBarButtonItemStylePlain target:self action:@selector(nextAction)]; self.navigationItem.rightBarButtonItem = rig... 阅读全文
posted @ 2016-07-04 17:28 YouNeedCourage 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://blog.sina.com.cn/s/blog_8d1bc23f0102vu1q.html 阅读全文
posted @ 2016-05-30 09:44 YouNeedCourage 阅读(504) 评论(0) 推荐(0) 编辑
摘要: 1.新建一个string文件,命名为Localizable.strings 2.添加需要的语言 3.选中刚才新建的stringfile,点开属性,点击下图所示按钮 4.上一步操作之后string文件变成了两个,分别在里面设置对应的中英文(或者需要设置的语言内容)即可。 5.在需要使用国际化的字符串的 阅读全文
posted @ 2016-05-25 14:12 YouNeedCourage 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 第一部分:http://benbeng.leanote.com/post/ReactiveCocoaTutorial-part1 第二部分:http://benbeng.leanote.com/post/ReactiveCocoaTutorial-part2 http://www.jianshu.c 阅读全文
posted @ 2016-05-20 15:27 YouNeedCourage 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.cnblogs.com/GarveyCalvin/p/4250145.html?utm_source=tuicool&utm_medium=referral 前言:在表单验证中,我们经常会使用到正则,因为我们需要用它来判断用户输入的字符是否为合法的,如果是不合法的,那 阅读全文
posted @ 2016-05-20 10:39 YouNeedCourage 阅读(159) 评论(0) 推荐(0) 编辑
摘要: http://www.25xt.com/allcode/6941.html http://www.25xt.com/appdesign/7587.html http://www.25xt.com/appdesign/7339.html 阅读全文
posted @ 2016-05-19 13:30 YouNeedCourage 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.cnblogs.com/zxs-19920314/p/4985476.html?utm_source=tuicool&utm_medium=referral 1.移除现有Ruby默认源 2.使用新的源 $gem sources -a https://ruby.taob 阅读全文
posted @ 2016-05-18 09:31 YouNeedCourage 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.tuicool.com/articles/uQRF3yM 网络上有很多开发者提问怎么转让App并想知道具体的流程。实际上Appstore的App转让流程还是比较简单的,下面特酷吧根据自己的实际操作总结下iOS Appstore中App的转让流程,供大家参考。对网络开发 阅读全文
posted @ 2016-05-18 09:21 YouNeedCourage 阅读(623) 评论(0) 推荐(0) 编辑
摘要: //隐藏UISearchBar的清除按钮 UITextField *searchField; for (UIView *subview in [_searchBar.subviews firstObject].subviews) { if ([subview isKindOfClass:[UITextField class]]) { ... 阅读全文
posted @ 2016-05-17 14:18 YouNeedCourage 阅读(1138) 评论(0) 推荐(0) 编辑
摘要: 拿到需要pop回的页面的对象,可以用上面的方式创建,如果知道在当前viewControlers数组中的下标也可以直接去数组中取,但是不能重新alloc创建,否侧会崩溃,提示找不到要返回的页面。 阅读全文
posted @ 2016-05-17 13:26 YouNeedCourage 阅读(158) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页