What is a category in objective c?



What is a category in objective c?..

Answer / Franklin Eric Kujur

"A category in Objective-C is a feature that allows you to add new methods, properties or categories to an existing class without modifying the original source code. Categories are defined in a .m file and include the @interface directive followed by a name enclosed in parentheses."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What is id?

1 Answers  


Explain what is the principle distinction between the function calls and messages?

1 Answers  


How to add custom cell in uitableview in objective c?

1 Answers  


How to convert data to string in objective c?

1 Answers  


What is delegate? Can delegates be retained?

1 Answers  


What is m files document management?

1 Answers  


Why create a custom view?

1 Answers  


What are the two types of tangible property?

1 Answers  


How to call objective c function in swift?

1 Answers  


Is objective c, a dynamic language? True/false, explain.

1 Answers  


What is id type in objective c?

1 Answers  


What is the protocol in objective c?

1 Answers  


Categories