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 |
Which class is used to establish a connection between applications to the web server?
What is synchronized() block in objective c?
Does objective-c contain private strategies?
What is a hash string?
What is the point of closures?
Explain when to use nsarray and nsmutablearray. Which one is faster and threadsafe?
What is an example of category?
What is difference between mutable and immutable?
What is a nsstring?
How do I create an objective c class in xcode?
What’s the contrast between active, inactive, not-running, background and suspended execution states?
Explain the way messaging works in objective-c?