Re: Some advice requested on debugging a difficult problem. iOS.

Chris Hanson

On Mar 26, 2019, at 3:53 PM, Quincey Morris <quinceymorris@...> wrote:

Yes, unfortunately, that is the correct behavior. This is described here:

under “Search Pattern for the Basic Getter”, step 4:

The document you cite is about Key Value Coding, not about Objective-C properties. The latter are not implemented using the former.

If a @property declaration specifies a getter or setter method, the compiler will emit a call to that when dot syntax is used to access the property. Dot syntax does not use -valueForKey: or -setValue:forKey: under the hood, just straight objc_msgSend().

  — Chris

Join to automatically receive all group messages.