Differences From Artifact [19d4bb0975]:
- File src/OFString.m — part of check-in [67917b918a] at 2010-06-12 20:47:29 on branch trunk — Move a few classes and categories so they have their own files. (user: js, size: 20461) [annotate] [blame] [check-ins using]
To Artifact [5d478c6564]:
- File src/OFString.m — part of check-in [aed0aea0b2] at 2010-07-02 21:56:12 on branch trunk — Add -[writeToFile:] to OFString. (user: js, size: 20684) [annotate] [blame] [check-ins using]
︙ | |||
1022 1023 1024 1025 1026 1027 1028 1029 | 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 | + + + + + + + + + + + + | @throw [OFOutOfRangeException newWithClass: isa]; num = newnum; } return num; } - (void)writeToFile: (OFString*)path { OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; OFFile *file; file = [OFFile fileWithPath: path mode: @"wb"]; [file writeString: self]; [pool release]; } @end |