65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
*category = @"";
*key = path;
return;
}
*category = [path substringWithRange: of_range(0, pos)];
*key = [path substringWithRange:
of_range(pos + 1, [path length] - pos - 1)];
}
- (void)setString: (OFString *)string
forPath: (OFString *)path
{
void *pool = objc_autoreleasePoolPush();
OFString *category, *key;
|
|
|
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
*category = @"";
*key = path;
return;
}
*category = [path substringWithRange: of_range(0, pos)];
*key = [path substringWithRange:
of_range(pos + 1, path.length - pos - 1)];
}
- (void)setString: (OFString *)string
forPath: (OFString *)path
{
void *pool = objc_autoreleasePoolPush();
OFString *category, *key;
|