11 2015 档案

摘要:为了美观性,一般设置通用的navigationBar创建基础控件 UIView *naviView; UIImageView *naviImageView; UILabel *naviLabel; UIButton *naviLeftBtn;设置控件位置(Frame) ... 阅读全文
posted @ 2015-11-19 22:59 Saurik 阅读(592) 评论(0) 推荐(0) 编辑
摘要:在navigationController中实现向右滑动返回功能系统提供的backbarbuttonitem,不用添加任何代码即可实现向右滑动后退功能,但是往往要对按钮修改样式等时,就需要自定义leftbarbuttonitem,此时向右滑动即失效.通过下面方法即可解决该问题.主要是通过设置navi... 阅读全文
posted @ 2015-11-18 15:18 Saurik 阅读(6579) 评论(0) 推荐(0) 编辑
摘要:segue的几种模式1)xcode6 之后push 和modal 就被废弃了。只能用于ios8之前。2)可用的有五种,Show、Show Detail、Present Modally、Present as Popover、Custom官方解释:https://developer.apple.com/... 阅读全文
posted @ 2015-11-10 10:52 Saurik 阅读(2983) 评论(0) 推荐(0) 编辑
摘要:- (void)viewDidLoad { [super viewDidLoad]; NSLog(@"我在玩手机"); NSLog(@"手机没电了"); [self chargeMyIphone:^{ NSLog(@"出门逛街"); }]; NSLo... 阅读全文
posted @ 2015-11-05 17:09 Saurik 阅读(257) 评论(0) 推荐(0) 编辑
摘要:情况1:A页面跳转到B页面方法1:在页面跳转的同时,将A页面的值带到B页面B页面的控制器中设置一个接收值的对象,并且设置一个显示值的textfield,设置outlet@property (nonatomic, copy) NSString *text;@property (weak, nonato... 阅读全文
posted @ 2015-11-05 16:59 Saurik 阅读(299) 评论(0) 推荐(0) 编辑
摘要:一、查看Xcode的UUID方式1:终端执行:defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID方式2:在/Applications目录中找到Xcode.app,右键”显示包内容”,进入Cont... 阅读全文
posted @ 2015-11-04 17:54 Saurik 阅读(188) 评论(0) 推荐(0) 编辑
摘要:iOS第三方开源库的吐槽和备忘http://www.cocoachina.com/industry/20140123/7746.htmlgithub上排名靠前的第三方库http://github.ibireme.com/github/list/ios/github的排名查询https://githu... 阅读全文
posted @ 2015-11-04 17:27 Saurik 阅读(266) 评论(0) 推荐(0) 编辑
摘要:SQLite的简单介绍说明: 3是版本号,是SQLite的第三个版本。 core Data是对SQLite的封装,因为iOS中使用的SQLite是纯C语言的。SQLite: (1)什么是SQLite? 答:SQLite是一款轻型的嵌入式数据库,安卓和ios开发使用的都是SQLite数据... 阅读全文
posted @ 2015-11-04 16:43 Saurik 阅读(244) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示