Xcode Symbol Navigator Shows Properties as Methods
Xcode Symbol Navigator Shows Properties as Methods
- Subject: Xcode Symbol Navigator Shows Properties as Methods
- From: Doug Hill <email@hidden>
- Date: Mon, 13 Feb 2017 17:38:50 -0800
I'm trying to use Xcode's symbol navigator to browse my project's class hierarchy. I order to filter out a lot of noise, I created a new project and added just the source files I want to browse.
However, I notice that the classes sometimes show properties as methods. That is, has an "M" in front of the symbol. Sometimes these properties are listed as just the property name as the method name (presumably a getter), sometimes they are shown as setters (e.g. setPropertyName).
But the same listing will show some properties as properties. That is has a big "P" in front of the symbol.
All of the properties are declared using the @property syntax.
I'm curious why Xcode shows these properties as methods. There doesn't seem to be any pattern as to why a property will be listed as a getter/setter method or as a property.
Doug Hill
_______________________________________________
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