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 |
Explain how the class “implementation” is represented in objective-c?
What is the difference between category and extension in objective c?
What is a delegate? Can you retain delegates?
What can objective c be used for?
Is objective c deprecated?
Explain how to call a function in objective-c?
What are the advantages of swift over objective c?
What is dictionary objective c?
What is a protocol in objective c?
Is swift objective c?
Is swift faster than objective c?
What is a block objective c?