Answer Posted / Salil Kumar
In Objective-C, a category provides additional functionality to an existing class by adding new instance methods and/or class methods. The attributes of a category include: it must be declared with the @interface directive and should not have an instance variable declaration, it can only extend classes (not structures or unions), and its methods can access both public and private instance variables of the original class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category