What is the function of the category?
Answer / Pooja
In Objective-C, categories allow you to extend existing classes with new methods without modifying the original source code. Categories can define additional instance methods and class methods for a class. They are useful when you want to add functionality to an existing class without altering its original implementation.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is .m file in xcode?
When is toll-free bridging useful?
What is the difference between property and instance variable?
What is the difference between #import and #include in objective-c?
What is meant by not thread safe?
Why is objective c syntax so weird?
What is ivar objective c?
What are the 5 principles of object oriented programming?
What is thread safe function?
What is the use of category in objective-c?
What is the difference between weak and unowned?
What are the classifications of property?