You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
949 B

2 years ago
//
// CusDatePickerWithArea.h
// ProvinceAndCityAndTown
//
// Created by 冷求慧 on 16/12/27.
// Copyright © 2016年 冷求慧. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "CityModelData.h"
typedef void(^AreaBlock)(NSString *areaValue,NSString *selectIndexValue); // 区域回调Block
@interface CusDatePickerWithArea : UIView
-(instancetype)initWithFrame:(CGRect)frame cityData:(CityModelData *)cityData;
+(instancetype)cusDatePickerWithArea:(CGRect)frame cityData:(CityModelData *)cityData;
/**
*
*/
@property (nonatomic,strong)UIPickerView *pickerView;
/**
*
*/
@property (nonatomic,copy)AreaBlock areaValue;
/**
*
*
* @param firstRank
* @param secondRand
* @param thirdRand
*/
-(void)scrollToRow:(NSInteger)firstRank secondRand:(NSInteger)secondRand thirdRand:(NSInteger)thirdRand;
@end