Cannot assign to 'self' outside of a method in the init family
实例化函数名的开头必须是initxxxx且是小写开头:如下
+ (instancetype)fooWithBar:(NSInteger)bar;
+ (instancetype)initWithBar:(NSInteger)bar;
Cannot assign to 'self' outside of a method in the init family
实例化函数名的开头必须是initxxxx且是小写开头:如下
+ (instancetype)fooWithBar:(NSInteger)bar;
+ (instancetype)initWithBar:(NSInteger)bar;
本文标题:Cannot assign to 'self' outside
本文链接:https://www.haomeiwen.com/subject/gickjktx.html
网友评论