//
//  RankPickView.m
//  redstar
//
//  Created by admin on 15/12/17.
//  Copyright © 2015年 ZWF. All rights reserved.
//

#import "RankPickView.h"

@implementation RankPickView

- (instancetype)init
{
    self = [super init];
    if (self) {
        [self setup];
    }
    return self;
}

- (void)setup{
    self.pickerView = [[UIPickerView alloc] init];
    _pickerView.frame = CGRectMake(0, 30, kScreenWidth, 120);
    [self addSubview:_pickerView];
    
    self.okButton = [[UIButton alloc] init];
    _okButton.frame = CGRectMake(kScreenWidth - 60, 0, 60, 30);
    [_okButton setTitle:@"完成" forState:UIControlStateNormal];
    [_okButton setTitleColor:kLightBlack forState:UIControlStateNormal];
    _okButton.titleLabel.font = [UIFont systemFontOfSize:16.0];
    [self addSubview:_okButton];
    
}

@end
