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 |
Can you use objective c in swift?
What is objective c and swift?
What is a protocol in objective c?
What do you mean by cocoa?
How do I import a swift file into objective c?
What is atomic property?
How is string represented in objective-c?
Explain the difference in xib/storyboard vs nib?
What is objective c runtime?
What do you mean by @synthesize and @dynamic in the objective-c?
Can we have multiple uiwindows in ios?
How do I create a bridging header file?