NSDictionary初始化方法:
[NSDictionary dictionaryWithObjectsAndKeys: ]--标准方法
NSDictionary *dic = @{@"key":value}--当value值为空时会引发崩溃,进行非空判断
NSDictionary初始化方法:
[NSDictionary dictionaryWithObjectsAndKeys: ]--标准方法
NSDictionary *dic = @{@"key":value}--当value值为空时会引发崩溃,进行非空判断
转载于:https://www.cnblogs.com/hanyutong/p/4533842.html