【文件属性】:
文件名称:ModelCoder:ModelCoder可以通过JSON字符串自动生成Objective-C代码
文件大小:43KB
文件格式:ZIP
更新时间:2021-06-27 11:31:03
Objective-C
模型编码器
ModelCoder 可以通过 JSON 字符串自动生成 Objective-C 代码。
####json一键转换为EasyIOS中Model类的工具。
##用法
1.安装Homebrew
如果你安装了homebrew ,直接跳到第二步
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2.安装objc-run
如果你安装了objc-run ,直接跳到第三步
brew install objc-run
找到 objc-run 路径并确保可执行位设置如下:
chmod u+x objc-run
3.curl下载main.m
如果你已经下载了main.m ,直接跳到第四步
curl -O https://raw.githubu
【文件预览】:
ModelCoder-master
----main.m(323B)
----Base()
--------JSONKit()
--------MakeFile()
----ModelCoder.podspec(826B)
----LICENSE(1KB)
----README.md(1KB)
----strings()
--------m.strings(215B)
--------h.strings(250B)