• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSData category
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSData category (From: Torsten Curdt <email@hidden>)

  • Prev by Date: Re: Overriding NSMenuItem's drawing
  • Next by Date: Re: alternative to NSMatrix due to cell size restriction
  • Previous by thread: Re: NSData category
  • Next by thread: Using a Private Framework in Mac application
  • Index(es):
    • Date
    • Thread