• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSData


  • Subject: Re: NSData
  • From: Justin Spahr-Summers <email@hidden>
  • Date: Sun, 20 Feb 2005 19:00:04 -0600

NSString:
- (NSData *)dataUsingEncoding:(NSStringEncoding)encoding

and as for NSNumber, well, you'll have to figure out something else for that.

On Sun, 20 Feb 2005 16:42:10 -0800, Michael S. Swan <email@hidden> wrote:
> hello all,
>  I am trying to figure out how to add objects such as NSNumber, or NSString to an NSData or NSMutableData. The documentation is rather lacking. I found dataWithBytes: but I don't know if it will take an object or not, it seems as though there would be a dataWithObjects: method somewhere, perhaps even a appendDataWithObject: for NSMutabelData. After all NSArray, NSDictionary, and the like all have methods to add objects. I am sure this is a silly question and is due to my newbieness but any help would be apperciated.
>
> thanks,
> mike
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSData (From: "Michael S. Swan" <email@hidden>)

  • Prev by Date: NSData
  • Next by Date: Re: NSData
  • Previous by thread: NSData
  • Next by thread: Re: NSData
  • Index(es):
    • Date
    • Thread