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

add some useful method to YYModel #208

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

Conversation

theSkyOfJune
Copy link

  1. 在YYModel协议中添加放方法+ (NSString *)mapperToKeyFromPropertyName:,
    用于属性名和字典key的统一转换
  2. 支持属性映射到json数组指定下标元素
  3. 添加NSString分类文件
  4. 可查看ViewController.m事例效果, 如果觉得有必要添加这些方法, 麻烦作者斟酌这些方法的实现是否最优, 也可查看这些方法的注释, 不过笔者的英语不是太好, 囧!
  5. 非常感谢作者给我们提供这么优秀的框架

1. 在YYModel协议中添加放方法`+ (NSString *)mapperToKeyFromPropertyName:`,
用于属性名和字典key的转换
2. 支持属性映射到json数组指定下标元素
3. 添加NSString分类文件
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