diff --git a/quickdialog/QRootBuilder.m b/quickdialog/QRootBuilder.m index c5758cb0..7e070f5b 100644 --- a/quickdialog/QRootBuilder.m +++ b/quickdialog/QRootBuilder.m @@ -58,6 +58,8 @@ + (void)trySetProperty:(NSString *)propertyName onObject:(id)target withValue:(i [target setValue:itemsTranslated forKeyPath:propertyName]; } else if ([value isKindOfClass:[NSDictionary class]]){ [target setValue:value forKeyPath:propertyName]; + } else if (value == [NSNull null]) { + [target setValue:nil forKeyPath:propertyName]; } else if ([value isKindOfClass:[NSObject class]]){ [target setValue:value forKeyPath:propertyName]; } else if (value == nil){