???????????
????1>?????????
????1.?и????????????????????????????????????????????
????2.???????????????????????з???????????????????????????????????????????????????????????????????????????????????
????3.??ε???????????·?????????????????????????????????
????4.????·??????????????????????????????????????????
????5.??????????????С????·??????????????????
????6.????ж???????????????????????????????????????????????????????;??????????????????????????
????7.??????????????????????????????????
????2> ????????
????1.KVC????????
????1 - (instancetype) initWithDict:(NSDictionary *)Dict{
????2     //** ???????и?? */
????3     if (self = [super init]) {
????4         [self setValuesForKeysWithDictionary:Dict];
????5     }
????6     return self;
????7 }
????????setValuesForKeysWithDictionary:??????????????????е????????????????self????????У???????м??????????????м?????key???????????????????????????????????????????????????????????е???????????????????
????KVC?????????·??
????1 NSArray *array = [ persons valueForKeyPath: @“name”] KVC????·?????????????????????????????????????????????????????????
????2.???????????
????#pragma mark ??????

 

1 - (NSArray *)questions
2 {
3     if (_questions == nil) {
4         // 1.????plist
5         NSArray *tempArray = [NSArray arrayWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"questions" ofType:@"plist"]];
6
7         // 2.???????????
8         NSMutableArray *arrayM = [NSMutableArray array];
9         for (NSDictionary *dict in tempArray) {
10             [arrayM addObject:[HZHquestions questionWithDict:dict]];
11         }
12     _questions = arrayM;
13     }
14     return _questions;
15 }

???????ж???????????plist????????for?????????????飬????????鱣?浽????????????С?