11/24/2019 · In a nutshell, a direct method enables the definition of some special kinds of properties that will carry no Objective-C metadata attached to them and whose getter and setter methods will behave…
11/19/2019 · Direct Objective-C Properties. In a future compiler version: A direct property specifier is added ( @Property (direct) type name) These attributes / specifiers cause the method to have no associated Objective-C metadata (for the property or the method itself), and the calling convention to be a direct C function call.
of Objective-C methods. A message send of a direct method calls the implementation directly, as if it: were a C function, rather than using ordinary Objective-C method dispatch. This: is substantially faster and potentially allows the implementation to be inlined, but it also means the method cannot be overridden in subclasses or replaced, Objective-C is a general-purpose, object-oriented programming language that adds Smalltalk-style messaging to the C programming language. It was the main programming language supported by Apple for macOS, iOS, and their respective application programming interfaces (APIs), Cocoa and Cocoa Touch, until the introduction of Swift in 2014.. The language was originally developed in the early 1980s.
Swift, C, C++, Smalltalk, C#