Explain the way messaging works in objective-c?
Answer / Shailendra Kumar Mishra
In Objective-C, message passing is the process of sending a message to an object. The message consists of a selector (method name) and arguments, which are passed as objects. An object can respond to a message if it implements the method corresponding to the selector. If it does not, then the message is sent to its superclass until a matching method is found or an error occurs.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain types of protocol?
Does objective c have multiple inheritance?
What is enum constant?
Can a protocol have properties?
What is kvc and kvo?
Is objective c similar to java?
what is gcd? What are advantages over nsthread?
Why swift is faster than objective c?
Explain how the class “implementation” is represented in objective-c?
What is objective c & why it is used for?
Explain how to call function in objective-c?
What is difference between method and constructor?