Re: What are your tips for navigating the Xcode interface faster?
Re: What are your tips for navigating the Xcode interface faster?
- Subject: Re: What are your tips for navigating the Xcode interface faster?
- From: Jens Alfke <email@hidden>
- Date: Mon, 20 Aug 2012 15:18:59 -0700
On Aug 20, 2012, at 2:10 PM, Alex Zavatone < email@hidden> wrote: Huh? Just flip open the object in the variables pane of the debugger and you can see its instance variables. Or type "print *foo" and it'll print all the ivars of foo to the console.
Never works.
You're saying that flipping open the outline item for an object variable in the debugger doesn't work? That's weird. Is it just un-flippable, or do you get missing or bogus values?
(I wonder if this has something to do with declaring ivars in header files vs. .m files … I still put them in header files.)
If I have a class, and I po an instance of that class, no ivars get printed out to the console until I write a descriptor method for the class.
Well, yeah. The default implementation of -description just returns the object's class and address. It's intended that you override it if you want to provide a more detailed custom description.
—Jens |
_______________________________________________
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