GXFDisplayFunction.m 785 Bytes
Newer Older
freecui's avatar
freecui committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
//
//  GXFDisplayActions.m
//  XFFruit
//  显示有已有权限功能的信息
//  Created by freecui on 15/8/27.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#import "GXFDisplayFunction.h"

@implementation GXFDisplayFunction

+ (instancetype)initClassWithDictionary:(NSDictionary *)dict {
    return [self initClassWithDictionary:dict];
}
- (instancetype)initWithDictionary:(NSDictionary *)dict {
    self = [super init];
    if (!self) {
        return nil;
    } else {
21 22 23 24 25
        self.Id = [dict[@"id"] integerValue];
        self.functionName = dict[@"functionName"];
        self.functionImgName = dict[@"imgName"];
        self.isSelected = [dict[@"isSelected"] integerValue];
       // [self setValuesForKeysWithDictionary:dict];
freecui's avatar
freecui committed
26 27 28 29 30
    }
    
    return self;
}
@end