没有属性。category一般只使用扩展方法,可以使用全局变量,例如@inferface MyClass (xxx){ int num;}- (void)myFunc;但我曾用时出现莫名奇妙的数据错误,就不再用。