What is the function of the category?



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

Post New Answer

More Objective-C Interview Questions

What is a dispatch method?

1 Answers  


What is block in objective c?

1 Answers  


How to check array contains value in objective c?

1 Answers  


What is the difference between property and instance variable?

1 Answers  


What is a block objective c?

1 Answers  


What do you mean by cocoa?

1 Answers  


What is an instancetype?

1 Answers  


Can you write setter method for a retain property?

1 Answers  


How do you write an objective statement?

1 Answers  


What is posing in objective c?

1 Answers  


What is nsarray objective c?

1 Answers  


What is a delegation protocol?

1 Answers  


Categories