Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加字典数组转模型数组的方法 #253

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jiaair
Copy link

@jiaair jiaair commented Dec 7, 2017

提供包含字典数组的转换方法:

  • (NSMutableArray *)yy_modelArrayWithKeyValueArray:(NSArray *)keyValueArray;
    递归调用+ (instancetype)yy_modelWithDictionary:(NSDictionary *)dictionary方法不改变原有嵌套结构,如果元素不是字典则返回一个没有默认值的模型实例。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant