On Feb 13, 2017, at 17:38 , Doug Hill <email@hidden> wrote:
I notice that the classes sometimes show properties as methods.
You didn’t say whether you’re talking about Swift or Obj-C, but I’m guessing Obj-C.
Looking at an existing project of mine, I see both P and M entries relating to properties in the symbol navigator. When I click on a P item, I’m taken to the @property declaration in the .h file. When I click on a M item, I’m taken to the (explicit) method implementation in the .m file. When appropriate, I have both items for the same symbol.
I’d assume that’s what’s going on in your case, but it’s murkier because (I guess) it’s going to depend on whether the property is implicitly synthesized, explicitly synthesized, explicitly implemented, and perhaps subtler conditions such as partial inheritance of accessors, or re-declarations in class extensions or categories.
In other words, what you’re seeing probably has a reason, but you’re going to have to take them on a case-by-case basis to work out what the reason is.
|