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 |
When should you call dealloc method?
Does objective c have multiple inheritance?
What are the rules for identifiers?
How we can layout subviews in a view?
What is block variable?
Is python static or dynamic?
When will you use nsarray and nsmutablearray?
What is atomic property?
Explain types of protocol?
What is the definition of an objective statement?
What is the purpose of managed object context (nsmanagedobjectcontext) in objective-c and how does it work?
Is objective c the same as c++?