标签:io ar sp on cti bs type nbsp c
- (instancetype) initWithDict:(NSDictionary *)dict
{
if (self = [super init]) {
self.answer = dict[@"answer"];
self.title = dict[@"title"];
self.icon = dict[@"icon"];
self.questions = dict[@"questions"];
}
return self;
}
+ (instancetype) questionWithDict:(NSDictionary *)dict
{
return [[self alloc] initWithDict:dict];
}
标签:io ar sp on cti bs type nbsp c
原文地址:http://www.cnblogs.com/loserof/p/4082580.html