
问题: - refreshTabBar(isLogin:) 和 refreshTabBarWithIsLogin(_:) - 在 OC 中生成相同的 selector 'refreshTabBarWithIsLogin:' - 导致编译冲突 修复: - 移除 refreshTabBar(isLogin:) 的 @objc 标记 - 保留 refreshTabBarWithIsLogin(_:) 的 @objc 标记 - 内部调用改为 Swift 方法 这样 OC 只能看到 refreshTabBarWithIsLogin: 方法 Swift 内部可以使用更简洁的 refreshTabBar(isLogin:) 方法
24 lines
436 B
Objective-C
24 lines
436 B
Objective-C
//
|
|
// NewMineHeaderView.h
|
|
// YuMi
|
|
//
|
|
// Created by AI on 2025-10-09.
|
|
// Copyright © 2025 YuMi. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
/// 新的个人中心头部视图
|
|
/// 纵向卡片式设计 + 渐变背景
|
|
@interface EPMineHeaderView : UIView
|
|
|
|
/// 配置用户信息
|
|
/// @param userInfo 用户信息字典
|
|
- (void)configureWithUserInfo:(NSDictionary *)userInfo;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|