Re: NSData category
Re: NSData category
- Subject: Re: NSData category
- From: Mike Abdullah <email@hidden>
- Date: Wed, 17 Feb 2010 17:02:13 +0000
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 (email@hidden)
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:
This email sent to email@hidden