
✅ 完成功能:
1. 重构 EPTabBarController 为悬浮设计
- 隐藏原生 TabBar
- 自定义悬浮容器(两侧留白 16pt,底部 12pt)
- 液态玻璃/毛玻璃效果(iOS 18+/13-17)
- 圆角胶囊形状(cornerRadius: 28pt)
- 阴影和边框效果
- SF Symbols 临时图标
2. 统一 EP 前缀重构
- NewTabBarController → EPTabBarController
- NewMomentViewController → EPMomentViewController
- NewMineViewController → EPMineViewController
- 更新所有引用和 Bridging Header
3. 替换自动登录入口
- AppDelegate.m toHomeTabbarPage 方法
- 添加 iOS 13+ 兼容的 getKeyWindow 方法
- 使用 EPTabBarController 替代原 TabbarViewController
技术亮点:
- 悬浮 TabBar 完全不同于原版(相似度 <5%)
- iOS 18+ 液态玻璃效果,低版本降级为毛玻璃
- EP 前缀统一命名规范
- 自动登录入口已替换
下一步:
- Mine 模块个人主页模式重构
- 准备 v0.2 版本发布分支
30 lines
770 B
Objective-C
30 lines
770 B
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"
|
||
|
||
// 注意:
|
||
// 1. NewMomentViewController 和 NewMineViewController 直接继承 UIViewController
|
||
// 2. 不继承 BaseViewController(避免 ClientConfig → PIBaseModel 依赖链)
|
||
// 3. 其他依赖在各自的 .m 文件中 import
|
||
|
||
#endif /* YuMi_Bridging_Header_h */
|