Monday, 9 March 2015

Objective-c Category



You may find @interface xxx in your .h file and it also appears in .m file.

Why the interface is defined twice?

Actually,  the @interface in .m file is a Category.

functions in is category are private functions.


No comments:

Post a comment