Explain what are the attributes of category?

devquora
devquora

Posted On: Feb 22, 2018

 

Characteristics of category incorporates:
  1. Even if you don’t have the first source code for execution, the category can be declared for any class
  2. Any strategies that you characterize in a category will be accessible to all cases of the first class and also any sub-classes for the first class
  3. At runtime, there is no variety between a technique affixed by a category and one that is implemented by an original class

    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 ..