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

Re: Xcode Symbol Navigator Shows Properties as Methods


  • Subject: Re: Xcode Symbol Navigator Shows Properties as Methods
  • From: Quincey Morris <email@hidden>
  • Date: Mon, 13 Feb 2017 19:48:06 -0800

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.

 _______________________________________________
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: Doug Hill <email@hidden>
References: 
 >Xcode Symbol Navigator Shows Properties as Methods (From: Doug Hill <email@hidden>)

  • Prev by Date: Re: [admin] Apple Mailing List Web Links Failing
  • Next by Date: Re: Xcode Symbol Navigator Shows Properties as Methods
  • Previous by thread: Xcode Symbol Navigator Shows Properties as Methods
  • Next by thread: Re: Xcode Symbol Navigator Shows Properties as Methods
  • Index(es):
    • Date
    • Thread