News for hackers. Stuff that matters.
Re:Reader-submitted Objective-C / XCode tips of 2012 by stephth on Monday December 31, 2012 @03:54PM (#4990851)
Displaying his characteristic brilliance and familiarity of Cocoa internals Cédric Luthi submitted a reverse-engineered implementation of the NString equality methods. Fascinating!

Forgive my ignorance, but how do you go about and reverse engineer NSString equality? Looking at the code is interesting but what I'd really like to understand is where it comes from and how it was extracted; is it supposed to be close to the original implementation, is it an informed guess based on CFLite, ...? Please be patient and again forgive my ignorance.

Re:Reader-submitted Objective-C / XCode tips of 2012 by mayoff on Monday December 31, 2012 @05:20PM (#4991134)
He probably used Hopper, which he has tweeted about. http://www.hopperapp.com/
Re:Reader-submitted Objective-C / XCode tips of 2012 by mikeash on Monday December 31, 2012 @04:59PM (#4991065)
I can't say for sure, but I'd assume that he manually decompiled the code in the framework.