Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are some errors in there:

     // The UIApplicationDelegate protocol requires you implement this function. 
     // It will return our main UIWindow so the application (UIApplicationMain from main.m) 
     // knows where to start.
     - (UIWindow *) getMainWindow;

That's simply not true. There's no reference to getMainWindow in the Apple docs nor in UIKit, I've just examined the binaries. In fact, Apple's conventions state that getter methods don't have the "get" prefix, so if it existed it would be called just "mainWindow".


Hrm. Thanks, I'll look into it and correct it. I could have sworn it was necessary at one point...




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: