移除多个文件中的 TODO 注释,提升代码整洁性和可读性。

This commit is contained in:
edwinQQQ
2025-09-18 17:36:53 +08:00
parent 22c7cdb1e8
commit 651db0121b
4 changed files with 5 additions and 7 deletions

View File

@@ -55,7 +55,7 @@
/// ///
@property (nonatomic,strong) XPRoomMessageHeaderView *headerView; @property (nonatomic,strong) XPRoomMessageHeaderView *headerView;
///messageView TODO: ///messageView
@property (nonatomic,strong) XPRoomMessageParser *messageParser; @property (nonatomic,strong) XPRoomMessageParser *messageParser;
/// ///
@property (nonatomic,strong) NSMutableArray<XPMessageInfoModel *> *datasource; @property (nonatomic,strong) NSMutableArray<XPMessageInfoModel *> *datasource;

View File

@@ -341,7 +341,6 @@ XPRoomSettingItemModel * itemModel = [[self.datasource xpSafeObjectAtIndex:index
- (void)didClickCancel:(RoomSettingInputType)type { - (void)didClickCancel:(RoomSettingInputType)type {
// if (type == RoomSettingItemType_Pwd) { // if (type == RoomSettingItemType_Pwd) {
// // TODO:
// } // }
} }

View File

@@ -31,7 +31,6 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic,strong) NSMutableDictionary<NSString *, MicroQueueModel *> *micQueue; @property (nonatomic,strong) NSMutableDictionary<NSString *, MicroQueueModel *> *micQueue;
///是否隐藏送礼按钮 ///是否隐藏送礼按钮
@property (nonatomic, assign) BOOL hideSendGiftItem; @property (nonatomic, assign) BOOL hideSendGiftItem;
//TODO: 先只改用户卡片中的 其实这个属性是不需要的 但是从用户卡片送礼物的VC 是需要delegate 所以先放在这里吧
///协议 ///协议
@property (nonatomic,weak) id<RoomHostDelegate> delegate; @property (nonatomic,weak) id<RoomHostDelegate> delegate;

View File

@@ -519,7 +519,7 @@ NSString * const kJPClose = @"newTppClose";
// //
- (void)pay:(NSDictionary*)args { - (void)pay:(NSDictionary*)args {
// TODO //
TTAlertConfig *config = [[TTAlertConfig alloc]init]; TTAlertConfig *config = [[TTAlertConfig alloc]init];
config.title = YMLocalizedString(@"UserDetail_CP_Toast_0"); config.title = YMLocalizedString(@"UserDetail_CP_Toast_0");
config.message = YMLocalizedString(@"XPNobleCenterViewController3"); config.message = YMLocalizedString(@"XPNobleCenterViewController3");
@@ -596,7 +596,7 @@ NSString * const kJPClose = @"newTppClose";
- (void) destroy:(NSDictionary*)args - (void) destroy:(NSDictionary*)args
{ {
NSLog(@"BSGAME %s","游戏调⽤destroy"); NSLog(@"BSGAME %s","游戏调⽤destroy");
// TODO //
[self willMoveToParentViewController:nil]; //1 [self willMoveToParentViewController:nil]; //1
[self.view removeFromSuperview]; //2 [self.view removeFromSuperview]; //2
[self removeFromParentViewController]; //3 [self removeFromParentViewController]; //3
@@ -617,7 +617,7 @@ NSString * const kJPClose = @"newTppClose";
- (void) gameRecharge:(NSDictionary*)args - (void) gameRecharge:(NSDictionary*)args
{ {
NSLog(@"BSGAME %s","游戏调⽤gameRecharge"); NSLog(@"BSGAME %s","游戏调⽤gameRecharge");
// TODO //
TTAlertConfig *config = [[TTAlertConfig alloc]init]; TTAlertConfig *config = [[TTAlertConfig alloc]init];
config.title = YMLocalizedString(@"UserDetail_CP_Toast_0"); config.title = YMLocalizedString(@"UserDetail_CP_Toast_0");
config.message = YMLocalizedString(@"XPNobleCenterViewController3"); config.message = YMLocalizedString(@"XPNobleCenterViewController3");
@@ -636,7 +636,7 @@ NSString * const kJPClose = @"newTppClose";
// //
- (void) gameLoaded:(NSDictionary*)args - (void) gameLoaded:(NSDictionary*)args
{ {
// TODO //
[self.backBtn removeFromSuperview]; [self.backBtn removeFromSuperview];
} }