Category怎么使用

本篇内容主要讲解“Category怎么使用”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“Category怎么使用”吧!

typedef struct objc_category *Category;
struct objc_category {    char *category_name                           OBJC2_UNAVAILABLE; // 类别名称    char *class_name                              OBJC2_UNAVAILABLE; // 类名    struct objc_method_list *instance_methods     OBJC2_UNAVAILABLE; // 实例方法列表    struct objc_method_list *class_methods        OBJC2_UNAVAILABLE; // 类方法列表    struct objc_protocol_list *protocols          OBJC2_UNAVAILABLE; // 协议列表}

到此,相信大家对“Category怎么使用”有了更深的了解,不妨来实际操作一番吧!这里是亿速云网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!