在声明的方法中想调用self=super.init,遇到错误. cannot assign to value:'self' is immutable
public class initWithData:NSObject{
func initWithDataModel(superID:Int,myID:Int,grade:Int,isOpen:Bool,showName:NSString,rightShowName:NSString){
if(self = super.init){
}
}
Pas besoin de juger, juste
super.init()
juste