Skip to content

BeyChan/MYModel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

用法: 继承MYBaseModel 一般命名只要不是id,均可以自动转换成模型

@interface MYTestModel :MYBaseModel <NSCoding, NSCopying> @property (nonatomic, copy) NSString *name; @property (nonatomic, copy) NSString *userId; @end

@implementation MYTestModel @end

MYTestModel *model = [[MYTestModel alloc]initWithDataDic:@{@"name":@"json",@"userId":234}];

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published