I have a UIButton on which I set accessibilityLabel. Why can't the console find the availability label property when trying to print it using dot notation?
(lldb) po self.closeButton.accessibilityLabel error: property 'accessibilityLabel' not found on object of type 'UIButton *' error: 1 errors parsing expression (lldb) po [self.closeButton accessibilityLabel] topsecretlabel
accessibilityLabelnot a property UIButton. This is the method defined by the unofficial protocol UIAccessibilityto which it responds UIButton. lldbtends to be stricter with respect to these things than clang, and it is not strictly legal to invoke property through point notation.
accessibilityLabel
UIButton
UIAccessibility
lldb
, lldb. , UIButton ( NSObject). .
NSObject
, ObjC, - , . , , lldb , . , . . , , , ( .)
, , accessibilityLabel, . , clang , , . , accessibilityLabel UIAccessibility NSObject. , . , .
Source: https://habr.com/ru/post/1538906/More articles:VS 2012 does not create a dependent project - c ++Does UIImagePickerController work on an iOS device, but not on an iOS simulator? - iosGrunt task that can be run without arguments - node.jsxunit.net - double [,] comparison - unit-testingPlay sound files in python - pythonChanging syntax highlighting in NetBeans - syntax-highlightingIs a Java program intentionally populating PermGen? - javaHow to use scriptVariables in hive (AWS Data Pipeline) - amazon-web-servicesINSERT datetime с использованием now() с Go - mysqlОбъединение __table_args__ с ограничениями из классов mixin в SQLAlchemy - pythonAll Articles