注意点
1block里的return不是return外部方法的返回值,而是本block参数的返回值
[DJRealmManager queryObjsWithJsonArr:[DJDatas single].workStreamDatas Class:[DJWorkSection class] completion:^(NSArray *array) {
return array;
DJLog(@"come");
}];
1block里的return不是return外部方法的返回值,而是本block参数的返回值
[DJRealmManager queryObjsWithJsonArr:[DJDatas single].workStreamDatas Class:[DJWorkSection class] completion:^(NSArray *array) {
return array;
DJLog(@"come");
}];