Mention what is the primary use of the category in the Objective-C?

devquora
devquora

Posted On: Feb 22, 2018

 

The primary purpose of the category in the Objective-C is to expand a current class by adding behavior that is valuable just in specific circumstances. To add the extension to the existing classes, objective – C gives extensions and categories. The syntax which is used to characterize it is the @interface keyword.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Objective C Interview Questions

    Tell me something about Objective-C blocks?

    In the Objective-C class, there are a question that combines data with its related behavior. It empowers you to form pa..

    Objective C Interview Questions

    Tell me about important protocol being used in Objective C?

    In Objective-C, the protocol is the language include, that gives the multiple inheritances in the single inheritance la..

    Objective C Interview Questions

    How would I make a static strategy?

    Methods are actualized continuously in Objective-C as static functions. The best way to acquire the IMP of a technique ..