
主要变更: 1. 新增 EPLoginViewController 和 EPLoginTypesViewController,提供新的登录界面和功能。 2. 引入 EPLoginInputView 和 EPLoginButton 组件,支持输入框和按钮的自定义。 3. 实现 EPLoginService 和 EPLoginManager,封装登录逻辑和 API 请求。 4. 添加 EPLoginConfig 和 EPLoginState,统一配置和状态管理。 5. 更新 Bridging Header,确保 Swift 和 Objective-C 代码的互操作性。 此更新旨在提升用户登录体验,简化登录流程,并提供更好的代码结构和可维护性。
69 lines
1.6 KiB
Objective-C
69 lines
1.6 KiB
Objective-C
//
|
||
// YuMi-Bridging-Header.h
|
||
// YuMi
|
||
//
|
||
// Created by AI on 2025-10-09.
|
||
// Copyright © 2025 YuMi. All rights reserved.
|
||
//
|
||
// Swift/OC 混编桥接头文件
|
||
|
||
#ifndef YuMi_Bridging_Header_h
|
||
#define YuMi_Bridging_Header_h
|
||
|
||
// MARK: - Minimal Bridging Header
|
||
// 只引入 Swift 中真正需要用到的 OC 类
|
||
|
||
// MARK: - Foundation
|
||
#import <UIKit/UIKit.h>
|
||
|
||
// MARK: - New Modules (White Label)
|
||
#import "GlobalEventManager.h"
|
||
#import "EPMomentViewController.h"
|
||
#import "EPMineViewController.h"
|
||
#import "EPMomentCell.h"
|
||
#import "EPMineHeaderView.h"
|
||
|
||
// MARK: - QCloud SDK
|
||
#import <QCloudCOSXML/QCloudCOSXML.h>
|
||
|
||
// MARK: - Image Upload & Progress HUD
|
||
#import "MBProgressHUD.h"
|
||
|
||
// MARK: - Base Model & Types
|
||
#import "PIBaseModel.h"
|
||
#import "YUMINNNN.h"
|
||
|
||
// MARK: - API & Models
|
||
#import "Api+Moments.h"
|
||
#import "Api+Mine.h"
|
||
#import "AccountInfoStorage.h"
|
||
#import "MomentsInfoModel.h"
|
||
#import "MomentsListInfoModel.h"
|
||
|
||
// MARK: - Utilities
|
||
#import "UIImage+Utils.h"
|
||
#import "NSString+Utils.h"
|
||
#import <MJExtension/MJExtension.h>
|
||
|
||
// MARK: - Login - Navigation & Web
|
||
#import "BaseNavigationController.h"
|
||
#import "XPWebViewController.h"
|
||
|
||
// MARK: - Login - Utilities
|
||
#import "YUMIMacroUitls.h" // YMLocalizedString
|
||
|
||
// MARK: - Login - Models (Phase 2 使用,先添加)
|
||
#import "AccountInfoStorage.h"
|
||
#import "AccountModel.h"
|
||
|
||
// MARK: - Login - APIs (Phase 2)
|
||
#import "Api+Login.h"
|
||
#import "Api+Main.h"
|
||
|
||
// 注意:
|
||
// 1. EPMomentViewController 和 EPMineViewController 直接继承 UIViewController
|
||
// 2. 不继承 BaseViewController(避免 ClientConfig → PIBaseModel 依赖链)
|
||
// 3. 其他依赖在各自的 .m 文件中 import
|
||
|
||
#endif /* YuMi_Bridging_Header_h */
|