Friday, February 6th, 2004
Method Swizzling is not for the faint of heart. I've been playing around with it a little bit with my NSTextView + ODB editing stuff, and I had a bug. I was swizzling dealloc. Safari crashed. Then I think the crash reporter crashed. Then the crash reporter tried to come up to report the crash reporter crashing (I think- it wasn't working correctly anyway). Then the UserNotificationCenter started spewing stuff in the the console. It wasn't good, don't try this at home kids.
Bug fixed. But I'm still veeeeery nervious, as I should be. But it's still fun. Objective-C is very, very cool. With categories and method swizzling, the sky is the limit.
-- posted 1:15 pm