ios开发
heavenluu
这个作者很懒,什么都没留下…
展开
-
Cocoapods - 用于下载IOS开发需要的第三方库
1.安装 1). Rubyruby -v 查看版本2). Ruby源 , 注意,结尾的 / 不可少 gem sources -l https://rubygems.org/ gem sources –remove gen sources –a https://ruby.taobao.org/3). 安装Cocoapods sudo gem install cocoapods2.使用 在原创 2017-03-26 10:20:15 · 468 阅读 · 0 评论 -
IOS 关键字self,super,copy, retain, assign , readonly , readwrite, nonatomic、@synthesize、@property、@dyna
#synthesize关键字: 根据@property设置,自动生成成员变量相应的存取方法,从而可以使用点操作符来方便的存取该成员变量 。 @implementation 关键字,表明类的实现 @end 结束 self 关键字 :类似于java中的this,是隐藏参数,指向当前调用方法的类。 super 关键字 :调用父类的方法。self = [superinit] 这里不是判断s转载 2017-03-26 10:27:43 · 213 阅读 · 0 评论 -
Xcode + Github
首先在Github上创建一个新的repository. 在OSX上创建SSH秘匙 ssh-keygen -t rsa -C “xxxxxxxxxx@hotmail.com” passprase Ov******** 将id_rsa.pub的内容,添加到Github网站的SSH-Key 中 Xcode中,Source Control->第二项->Configure, AddRemote, 将 Gi原创 2017-03-26 10:31:32 · 384 阅读 · 0 评论