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: glenn andreas <email@hidden>
- Date: Mon, 20 Aug 2012 18:05:24 -0500
On Aug 20, 2012, at 4:10 PM, Alex Zavatone <email@hidden> wrote:
>
> On Aug 20, 2012, at 4:58 PM, Jens Alfke 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.
>
> 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.
>
> po works fine to display the values in arrays and dicts, but not for custom classes. And I never get them listed in the debugger either.
>
"po foo" != "print *foo"
The former calls debugDescription, the latter uses introspection to examine and show the ivars and inheritance.
Glenn Andreas email@hidden
The most merciful thing in the world ... is the inability of the human mind to correlate all its contents - HPL
_______________________________________________
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