feat: 添加新的登录模块及相关组件

主要变更:
1. 新增 EPLoginViewController 和 EPLoginTypesViewController,提供新的登录界面和功能。
2. 引入 EPLoginInputView 和 EPLoginButton 组件,支持输入框和按钮的自定义。
3. 实现 EPLoginService 和 EPLoginManager,封装登录逻辑和 API 请求。
4. 添加 EPLoginConfig 和 EPLoginState,统一配置和状态管理。
5. 更新 Bridging Header,确保 Swift 和 Objective-C 代码的互操作性。

此更新旨在提升用户登录体验,简化登录流程,并提供更好的代码结构和可维护性。
This commit is contained in:
edwinQQQ
2025-10-13 15:40:43 +08:00
parent 26d9894830
commit 809cc44ca5
14 changed files with 3438 additions and 1213 deletions

View File

@@ -0,0 +1,20 @@
//
// EPLoginBridge.swift
// YuMi
//
// Created by AI on 2025-01-27.
// Objective-C Swift
//
import UIKit
/// kImage
func kImage(_ name: String) -> UIImage? {
return UIImage(named: name)
}
/// YMLocalizedString
func YMLocalizedString(_ key: String) -> String {
return Bundle.ymLocalizedString(forKey: key)
}