How do you add a category in objective c?
Answer / Reena Singh
"To add a category in Objective-C, you can use the '@category' directive followed by the name of your category and the class it is being added to. For example: '@interface UIView (MyCategory) ... @end'"
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain when to use nsarray and nsmutablearray. Which one is faster and threadsafe?
Is objective-c is used in window also?
How would I make a static strategy?
What is difference between mutable and immutable?
Which class is used to establish a connection between applications to the web server?
What are the 5 principles of object oriented programming?
What are the rules of variable?
What is super in objective c?
Is swift faster than objective c?
When will you use nsarray and nsmutablearray? Which one is faster?
How do I create an objective c class in xcode?
Can we implement dealloc in arc? If yes, what is the need to do that?