Explain how to call function in objective-c?
Answer / Bibin Abraham
To call a function in Objective-C, you typically use the dot notation or square bracket notation. Here's an example for both methods:nnDot Notation:n`[objectName methodName];`nSquare Bracket Notation:n`([objectName class]).methodName;`
| Is This Answer Correct ? | 0 Yes | 0 No |
How to add custom cell in uitableview in objective c?
What is a goal and objective?
Is objective c statically typed?
What is protocol in networking?
What is m script in matlab?
How do you check for leaks?
What is the major difference between objective c and swift?
What is the isa member?
What is an accessor method?
Is struct a class?
Who calls dealloc method? Can we implement dealloc in arc? If yes, what is the need to do that?
Mention whether nsobject is a parent class or derived class.