What is an example of category?
Answer / Dilip Kumar Baskey
A simple example of a category in Objective-C would be adding new methods to the existing NSObject class: @interface NSObject (MyCategory) - (void)myMethod; @end
| Is This Answer Correct ? | 0 Yes | 0 No |
List out the methods used in nsurl connection?
What is a class property?
How to print string in objective c?
Is c and objective c the same?
How to use swift protocol in objective c?
What is instancetype?
What is a delegate in objective c?
What is main storyboard?
Explain the difference between uiwindow and uiview?
What is strong and weak in objective c?
Is struct a class?
What are the main objectives of training?