Differences From Artifact [e27d763715]:
- File src/OFApplication.m — part of check-in [062a052b50] at 2010-04-17 15:46:34 on branch trunk — Don't return self where not necessary, return void or something useful. (user: js, size: 2383) [annotate] [blame] [check-ins using]
To Artifact [cbba891989]:
- File
src/OFApplication.m
— part of check-in
[37db8f0fb3]
at
2010-04-17 22:27:17
on branch trunk
— New ivar naming convention.
ivars are now named like this: thisIsAnIVar. If an accessor exists for
the ivar, the ivar is named like the accessor. This is required for
@property to work. (user: js, size: 2392) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
90 91 92 93 94 95 96 | - (void)setArgumentCount: (int)argc andArgumentValues: (char**)argv { OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; int i; | | | | | 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | - (void)setArgumentCount: (int)argc andArgumentValues: (char**)argv { OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; int i; [programName release]; [arguments release]; programName = [[OFString alloc] initWithCString: argv[0]]; arguments = [[OFMutableArray alloc] init]; for (i = 1; i < argc; i++) [arguments addObject: [OFString stringWithCString: argv[i]]]; [pool release]; } - (OFString*)programName { return [[programName retain] autorelease]; } - (OFArray*)arguments { return [[arguments retain] autorelease]; } |
︙ | ︙ |