• 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
Xcode Symbol Navigator Shows Properties as Methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Xcode Symbol Navigator Shows Properties as Methods
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: View subview buttons are all transparent
  • Next by Date: Re: View subview buttons are all transparent
  • Previous by thread: Re: View subview buttons are all transparent
  • Next by thread: Re: Xcode Symbol Navigator Shows Properties as Methods
  • Index(es):
    • Date
    • Thread