diff --git a/CustomKeyboard/View/KBChatAssistantCell.h b/CustomKeyboard/View/Chat/KBChatAssistantCell.h similarity index 100% rename from CustomKeyboard/View/KBChatAssistantCell.h rename to CustomKeyboard/View/Chat/KBChatAssistantCell.h diff --git a/CustomKeyboard/View/KBChatAssistantCell.m b/CustomKeyboard/View/Chat/KBChatAssistantCell.m similarity index 99% rename from CustomKeyboard/View/KBChatAssistantCell.m rename to CustomKeyboard/View/Chat/KBChatAssistantCell.m index 7e6f5f3..1033fd2 100644 --- a/CustomKeyboard/View/KBChatAssistantCell.m +++ b/CustomKeyboard/View/Chat/KBChatAssistantCell.m @@ -69,7 +69,7 @@ // 消息加载指示器 [self.messageLoadingIndicator mas_makeConstraints:^(MASConstraintMaker *make) { make.left.equalTo(self.contentView).offset(12); - make.top.equalTo(self.voiceButton.mas_bottom).offset(8); + make.top.equalTo(self.voiceButton); }]; // 气泡 diff --git a/CustomKeyboard/View/KBChatPanelView.h b/CustomKeyboard/View/Chat/KBChatPanelView.h similarity index 100% rename from CustomKeyboard/View/KBChatPanelView.h rename to CustomKeyboard/View/Chat/KBChatPanelView.h diff --git a/CustomKeyboard/View/KBChatPanelView.m b/CustomKeyboard/View/Chat/KBChatPanelView.m similarity index 100% rename from CustomKeyboard/View/KBChatPanelView.m rename to CustomKeyboard/View/Chat/KBChatPanelView.m diff --git a/CustomKeyboard/View/KBChatUserCell.h b/CustomKeyboard/View/Chat/KBChatUserCell.h similarity index 100% rename from CustomKeyboard/View/KBChatUserCell.h rename to CustomKeyboard/View/Chat/KBChatUserCell.h diff --git a/CustomKeyboard/View/KBChatUserCell.m b/CustomKeyboard/View/Chat/KBChatUserCell.m similarity index 100% rename from CustomKeyboard/View/KBChatUserCell.m rename to CustomKeyboard/View/Chat/KBChatUserCell.m diff --git a/keyBoard.xcodeproj/project.pbxproj b/keyBoard.xcodeproj/project.pbxproj index c85c252..f25df55 100644 --- a/keyBoard.xcodeproj/project.pbxproj +++ b/keyBoard.xcodeproj/project.pbxproj @@ -984,6 +984,19 @@ path = VM; sourceTree = ""; }; + 0419C9672F2C78E4002E86D3 /* Chat */ = { + isa = PBXGroup; + children = ( + A1B2C9242FC9000100000001 /* KBChatPanelView.h */, + A1B2C9252FC9000100000001 /* KBChatPanelView.m */, + 048FFD522F2B9C3D005D62AE /* KBChatAssistantCell.h */, + 048FFD532F2B9C3D005D62AE /* KBChatAssistantCell.m */, + 048FFD542F2B9C3D005D62AE /* KBChatUserCell.h */, + 048FFD552F2B9C3D005D62AE /* KBChatUserCell.m */, + ); + path = Chat; + sourceTree = ""; + }; 0450ABFB2EF11E4400B6AF06 /* Converts */ = { isa = PBXGroup; children = ( @@ -1569,6 +1582,7 @@ 04C6EADA2EAF8C7B0089C901 /* View */ = { isa = PBXGroup; children = ( + 0419C9672F2C78E4002E86D3 /* Chat */, 04DC5CEC2EF2D1D300F1AC80 /* Buy */, 0498BDF62EEFF585006CC1D5 /* EmojiView */, 04C6EADB2EAF8CEB0089C901 /* KBToolBar.h */, @@ -1596,16 +1610,10 @@ A1B2C3F22EB35A9900000001 /* KBFullAccessGuideView.m */, 04FC95B02EB0B2CC007BD342 /* KBSettingView.h */, 04FC95B12EB0B2CC007BD342 /* KBSettingView.m */, - A1B2C9242FC9000100000001 /* KBChatPanelView.h */, - A1B2C9252FC9000100000001 /* KBChatPanelView.m */, A1B2C9222FC9000100000001 /* KBChatMessageCell.h */, A1B2C9232FC9000100000001 /* KBChatMessageCell.m */, 049FB22D2EC34EB900FAB05D /* KBStreamTextView.h */, 049FB22E2EC34EB900FAB05D /* KBStreamTextView.m */, - 048FFD522F2B9C3D005D62AE /* KBChatAssistantCell.h */, - 048FFD532F2B9C3D005D62AE /* KBChatAssistantCell.m */, - 048FFD542F2B9C3D005D62AE /* KBChatUserCell.h */, - 048FFD552F2B9C3D005D62AE /* KBChatUserCell.m */, 049FB23A2EC4766700FAB05D /* Function */, ); path = View;