The declaration of a category interface looks very much like a class interface declaration.
Except the category name is listed within parentheses after the class name and the superclass isn’t mentioned .
Class extensions are like anonymous categories,except that the methods they declare must be implemented in the main @implementation block for the corresponding class.
Except the category name is listed within parentheses after the class name and the superclass isn’t mentioned .
Class extensions are like anonymous categories,except that the methods they declare must be implemented in the main @implementation block for the corresponding class.
No comments:
Post a Comment