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

NSString not working


  • Subject: NSString not working
  • From: Susan Granger <email@hidden>
  • Date: Mon, 20 Apr 2009 04:12:52 +0530

Hi,

I am unable to use NSString in my project.
But if i try it in other new project it works fine.
can any one help with this ?

char* tmp = "Blah";


NSString* str = [NSString stringWithCString:(const char*)tmp encoding:NSISOLatin1StringEncoding ];


After this, I get str = nil.


Thanks & Regards

Susan
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSString not working
      • From: Andy Lee <email@hidden>
    • Re: NSString not working
      • From: Alexander von Below <email@hidden>
  • Prev by Date: Re: commenting code using diagrams
  • Next by Date: Re: Resources flattened out into a single directory in the .app package
  • Previous by thread: AppleEvent quit instead of terminate?
  • Next by thread: Re: NSString not working
  • Index(es):
    • Date
    • Thread