06 2016 档案

摘要:一,找到git仓库:finder打开项目,找到隐藏文件.git 终端:Mac显示隐藏文件:defaults write com.apple.finder AppleShowAllFiles YES,强制退出finder,重新打开finder. 如果项目没有隐藏的Git文件夹: 1,打开终端,cd 工 阅读全文
posted @ 2016-06-15 14:46 蜗牛才是大牛 阅读(215) 评论(0) 推荐(0)
摘要:一,各种名称和位置 //技巧一键换肤 [[UINavigationBar appearance]setBarTintColor:[UIColor redColor]];//给所有的NavigationBar换颜色 [[UITabBar appearance]setBarTintColor:[UICo 阅读全文
posted @ 2016-06-10 21:36 蜗牛才是大牛 阅读(1388) 评论(0) 推荐(0)
摘要:Cocoapods意义体现在两个方面。第一,在引入第三方库时它可以自动为我们完成各种各样的配置,包括配置编译阶段、连接器选项、甚至是ARC环境下的-fno-objc-arc配置等。第二,使用CocoaPods可以很方便地查找新的第三方库,这些类库是比较“标准的”,而不是网上随便找到的,这样可以让我们 阅读全文
posted @ 2016-06-09 10:30 蜗牛才是大牛 阅读(4063) 评论(0) 推荐(0)
摘要:1,最简单的显示: UIAlertControllerStyleActionSheet(最下面弹出) 2,添加按钮以及处理的方法: 3,输入数据: 4,假定我们要让“登录”文本框中至少有3个字符才能激活“好的”按钮。很遗憾的是,在UIAlertController中并没有相应的委托方法,因此我们需要 阅读全文
posted @ 2016-06-08 15:13 蜗牛才是大牛 阅读(174) 评论(0) 推荐(0)
摘要:1 #import "MassageViewController.h" 2 @interface MassageViewController() 3 @property (nonatomic,strong) UIScrollView *PicScrollView; 4 @property (nonatomic,strong) UIPageControl *PicCtr; 5 ... 阅读全文
posted @ 2016-06-02 18:59 蜗牛才是大牛 阅读(1824) 评论(0) 推荐(0)