1.最常用的初始化/**
初始化方法
@param type 类型
@return 对象
*/
- (instancetype)initWithType:(EnrollOrderViewControllerType)type
{
self = [super init];
if(self)
self.type = type;
}
return self;
2.
61.初始化方法
原文:https://www.cnblogs.com/qiangzheVSruozhe/p/9402475.html