Remove null values from results.

This commit is contained in:
Damiano Galassi committed 2017-05-28 09:25:23 +02:00
1 parent 951971bdbd
commit aa7d9cdfbe
3 files changed
+39 -8

No files matched your search

+1 -1
View File
@@ -181,7 +181,7 @@ static NSDictionary<NSString *, NSString *> *localizedKeys;
return _tags[key];
}
- (void)setObject:(id)obj forKeyedSubscript:(NSString *)key
- (void)setObject:(nullable id)obj forKeyedSubscript:(NSString *)key
{
if (obj == nil) {
[self removeTagForKey:key];