新增飘屏组件分析文档和新Banner组件架构设计,详细描述了飘屏组件的共同特征、抽象方案及其优势,提供了基类和子类的设计方案,增强了代码的可维护性和扩展性。同时,更新了相关文档以支持新架构的集成和使用。

This commit is contained in:
edwinQQQ
2025-08-12 11:16:28 +08:00
parent c0bc29486f
commit 446e172939
13 changed files with 983 additions and 4 deletions

View File

@@ -2242,6 +2242,9 @@ XPRoomGraffitiGiftAnimationViewDelegate
- (XPRoomAnimationHitView *)bannerContainer {
if (!_bannerContainer) {
_bannerContainer = [[XPRoomAnimationHitView alloc] init];
#if DEBUG
_bannerContainer.backgroundColor = [UIColor colorWithWhite:0 alpha:0.5];
#endif
}
return _bannerContainer;
}