cdts/xdts-ios 3/TreeHole/Code/Utility/MTPickerView/LocationPicker/FSLocationPickerView.h
2023-07-27 09:20:00 +08:00

32 lines
795 B
Objective-C

//
// LocationPickerView.h
// CustomPicker
//
// Created by ko1o on 2018/7/24.
// Copyright © 2018年 ko1o. All rights reserved.
//
#import <UIKit/UIKit.h>
@class FSLocationPickerView;
@protocol FSLocationPickerViewDelegate <NSObject>
@optional
- (void)fsLocationPickerView:(FSLocationPickerView *)pickerView locationInfo:(NSArray *)locationInfo;
@end
@interface FSLocationPickerView : UIView
- (void)showPickerViewWithProvince:(NSString *)province city:(NSString *)city area:(NSString *)area;
@property(nonatomic, readonly) UIPickerView *pickerView;
@property(nonatomic, copy) void(^locationPickerVauleDidChangeBlock)(FSLocationPickerView *pickerView, NSArray *locationInfo);
@property(nonatomic, weak) id<FSLocationPickerViewDelegate> delegate;
- (NSArray *)locationInfo;
@end