上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页
摘要: 1. pod search Alamofire 2.找到改第三方, copy pod 'Alamofire'名字, 敲入 echo "pod 'Alamofire'" > podfile 及生成podfile文件 3. cat podfile可以查看podfile内容 4. pod install 阅读全文
posted @ 2015-07-21 07:39 Milo_D 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 如果输入$ git remote add origingit@github.com:djqiang(github帐号名)/gitdemo(项目名).git提示出错信息:fatal: remote origin already exists.解决办法如下:1、先输入$ git remote rm or... 阅读全文
posted @ 2015-07-17 18:47 Milo_D 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 代码实现遵守协议class AccessToken: NSObject, NSCoding实现协议方法// MARK: - 归档&解档required init(coder aDecoder: NSCoder) { access_token = aDecoder.decodeObjectFor... 阅读全文
posted @ 2015-07-17 15:36 Milo_D 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 第一次提交时候用终端敲入以下代码 1. 打开终端, 敲入cd + 项目路径 2. git init 3. git remote -v 4. git add . 5. git commit -m "first commit" 6. git remote add origin https://git.o 阅读全文
posted @ 2015-07-15 19:10 Milo_D 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 一、安装:Git下载地址:http://git-scm.com/downloads/下载Git、配置Git:http://blog.csdn.net/reactor1379/article/details/8008677二、使用:(1)1、创建一个新的repository:IOS-test 可参考:... 阅读全文
posted @ 2015-07-15 11:56 Milo_D 阅读(562) 评论(0) 推荐(0) 编辑
摘要: 当把CocoaPods生成的workspace移动到上层目录时,需要改下Pods.xcconfig和工程里的一些设置,就通常没什么难度。当遇到这个问题时:CouldnotautomaticallyselectanXcodeproject.SpecifyoneinyourPodfilelikeso:x... 阅读全文
posted @ 2015-07-15 11:54 Milo_D 阅读(2203) 评论(0) 推荐(0) 编辑
摘要: #import "EHTextView.h" @implementation EHTextView - (instancetype)initWithFrame:(CGRect)frame andText:(NSString *)mText { self = [super initWithFrame:frame]; if (s... 阅读全文
posted @ 2015-07-09 14:40 Milo_D 阅读(522) 评论(0) 推荐(0) 编辑
摘要: 5月份接到公司要申请开发者账号的任务,就一直在各个论坛找申请的流程,但都是一些09年10年的比较旧的流程,现在都已经不适用了,好不容易找到2012年分享的流程吧,才发现申请过程中少了DUNS编码的步骤,又是一篇旧流程,于是唯有自己在申请的路上借鉴前辈的经验摸索着走下去,终于花一个月的时间把IDP账号... 阅读全文
posted @ 2015-07-07 09:54 Milo_D 阅读(410) 评论(0) 推荐(0) 编辑
摘要: /// 过滤的特殊字符+ (BOOL)isIncludeSpecialCharact: (NSString *)str { //***需要过滤的特殊字符:~¥#&*《》()[]{}【】^@/£¤¥|§¨「」『』¢¬ ̄~@#¥&*()——+|《》$_€。 NSRange urgentRange =... 阅读全文
posted @ 2015-07-06 12:05 Milo_D 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 一.第三方框架RegexKitLite的使用 在ios项目中可以借用第三方框架RegexKitLite来简化对正则表达式的使用,使用方法如下 1.去RegexKitLite下载类库,解压出来会有一个例子包及2个文件,将那两个文件添加到工程中,并导入到项目中。 下载地址: http://www.co... 阅读全文
posted @ 2015-07-01 14:32 Milo_D 阅读(230) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页