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 |
What are nsautoreleasepool?
Mention whether nsobject is a parent class or derived class.
How declare methods in objective c? And how to call them?
What is toll-free bridging and when is it useful?
What is m file?
Can a static library (.a) contain resources like images, sound files etc?
What is gcd objective c?
What number distinctive annotations is accessible in objective-c?
What is the protocol in objective c?
What are the rules of variable?
What is objective c used for?
How to call methods in objective c?