[Drawkit] NSObject category method name issue
rudy
rudy at AmbrosiaSW.com
Fri Feb 19 14:22:58 PST 2010
Graham,
came across an interesting bug that's a result of DrawKit including a NSObject category and specifically the 'address' method.
so ultimately what was happening is this method was interfering with the returned results from the AddressBook APIs such that instead of email address and AIM addresses it was returning memory addresses instead, a quick search shows that - (NSString*)address isn't even being used anywhere? you should consider dk_* prefixing the method names in any of these wide-reaching categories, since it can have quite undesirable results (such as the NSObject case which resulted in these methods being added to every single class in the runtime).
-rudy
More information about the Drawkit
mailing list