NSNull: Implement valueForUndefinedKey and return [NSNull null]

This commit is contained in:
hmelder 2023-12-09 20:01:57 +01:00 committed by Hugo Melder
parent 08858caf29
commit 61bb82e902

View file

@ -87,6 +87,10 @@ static NSNull *null = 0;
return @"<null>";
}
- (id) valueForUndefinedKey: (NSString*)aKey {
return null;
}
- (void) encodeWithCoder: (NSCoder*)aCoder
{
}