摘要:
Designated Initializer不稳定的传送门合成属性Properties don’t always have to be backed by their own instance variables.As an example, theXYZPersonclass might defi... 阅读全文
摘要:
1.分类里面只新增函数,不要新增变量;虽然新增是语法合法的,但是编译器并不会为你的property合成相应的成员变量、setter和getterCategories can be used to declare either instance methods or class methods but... 阅读全文