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 |
Is c and objective c the same?
Why swift is faster than objective c?
What is objective c good for?
How do you get closure?
Explain what are the attributes of category?
What is atomic property?
Will objective c be deprecated?
Explain when to use nsarray and nsmutablearray. Which one is faster and threadsafe?
What are blocks and how are they used?
Is nsobject a parent class or a derived class?
How to initialize nsmutabledictionary in objective c?
What are class b properties?