• 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
Initializing a string with an NSData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Initializing a string with an NSData


  • Subject: Initializing a string with an NSData
  • From: Candide Kemmler <email@hidden>
  • Date: Fri, 29 Jun 2001 18:57:35 +0200

Hi,

The foundation docs states:

- (id)initWithData:(NSData *)data
encoding:(NSStringEncoding)encoding

Problem is: I don't know how to create a valid NSStringEncoding...

Sorry for the stupid question, I'm just a beginner. BTW, I'm looking for
a good introduction to Objective-C for a non-C programmer (I'm a Java
programmer). Don't really know how to handle the * thing (pointers...).

Thanks,

Candide


  • Follow-Ups:
    • Re: Initializing a string with an NSData
      • From: Peter Ammon <email@hidden>
    • Re: Initializing a string with an NSData
      • From: Aki Inoue <email@hidden>
    • Re: Initializing a string with an NSData
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: stream io & ObjC
  • Next by Date: Re: NSStringAdditions drawAtPoint
  • Previous by thread: Re: stream io & ObjC
  • Next by thread: Re: Initializing a string with an NSData
  • Index(es):
    • Date
    • Thread