// // SPSBPickerViewManager.h // 我的社保 // // Created by shanp on 2021/5/14. // #import #import 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 *)types; - (void)showPickerViewWithType:(SPSBPickerViewType)type defaultValue:(nullable NSString *)defaultValue complete:(void (^)(SPSBPickerViewResult result))complete; @end NS_ASSUME_NONNULL_END