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

Re: cString


  • Subject: Re: cString
  • From: Scott Andrew <email@hidden>
  • Date: Thu, 27 Nov 2008 11:56:29 -0800

Depending on you neeeds you can use cStringUsingEncoding: or if you are ok using UTF8 encoded strings -UTF8String. The NSString documentation clearly states this.

Scott

On Nov 27, 2008, at 11:48 AM, Luca Ciciriello wrote:


Hi All.Recently I've installed the new Xcode 3.1.2 and I've removed my old Xcode 2.5.I've compiled with Xcode 3.1.2 (using the optional compiler GCC 4.2) one of the my Objective-C++ project. No problem, but I've got a warning about the code line: string elem = [[[gridArrayObjc objectAtIndex:i] stringValue] cString];The warning is: "Warning: 'cString' is deprecated [...]". Well, in which way can I modify my code line in order to eliminate the deprecated cString? Thanks in advance for any answer.Luca.www.mitosrl.com
_________________________________________________________________
Win £1000 John Lewis shopping sprees with BigSnapSearch.com
http://clk.atdmt.com/UKM/go/117442309/direct/01/_______________________________________________


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

_______________________________________________

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: 
 >cString (From: Luca Ciciriello <email@hidden>)

  • Prev by Date: Re: cString
  • Next by Date: RE: cString
  • Previous by thread: RE: cString
  • Next by thread: registerDefaults error and NSCoding protocol
  • Index(es):
    • Date
    • Thread