IOS语法
2017-07-15
NSDictionary里要用到的类型转换 [NSNumber numberWithInt: 89]
2017-12-10
定义一个Block的写法
typedef void (^BMKLocatingCompletionBlock)(BMKLocation * _Nullable location, BMKLocationNetworkState state , NSError * _Nullable error);
2018-04-04
NSDictionary *ret = @{@"code":@0, @"dB": @dB};
报Collection element of type 'double' is not an Objective-C object
改成下面就好了
NSDictionary *ret = @{@"code":@0, @"dB": @(dB)};
2018-06-25
[NSString stringWithFormat:@"%@,%@", @"发生错误", [error description]];
posted on 2017-07-15 12:37 angelshelter 阅读(224) 评论(0) 编辑 收藏 举报