摘要: nomadnomad(http://nomad-cli.com/)是一个方便你操作苹果开发者中心(Apple Developer Center)的命令行工具,可以做的事情包括方便地添加测试设备,更新证书文件,增加App id,验证IAP的凭证等。安装方式:1gem install nomad-cli... 阅读全文
posted @ 2015-05-09 16:58 sixindev 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 一些比较实用简便的抖动和震动效果和控制器跳转渐变效果,具体什么效果自己试去,只需要调用相应方法,将你的控件传进去就可以。 废话不多说,直接上代码:-(void)shakeView:(UIView*)viewToShake{ CGFloat t =2.0; CGAffineTransfor... 阅读全文
posted @ 2015-05-09 16:37 sixindev 阅读(235) 评论(1) 推荐(0) 编辑
摘要: iOS 学习资料整理http://www.jianshu.com/p/dc81698a873c中文 iOS/Mac 开发博客列表https://github.com/tangqiaoboy/iOSBlogCN 阅读全文
posted @ 2015-05-09 16:28 sixindev 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 该项目需要使用MediaPlayer框架,因此程序需要先为该项目添加MediaPalyer框架,并在上面控制器类的实现部分使用#import导入该框架的头文件程序清单:@interface FKViewController (){ MPMediaPickerController* mpc; ... 阅读全文
posted @ 2015-05-09 14:14 sixindev 阅读(574) 评论(0) 推荐(0) 编辑
摘要: 这是我们最终想要得到的效果思路在UISrollView的delegate方法- (void)scrollViewDidScroll:(UIScrollView *)scrollView中根据当前的contentOffset更新navigationBar的backgroundColor即可,so ea... 阅读全文
posted @ 2015-05-09 13:17 sixindev 阅读(444) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2015-05-09 12:02 sixindev 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 众所周知,Text Field 和 Text View 的光标颜色默认都是系统应用的那种蓝色,如图:而在实际开发中为了让视觉效果更统一,我们可能会想把那光标的颜色设置成和界面色调一致的颜色。其实在 iOS 7 以后只需要一行代码便可以轻松实现:view.tintColor = [UIColor gr... 阅读全文
posted @ 2015-05-09 11:38 sixindev 阅读(464) 评论(0) 推荐(0) 编辑
摘要: //1,轻击手势(TapGestureRecognizer)//新建tap手势UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapGe... 阅读全文
posted @ 2015-05-09 09:48 sixindev 阅读(553) 评论(0) 推荐(0) 编辑