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

Data formatters


  • Subject: Data formatters
  • From: David Niemeijer <email@hidden>
  • Date: Mon, 11 Oct 2004 12:39:12 +0200

Hi,

I am pretty new to Xcode and running into some questions regarding data formatters. I could not find much of an archive for this list so please either explain to me how I can find anything but a browser for the last two months or forgive me for asking something that may have been discussed before.

I am using Xcode 1.5 and have made a small command line tool that uses c++, Carbon and CoreFoundation. While I was debugging it I noticed that instead of displaying the value of a CFString the debugger would show "{(char *)Xcode_CFStringSummary($VAR, $ID)}:s" in the summary column. Why is it displaying the contents of the data formatter instead of formatting the data, anything I need to do to see the contents of the string? (note that the string is within scope and outputs correctly to cout.

Also, how would I make a formatter to display the file name for a HFSUniStr255?

Finally, another, unrelated question. I notice cout calls during debuggin are going to the Debugger Console, but only after my app has terminated. do I need to flush after each call to cout to see the result?

Thanks,

david.
_______________________________________________
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: Data formatters
      • From: Alexey Proskuryakov <email@hidden>
  • Prev by Date: Re: Xcode subproject bug ?
  • Next by Date: Re: Data formatters
  • Previous by thread: Re: Xcode Tutorials (File Reading) ?
  • Next by thread: Re: Data formatters
  • Index(es):
    • Date
    • Thread