// // RQConstant.h // RQCommon // // Created by 张嵘 on 2018/11/13. // Copyright © 2018 张嵘. All rights reserved. // #import #import /// Block typedef void (^VoidBlock)(void); typedef BOOL (^BoolBlock)(void); typedef int (^IntBlock) (void); typedef NSInteger (^IntegerBlock) (void); typedef id (^IDBlock) (void); typedef void (^VoidBlock_int)(int); typedef BOOL (^BoolBlock_int)(int); typedef int (^IntBlock_int) (int); typedef NSInteger (^IntegerBlock_int) (int); typedef id (^IDBlock_int) (int); typedef void (^VoidBlock_integer)(NSInteger); typedef BOOL (^BoolBlock_integer)(NSInteger); typedef int (^IntBlock_integer) (NSInteger); typedef NSInteger (^NSIntegerBlock_integer) (NSInteger); typedef id (^IDBlock_integer) (NSInteger); typedef void (^VoidBlock_string)(NSString *); typedef BOOL (^BoolBlock_string)(NSString *); typedef int (^IntBlock_string) (NSString *); typedef NSInteger (^IntegerBlock_string) (NSString *); typedef id (^IDBlock_string) (NSString *); typedef void (^VoidBlock_id)(id); typedef BOOL (^BoolBlock_id)(id); typedef int (^IntBlock_id) (id); typedef NSInteger (^IntegerBlock_id) (id); typedef id (^IDBlock_id) (id); typedef void (^VoidBlock_Bool)(BOOL); #pragma mark - 应用相关的 /// 切换根控制器的通知 新特性 FOUNDATION_EXTERN NSString * const RQSwitchRootViewControllerNotification; /// 切换根控制器的通知 UserInfo key FOUNDATION_EXTERN NSString * const RQSwitchRootViewControllerUserInfoKey; /// 插件Switch按钮值改变 FOUNDATION_EXTERN NSString * const RQPlugSwitchValueDidChangedNotification; /// 切换首页的通知 FOUNDATION_EXTERN NSString * const RQSwitchHomePageViewControllerNotification; /// 切换首页的通知 UserInfo key FOUNDATION_EXTERN NSString * const RQSwitchHomePageViewControllerUserInfoKey; /// 切换个人页的通知 FOUNDATION_EXTERN NSString * const RQSwitchProfilePageViewControllerNotification; /// 切换个人页的通知 UserInfo key FOUNDATION_EXTERN NSString * const RQSwitchProfilePageViewControllerUserInfoKey; /// Loding通用标题 FOUNDATION_EXTERN NSString * const RQLodingCommonTitleString; /// 全局分割线高度 .5 FOUNDATION_EXTERN CGFloat const RQGlobalBottomLineHeight; /// 个性签名的最大字数为30 FOUNDATION_EXTERN NSUInteger const RQFeatureSignatureMaxWords; /// 用户昵称的最大字数为20 FOUNDATION_EXTERN NSUInteger const RQNicknameMaxWords; /// 隐私协议地址 FOUNDATION_EXTERN NSString * const RQPrivateGuardUrl; /// 国家区号 FOUNDATION_EXTERN NSString * const RQMobileLoginZoneCodeKey ; /// 手机号码 FOUNDATION_EXTERN NSString * const RQMobileLoginPhoneKey ; /// 密码 FOUNDATION_EXTERN NSString * const RQMobileLoginPasswordKey; /// 验证码 FOUNDATION_EXTERN NSString * const RQCaptchaKey ; /// 验证码时间 FOUNDATION_EXTERN NSUInteger const RQCaptchaFetchMaxWords; /// 温州人脸比对次数 FOUNDATION_EXTERN NSUInteger const RQWenZhouFaceNum; /// 莆田人脸比对次数 FOUNDATION_EXTERN NSUInteger const RQPuTianFaceNum; /// 微信支付状态 typedef NS_ENUM(NSInteger, RQWeChatPayStatus) { /// 默认 RQWeChatPayStatusDefault = 0, /// 支付成功 RQWeChatPayStatusSuccess = 1, /// 支付失败 RQWeChatPayStatusFailed = 2, }; ///// 温州理论计时上传图片接口(uploadEduPic)图片类型 //typedef NS_ENUM(NSInteger, LoginFlagType) { // LoginFlagType_Default = 0, // 默认值 // LoginFlagType_SignIn = 1, // 签到 // LoginFlagType_Process = 2, // 培训过程 // LoginFlagType_SignOut = 3 // 签退 //}; /// 配图的占位图片 static inline UIImage *RQPicturePlaceholder() { return [UIImage imageNamed:@"wx_timeline_image_placeholder"]; }