36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
return self;
}
- (id)objectForKey: (id)key
{
id object;
if ([key conformsToProtocol: @protocol(NSBridging)])
key = [key OFObject];
object = [_dictionary objectForKey: key];
if ([object conformsToProtocol: @protocol(OFBridging)])
return [object NSObject];
return object;
}
- (NSUInteger)count
{
|
|
|
|
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
return self;
}
- (id)objectForKey: (id)key
{
id object;
if ([(NSObject*)key conformsToProtocol: @protocol(NSBridging)])
key = [key OFObject];
object = [_dictionary objectForKey: key];
if ([(OFObject*)object conformsToProtocol: @protocol(OFBridging)])
return [object NSObject];
return object;
}
- (NSUInteger)count
{
|