feat: 实现数据迁移和用户信息管理优化

- 在AppDelegate中集成数据迁移管理器,支持从UserDefaults迁移到Keychain。
- 重构UserInfoManager,使用Keychain存储用户信息,增加内存缓存以提升性能。
- 添加API加载效果视图,增强用户体验。
- 更新SplashFeature以支持自动登录和认证状态检查。
- 语言设置迁移至Keychain,确保用户设置的安全性。
This commit is contained in:
edwinQQQ
2025-07-10 17:20:20 +08:00
parent 6084ade9ea
commit 4a1b814902
15 changed files with 1773 additions and 354 deletions

View File

@@ -4,6 +4,11 @@ import UIKit
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// UserDefaults Keychain
DataMigrationManager.performStartupMigration()
//
UserInfoManager.preloadCache()
//
// NetworkManager.shared.networkStatusChanged = { status in