Differences From Artifact [4cc1491a54]:
- File
src/OFApplication.m
— part of check-in
[e2b06423e0]
at
2010-09-05 23:19:08
on branch trunk
— Replace OFObject* with id in many places.
We assume now that every object understands retain, release, etc. so
that we can weaken the type from OFObject* to id. This makes it
possible to use different root object classes. (user: js, size: 3553) [annotate] [blame] [check-ins using]
To Artifact [25c84d10d2]:
- File src/OFApplication.m — part of check-in [db16146ca3] at 2010-10-05 19:37:23 on branch trunk — Messaging nil allows this to be shortened. (user: js, size: 3510) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
37 38 39 40 41 42 43 | [delegate applicationWillTerminate]; } int of_application_main(int argc, char *argv[], Class cls) { | | | < < < < < | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | [delegate applicationWillTerminate]; } int of_application_main(int argc, char *argv[], Class cls) { OFApplication *app = [OFApplication sharedApplication]; id <OFApplicationDelegate> delegate = [[cls alloc] init]; [app setArgumentCount: argc andArgumentValues: argv]; [app setDelegate: delegate]; [(id)delegate release]; |
︙ | ︙ |