一 、背景
model属性定义是一个耗时易错的过程。
如果能把这些重复枯燥易错的事交给工具来做,会大大提高开发效率。
Swift版本:https://github.com/Xcoder1011/SKGenerateModelTool
OC版:https://github.com/Xcoder1011/SKCodeBuilder
二 、简介

SKGenerateModelTool 具备以下优点:
-
支持通过URL链接或json字符串一键生成model文件
-
支持自定义model父类、自定义model前缀、自定义文件名、自定义作者名
-
支持OC / Swift
-
支持自定义输出文件夹路径
-
兼容YYModel / MJExtension / HandyJSON解析
-
兼容服务端返回“id”字段
- Supports one-click generation of model files through URL links or json strings
- Support custom model parent class, custom model prefix, custom file name, custom author name
- Support OC / Swift
- Support custom output folder path
- Compatible with YYModel / MJExtension analysis
- Compatible server returns "id" field

网友评论