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: Alex Zavatone <email@hidden>
- Date: Tue, 21 Aug 2012 08:20:20 -0400
On Aug 20, 2012, at 7:05 PM, glenn andreas wrote:
>
> 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.
>
Ahhh, knowing that print actually uses introspection and po doesn't is very nice to know.
_______________________________________________
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