• 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's the point of @properties?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's the point of @properties?


  • Subject: Re: What's the point of @properties?
  • From: Antonio Nunes <email@hidden>
  • Date: Mon, 20 Sep 2010 12:46:10 +0100

On 20 Sep 2010, at 11:47, Chris Hanson wrote:

> GDB doesn’t support dot syntax for invoking property getters, so you just need to use bracket syntax when doing it:

Maybe Stefan meant rather that the ivars do not show up in the debugger window. It's a real pain to have to go to the console every time you want to know the value of an ivar, when stepping through your code. I was highly surprised by this behaviour when I first ran into it, and it is the single most important reason why I continue to declare ivars in the @interface block in projects where I otherwise would not have to.

António

-----------------------------------------------------------
Don't believe everything you think
-----------------------------------------------------------




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: What's the point of @properties?
      • From: Stefan Nobis <email@hidden>
References: 
 >What's the point of @properties? (From: Jim Thomason <email@hidden>)
 >Re: What's the point of @properties? (From: Markus Spoettl <email@hidden>)
 >Re: What's the point of @properties? (From: Bill Bumgarner <email@hidden>)
 >Re: What's the point of @properties? (From: Stefan Nobis <email@hidden>)
 >Re: What's the point of @properties? (From: Chris Hanson <email@hidden>)

  • Prev by Date: NSView resizing problems.
  • Next by Date: re; Distributed object vending problem
  • Previous by thread: Re: What's the point of @properties?
  • Next by thread: Re: What's the point of @properties?
  • Index(es):
    • Date
    • Thread