Remove null values from results.
This commit is contained in:
1 parent
951971bdbd
commit
aa7d9cdfbe
3 files changed
+39
-8
No files matched your search
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user