• 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
Re: What are your tips for navigating the Xcode interface faster?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: What are your tips for navigating the Xcode interface faster?
      • From: Alex Zavatone <email@hidden>
References: 
 >What are your tips for navigating the Xcode interface faster? (From: Alex Zavatone <email@hidden>)
 >Re: What are your tips for navigating the Xcode interface faster? (From: Jens Alfke <email@hidden>)
 >Re: What are your tips for navigating the Xcode interface faster? (From: Alex Zavatone <email@hidden>)
 >Re: What are your tips for navigating the Xcode interface faster? (From: Jens Alfke <email@hidden>)
 >Re: What are your tips for navigating the Xcode interface faster? (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: Programmatically accessing Xcode specific label?
  • Next by Date: Re: What are your tips for navigating the Xcode interface faster?
  • Previous by thread: Re: What are your tips for navigating the Xcode interface faster?
  • Next by thread: Re: What are your tips for navigating the Xcode interface faster?
  • Index(es):
    • Date
    • Thread