TCModel 2.0.4× TestsTested ✗ LangLanguage Obj-CObjective C License MIT ReleasedLast Release Oct 2017Maintained by ctc.Installation Guide×Installation Guide for TCModelYou want to add pod 'TCModel', '~> 2.0' similar to the following to your Podfile:target 'MyApp' do pod 'TCModel', '~> 2.0' endThen run a pod install inside your terminal, or from CocoaPods.app.Alternatively to give it a test run, run the command:pod try TCModelSee PodspecGitHub RepoPage on CocoaPods.orgTCModel 2.0.4Byctcctc1991/TCModelGitHub Repo A class to handle json and model. 使用方法 2.手动拖入TCCategory文件夹 #import "TCModel.h" ##注意 基于TCModel的model都会在初始化中初始化每个属性,以保证使用model的过程中,不会因为nil而崩溃,也使得显示数据的时候最坏的情况也就是空字符和0,而不会出现尴尬的null。 目前只能对简单结构的model归档读档。