• 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: Luca Ciciriello <email@hidden>
  • Date: Thu, 27 Nov 2008 19:58:59 +0000
  • Importance: Normal

Thanks Mattias, UTF8String has solved my problem.Bye.Luca> Date: Thu, 27 Nov 2008 20:54:11 +0100> From: email@hidden> To: email@hidden> Subject: Re: cString> CC: email@hidden> > On Thu, Nov 27, 2008 at 20:48, Luca Ciciriello> <email@hidden> 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?> > Hi Luca,> > Have you noticed that you can hold down the ALT modifier key and> double click on a method name to bring up the relevant documentation> for that method? If you do that on "cString", you'll see something> like this:> > "Returns a representation of the receiver as a C string in the default> C-string encoding. (Deprecated in Mac OS X v10.4. Use> cStringUsingEncoding: or UTF8String instead.)"> > Regards> Mattias
_________________________________________________________________
See the most popular videos on the web
http://clk.atdmt.com/GBL/go/115454061/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

References: 
 >cString (From: Luca Ciciriello <email@hidden>)
 >Re: cString (From: "Mattias Arrelid" <email@hidden>)

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