12345678910111213141516171819202122232425262728293031 |
- //
- // SPSBPickerViewManager.h
- // 我的社保
- //
- // Created by shanp on 2021/5/14.
- //
- #import <UIKit/UIKit.h>
- #import <JXHMacro.h>
- NS_ASSUME_NONNULL_BEGIN
- typedef NSString * SPSBPickerViewType;
- UIKIT_EXTERN SPSBPickerViewType const SPSBPickerViewTypeMailAddress;
- typedef struct SPSBPickerViewResult {
- NSString *spsb_showData;
- NSString *spsb_uploadData;
- } SPSBPickerViewResult;
- @interface SPSBPickerViewManager : NSObject
- @property (nonatomic, weak) UIViewController *spsb_controller;
- - (instancetype)initWithTypes:(NSArray<SPSBPickerViewType> *)types;
- - (void)showPickerViewWithType:(SPSBPickerViewType)type defaultValue:(nullable NSString *)defaultValue complete:(void (^)(SPSBPickerViewResult result))complete;
- @end
- NS_ASSUME_NONNULL_END
|