上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: 1、安装 fastlane sudo gem install fastlane 或者 brew install fastlane 2、进入工程目录下 终端输入 fastlane init 接着输入3 然后control + c退出 接着编写 Fastfile文件 【钉钉】 Fastfile文件 de 阅读全文
posted @ 2022-02-09 15:10 ZhangShengjie 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 1、添加如下配置 pod 和 工程都需要修改 2、Podfile最后添加如下代码 post_install do |installer| installer.pods_project.build_configurations.each do |config| config.build_setting 阅读全文
posted @ 2021-12-13 10:08 ZhangShengjie 阅读(877) 评论(0) 推荐(0) 编辑
摘要: 方式一 1、新建一个framework 命名为test 2、将build archive architecture only 改成 NO 3、将Mach-O Type 改成 static Library 4、将要暴露的头文件拖到public header 里面去 5、将run的模式改成release 阅读全文
posted @ 2021-08-15 23:48 ZhangShengjie 阅读(339) 评论(0) 推荐(0) 编辑
摘要: ProtocolBuffer 简介 Protocol Buffer 是google 的一种数据交换的格式 Protocol Buffer 和 XML、JSON一样都是结构数据序列化的工具,但它们的数据格式有比较大的区别:首先,Protocol Buffer 序列化之后得到的数据不是可读的字符串,而是 阅读全文
posted @ 2021-07-22 22:15 ZhangShengjie 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 静态库相关命令 查看静态库架构 lipo -info ***.a 合并两个不同架构的库 lipo -create **.a **.a -output hecheng.a 阅读全文
posted @ 2021-07-21 22:45 ZhangShengjie 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 1、命令创建pod pod lib create pod的名字 2、根据指令依次填写信息 3、填写完成后会自动打开项目 、然后修改podspec文件即可 4、创建当前pod的git 仓库、将当前代码放入仓库 并打上和spec中version 对应的tag git remote add origin 阅读全文
posted @ 2021-07-06 10:56 ZhangShengjie 阅读(1567) 评论(0) 推荐(0) 编辑
摘要: 1、打开终端创建安装目录 sudo mkdir -p /opt/homebrew 2、修改目录权限 sudo chown -R $(whoami) /opt/homebrew 3、进入opt文件夹 cd /opt 4、安装homebrew curl -L https://github.com/Hom 阅读全文
posted @ 2021-05-14 14:30 ZhangShengjie 阅读(1459) 评论(0) 推荐(0) 编辑
摘要: 解决方案 安装ffi后sudo arch -x86_64 gem install ffi//第一次 需要 如下 后面 直接 pod install 就可以了arch -x86_64 pod install 将终端的rosetta 打钩 、重启终端、 让终端以之前inter处理器的形式去运行 阅读全文
posted @ 2021-05-13 14:31 ZhangShengjie 阅读(439) 评论(0) 推荐(0) 编辑
摘要: 消息机制: 调用任何方法的时候 其实都相当于给这个对象发送一个消息 举例 如下方法 #import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidL 阅读全文
posted @ 2021-04-27 12:08 ZhangShengjie 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 1、分类 category 分类的作用就是在不修改原有类的基础上,为一个类扩展方法,最主要的是可以给系统类扩展我们自己定义的方法 分类也能使用@property 添加属性 【通过runtime 关联对象实现】 需要手动写变量的setter和getter方法,否则添加的成员变量无法使用。因为在分类中不 阅读全文
posted @ 2021-03-24 15:45 ZhangShengjie 阅读(637) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
点击右上角即可分享
微信分享提示