iOS run snake

This commit is contained in:
pengfei.zhou
2019-07-31 19:22:00 +08:00
parent 5c1fc624ce
commit 2e7814b499
6 changed files with 350 additions and 328 deletions

View File

@@ -28,7 +28,7 @@ - (void)blendView:(UIView *)view forPropName:(NSString *)name propValue:(id)prop
NSInteger i;
for (i = 0; i< array.count; i++) {
NSDictionary *val = array[i];
if (!val) {
if (!val || (NSNull *)val == [NSNull null]) {
continue;
}
NSString *type = [val objectForKey:@"type"];