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

Custom Data Formatter Question


  • Subject: Custom Data Formatter Question
  • From: Brent Marykuca <email@hidden>
  • Date: Tue, 19 Oct 2004 15:02:51 -0700

Hi folks,

I'm playing with Xcode's custom data formatters and have a question that I'm sure is easily answered.

I've created a new Carbon Application project and within the main() function I have a number of variables:

WindowRef window;
OSStatus err;
CFStringRef string = CFSTR("this is a cfstring");
char* foo = "this is a cstring";
Rect myRect = { 0, 1, 2, 3 };
FSRef myFSRef;

When I step through this code in the debugger, I note the following in the Summary column of the variable display part of the window:

(a) The char* and Rect variables are displayed as expected with the default summaries.

(b) The WindowRef, OSStatus, CFStringRef and FSRef variables' Summary columns contain a grayed-out custom format string, for example {(char*)DataViewersCarbonWindowRef($VAR, $ID)}:s.

My questions are: What causes the summary column to display a grayed-out format string rather than the variable summary, and how can I make these variables actually use these useful-looking formatting functions?

Thanks,

Brent Marykuca


_______________________________________________ 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
  • Prev by Date: Re: Accessing NSTextFields in cocoa
  • Next by Date: XCode has stopped drawing debugger window!
  • Previous by thread: Re: So Nobody knows XCode ClassPath, huh? How bout packages?
  • Next by thread: XCode has stopped drawing debugger window!
  • Index(es):
    • Date
    • Thread