// // TFAppleSignManager.h // WXReader // // Created by 谢腾飞 on 2020/12/4. // Copyright © 2020 xtfei_2011@126.com. All rights reserved. // #import NS_ASSUME_NONNULL_BEGIN @class TFUserInfoManager; typedef NS_ENUM(NSUInteger, TFAppleSignState) { TFAppleSignStateLogin, TFAppleSignStateBinding }; @protocol TFAppleSignDelegate @optional - (void)appleSignResponseSuccess:(TFUserInfoManager *)userData; - (void)appleSignResponseFail:(NSString *)error; @end @interface TFAppleSignManager : NSObject @property (nonatomic ,weak) id delegate; interface_singleton - (void)tunedUpAppleSignWithState:(TFAppleSignState)state API_AVAILABLE(ios(13.0)); @end NS_ASSUME_NONNULL_END