Auto property synthesis will not synthesize property declared in protocol -- which one? [closed]

StackOverflow https://stackoverflow.com/questions/16355599

سؤال

It's nice that it tells that there is such a property that I have to synthesize, but is there any way I can figure out which one it is w/o going through the documentation? I'm implementing the UITextInput protocol and can't figure out what's missing.

هل كانت مفيدة؟

المحلول

You will have to explicitly synthesize all properties you inherit through conforming to a protocol. So just synthesize them all.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top