What is the principle distinction between the function calls and messages?
Answer / Praphull Kumar Mishra
In Objective-C, a function call is a direct invocation of a function using its name, followed by parentheses that contain any required arguments. A message, on the other hand, is a request sent to an object to perform a task or access its instance variables. Messages are sent using square brackets ([ ]) and are used to call methods in Objective-C.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why we use synthesize in objective c?
What is hashable?
What is meant by not thread safe?
How to add object to nsarray objective c?
Is objective c the same as c++?
What is difference between mutable and immutable?
Mention what is the primary use of the category in the objective-c?
What is an accessor method?
Is objective-c is used in window also?
What is difference between datasource and delegate?
What is the difference between nsdictionary and nsmutabledictionary?
What is synchronized() block in objective c?