Mention what is the primary use of the category in the objective-c?
Answer / Sapna Gupta
"Categories allow you to add new methods or properties to existing classes without subclassing. This helps to avoid cluttering your code with multiple subclasses and provides a way to add functionality to built-in classes like NSString, UIView, etc."
| Is This Answer Correct ? | 0 Yes | 0 No |
What is better objective c or swift?
What is synthesized in objective-c?
What is nsstring?
Who calls dealloc method?
What is 'protocol' on objective c?
What is the difference between method and type?
Tell me something about objective-c blocks?
Can you use objective c in swift?
What is data encapsulation in objective-c?
Explain mutable types in objective c programming language?
How to convert string to nsnumber in objective c?
What are benefits of collections views?