• 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: Wed, 22 Aug 2012 10:08:46 -0700


On Aug 22, 2012, at 5:24 AM, Alex Zavatone <email@hidden> wrote:

The trick (that only works in 4.4.1) is not to do po myclass, but to do po *myclass, and then you'll actually get a list of the variables in the class.

This doesn't work for me. Whereas 'print *myclass' does.

(lldb) po r
(FMResultSet *) $6 = 0x0000000101001620 <FMResultSet: 0x101001620>
(lldb) po *r
(FMResultSet) $7 = [no Objective-C description available]
(lldb) print r
(FMResultSet *) $8 = 0x0000000101001620
(lldb) print *r
(FMResultSet) $9 = {
  (NSObject) NSObject = {
    (Class) isa = FMResultSet
  }
  (FMDatabase *) parentDB = 0x000000010122ffb0
  (FMStatement *) statement = 0x00000001010021d0
  (NSString *) query = 0x00000001000fb378 @"SELECT sequence, revid, deleted FROM revs WHERE doc_id=? ORDER BY sequence DESC"
  (NSMutableDictionary *) columnNameToIndexMap = 0x0000000000000000
  (BOOL) columnNamesSetup = NO
}

In the emails in this thread, it seems like you're mixing up 'print' and 'po' — you do know they're different commands, right? You seem to treat them interchangeably. For instance here you refer to 'print' but the example you give clearly uses 'po'.

print *person gets the values of the variables within the class instance in the copy of 4.4.1 that I just installed, but still only displays this in Xcode 4.2:

po *person 
= {
  <NSObject> = {
    isa = 0x30d2c
  }, <No data fields>}


—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>)
 >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>)
 >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: Tom Seddon <email@hidden>)
 >Re: What are your tips for navigating the Xcode interface faster? (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: how to create and manage a UI of Interface builder with AppleScript?
  • 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