We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--类拓展 不能给系统的类添加方法 这里是不是描述错了,应该是可以给系统类添加方法的吧? @liberalisman
The text was updated successfully, but these errors were encountered:
Extension一般用来隐藏类的私有消息,你必须有一个类的源码才能添加一个类的Extension,所以对于系统一些类,如NSString,就无法添加类扩展
Sorry, something went wrong.
@xluoyeyoushang 是的,我弄错了,应该是category可以添加方法
No branches or pull requests
--类拓展 不能给系统的类添加方法
这里是不是描述错了,应该是可以给系统类添加方法的吧?
@liberalisman
The text was updated successfully, but these errors were encountered: