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 nonatomic and strong in objective c?
What is an objective statement?
What is nsarray objective c?
What are the delegate?
What are the 5 principles of object oriented programming?
What is objective c good for?
What is an m file?
What are the types of ios binaries you can create using xcode?
Which language does apple use?
How to convert nsnumber to nsstring in objective c?
Is objective c deprecated?
What does nonatomic mean?