Differences From Artifact [1b2b877044]:
- File src/OFString.m — part of check-in [f9c673f241] at 2009-06-18 18:42:16 on branch trunk — Preliminary OFXMLElement implementation. (user: js, size: 8180) [annotate] [blame] [check-ins using]
To Artifact [98df1c138a]:
- File
src/OFString.m
— part of check-in
[67bb344ba6]
at
2009-06-30 12:07:21
on branch trunk
— A few renames in OFObject, see details.
* +[conformsTo:] to +[conformsToProtocol:].
* -[isKindOf:] to -[isKindOfClass:].
* -[respondsTo:] to -[respondsToSelector:].
* -[conformsTo:] to -[conformsToProtocol:].
* -[methodFor:] to -[methodForSelector:]. (user: js, size: 8190) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
277 278 279 280 281 282 283 | - (id)mutableCopy { return [[OFMutableString alloc] initWithString: self]; } - (BOOL)isEqual: (id)obj { | | | | 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 | - (id)mutableCopy { return [[OFMutableString alloc] initWithString: self]; } - (BOOL)isEqual: (id)obj { if (![obj isKindOfClass: [OFString class]]) return NO; if (strcmp(string, [obj cString])) return NO; return YES; } - (int)compare: (id)obj { if (![obj isKindOfClass: [OFString class]]) @throw [OFInvalidArgumentException newWithClass: isa andSelector: _cmd]; return strcmp(string, [obj cString]); } - (uint32_t)hash |
︙ | ︙ |