blob: 3ac063f621b235863696554f3a4f49e89401727b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
//
// NSMapTable+Subscripting.m
// SmartDeviceLink-iOS
//
// Created by Joel Fischer on 10/5/15.
// Copyright © 2015 smartdevicelink. All rights reserved.
//
#import "NSMapTable+Subscripting.h"
NS_ASSUME_NONNULL_BEGIN
@implementation NSMapTable (Subscripting)
- (void)setObject:(nullable id)anObject forKeyedSubscript:(id<NSCopying>)key {
[self setObject:anObject forKey:key];
}
- (nullable id)objectForKeyedSubscript:(id<NSCopying>)key {
return [self objectForKey:key];
}
@end
NS_ASSUME_NONNULL_END
|