2011-10-29

How does UIApplicationMain figure out its delegate?

I didn't mean to turn this blog into a list of bookmarks, but I was curious how my iOS app got from main.m to MyAppDeletegate.m, and this is just too good an explanation to not document:

http://oleb.net/blog/2011/06/app-launch-sequence-ios/

I found this when I was wondering, "How the hell does the UIApplicationMain figure out its delegate?" Hence, the title of this post. The answer is so simple and straightforward that it is stunning. Thanks in no small part to Ole Begemann, of course.

No comments:

Post a Comment