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
-_hackFor11408026_endAppearanceTransition.

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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s