On 16 Feb 2010, at 13:21, Torsten Curdt wrote: > I am really really irritated. Got an iPhone project. Got quite some > categories with additions to the standard APIs. All good. > Just the darn NSData refuses to accept the category ... and I have no > clue why. It's as simple as > > @interface NSData (NSDataAdditions) > + (id) dataWithHexString:(NSString*)theHex; > - (NSString*) hexString; > @end > > I've tried prefixing the methods, I've use a more exotic category name > than just NSDataAdditions.
The "NS" prefix is reserved by Apple. Feel free to name it TCDataAdditions, but NSAnything is a bad idea._______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com