会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
黄增松的技术博客
2013年开始开发iOS(oc+swift+flutter) QQ:759952579
博客园
首页
新随笔
联系
订阅
管理
2025年11月25日
yymodel 某个属性当iOS以int接受 而接口返回null,json解析会崩溃不
摘要: 使用 YYModel 时,如果接口返回 null而 iOS 端用 int类型接收,不会崩溃,但会有默认值。 YYModel 的处理机制 1. 基本数据类型(int/NSInteger等) @interface User : NSObject @property (nonatomic, ass
阅读全文
posted @ 2025-11-25 15:19 黄增松
阅读(5)
评论(0)
推荐(0)
公告