Category Archives: Fun

Apple’s hidden message to developers

While preparing source code for one of the next posts, I’ve found nice piece of Apple’s humour.

UIViewController class has this private method declared: -attentionClassDumpUser:yesItsUsAgain:althoughSwizzlingAndOverridingPrivateMethodsIsFun:itWasntMuchFunWhenYourAppStoppedWorking:pleaseRefrainFromDoingSoInTheFutureOkayThanksBye:

I would totally agree with them, don’t mess with internal methods.

P.S. There also some leftovers from bugfixing, I suppose: -_hackFor11408026_beginAppearanceTransition:animated: and

Who knows, what is behind rdar://11408026?