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 we can layout subviews in a view?
Why do we require class extension?
What is toll-free bridging?
What is responder chain?
What is dynamic dispatch method?
When is toll-free bridging useful?
What is a delegation protocol?
What are properties and instance variables in objective c and swift?
When should you call dealloc method?
Who introduced objective-c & when?
What is extern objective c?
Is objective c type safe language?