171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
|
- (OFObject <OFApplicationDelegate>*)delegate
{
return [[delegate retain] autorelease];
}
- (void)setDelegate: (OFObject <OFApplicationDelegate>*)delegate_
{
id old = delegate;
delegate = [delegate_ retain];
[old release];
}
- (void)run
{
[delegate applicationDidFinishLaunching];
}
|
<
|
|
>
|
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
|
- (OFObject <OFApplicationDelegate>*)delegate
{
return [[delegate retain] autorelease];
}
- (void)setDelegate: (OFObject <OFApplicationDelegate>*)delegate_
{
[delegate_ retain];
[delegate release];
delegate = delegate_;
}
- (void)run
{
[delegate applicationDidFinishLaunching];
}
|