Hacker News new | ask | show | jobs
by wil_shipley 4575 days ago
Thank you so much! Unfortunately my [super init] thing is now wrong—Apple has modified the runtime and actually reserves the right to change the object returned by [super init] from the object you allocated.
1 comments

Ha. Hi Wil! Here's an updated link to the source code described there. Unfortunately it'd need some updating to compile - ObjC cut off access to the raw class structs in the runtime.

http://kenferry.com/temp/WilShipleyInitChallenge.zip

Man, I'd forgotten about that. I really have to update the old entries so they're easy to find and contain responses and are validated for Mavericks.
I just updated it for Mavericks, for the heck of it. The code got simpler.