上一页 1 2 3 4 5 6 7 8 9 10 ··· 25 下一页

2015年5月27日

UIscrollview setcontentoffset

摘要: 转载 http://blog.csdn.net/nlforever/article/details/9324755 UIscrollview类中 调用setcontentoffset实际上是改变view的坐标原点的位置画个图解释一下 contentframeCGPoint中的x,y分别指的是fr... 阅读全文

posted @ 2015-05-27 13:37 奋进的闹钟 阅读(336) 评论(0) 推荐(0) 编辑

iOS7 界面适配-NavigationBar StateBar

摘要: 转 blog.csdn.net/ibcker/article/details/12115437最近项目有个棘手的问题--适配IOS7....由于IOS7把整个内容区都上移了20,所以很多不是全屏的应用都不能很好的兼容,换用苹果文档的一句话就是说:如果你们原来的app就是全屏模式运行的,那你们几乎不用... 阅读全文

posted @ 2015-05-27 10:21 奋进的闹钟 阅读(412) 评论(0) 推荐(0) 编辑

ios UIScrollView 基础属性

摘要: 转UIScrollView 原理 在滚动过程当中,其实是在修改原点坐标。当手指触摸后, scroll view会暂时拦截触摸事件,使用一个计时器。假如在计时器到点后没有发生手指移动事件,那么 scroll view 发送 tracking events 到被点击的 subview。假如在计时器到点前... 阅读全文

posted @ 2015-05-27 10:16 奋进的闹钟 阅读(354) 评论(0) 推荐(0) 编辑

2015年5月22日

保存图片信息通过NSData保存到本地文件中

摘要: //第一步:保存头像信息到NSData中 NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); self.documentsPath = [pat... 阅读全文

posted @ 2015-05-22 11:19 奋进的闹钟 阅读(1537) 评论(0) 推荐(0) 编辑

2015年5月18日

根据UIScrollView 滑动获取当前页数

摘要: #pragma mark --#pragma mark -- UIScrollViewDelegate- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView{ CGFloat pageWidth = mainScrollVie... 阅读全文

posted @ 2015-05-18 16:25 奋进的闹钟 阅读(3070) 评论(0) 推荐(0) 编辑

2015年5月8日

iOS工程通用模块介绍

摘要: http://www.cocoachina.com/ios/20150505/11752.htmlhttp://www.jianshu.com/p/35ae342c60f61. MantleMantle 让我们能简化 Cocoa 和 Cocoa Touch 应用的 model 层。简单点说,程序中经... 阅读全文

posted @ 2015-05-08 17:22 奋进的闹钟 阅读(212) 评论(0) 推荐(0) 编辑

2015年5月7日

ios--appDelegate切换根视图rootViewController(最常用的场合是首次启动跳至导航ViewController)

摘要: 转载自 http://blog.csdn.net/wanggsx918/article/details/252151831、在appDelegate中添加一个切换的方法switchRootViewController: - (BOOL)application:(UIApplication *)... 阅读全文

posted @ 2015-05-07 09:50 奋进的闹钟 阅读(3901) 评论(0) 推荐(0) 编辑

2015年5月6日

使用UIGestureRecognizer监听屏幕事件

摘要: 转载自 http://blog.csdn.net/samguoyi/article/details/7911499 如果只是想获取屏幕点击事件有一个最简单的办法,就是写一个透明的uibutton覆盖在需要获取点击事件的view上面。这里用第二种办法:UIGestureRecognizer有很多继承... 阅读全文

posted @ 2015-05-06 16:32 奋进的闹钟 阅读(364) 评论(0) 推荐(0) 编辑

Introduction to CocoaPods Tutorial

摘要: Joshua Greene on April 14, 2014 TweetMake an app with several library dependencies with ease!4/14/2014: Fully updated for CocoaPods 0.31 and iOS 7 (... 阅读全文

posted @ 2015-05-06 16:10 奋进的闹钟 阅读(240) 评论(0) 推荐(0) 编辑

最基本的添加头像

摘要: @interface PTABabyEditBaseVC ()@property (nonatomic) UIImagePickerController *imagePickerController;@end@implementation PTABabyEditBaseVC- (void)viewD... 阅读全文

posted @ 2015-05-06 15:37 奋进的闹钟 阅读(279) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 10 ··· 25 下一页

导航