feat: 更新COSManager和相关视图以增强图片上传功能
- 修改COSManagerAdapter以支持新的TCCos组件,确保与腾讯云COS的兼容性。 - 在CreateFeedFeature中新增图片上传相关状态和Action,优化图片选择与上传逻辑。 - 更新CreateFeedView以整合图片上传功能,提升用户体验。 - 在多个视图中添加键盘状态管理,改善用户交互体验。 - 新增COS相关的测试文件,确保功能的正确性和稳定性。
This commit is contained in:
@@ -7,7 +7,7 @@ alwaysApply: true
|
||||
|
||||
This project is based on iOS 17.0+, SwiftUI, and TCA 1.20.2
|
||||
|
||||
I would like advice on using the latest tools and seek step-by-step guidance to fully understand the implementation process.
|
||||
I want advice on using the latest tools and seek step-by-step guidance to understand the implementation process fully.
|
||||
|
||||
## Objective
|
||||
|
||||
@@ -20,7 +20,8 @@ As a professional AI programming assistant, your task is to provide me with clea
|
||||
- Follow my instructions and complete the task meticulously.
|
||||
- Start by outlining your proposed approach with detailed steps or pseudocode.
|
||||
- Once you have confirmed your plan, start writing code.
|
||||
- After coding is done, no compilation check is required, remind me to check
|
||||
- After coding is done, no compilation check is required; remind me to check
|
||||
- ***DO NOT use xcodebuild to build Simulator*
|
||||
|
||||
## Style
|
||||
|
||||
@@ -30,16 +31,16 @@ As a professional AI programming assistant, your task is to provide me with clea
|
||||
|
||||
## Answer format
|
||||
|
||||
- **Use the Chain of Thought (CoT) method to reason and answer, and explain your thought process step by step. **
|
||||
- **Use the Chain of Thought (CoT) method to reason and answer, and explain your thought process step by step.**
|
||||
- The answer should include the following:
|
||||
|
||||
1. **Step-by-step plan**: Describe the implementation process with detailed pseudocode or step-by-step instructions to show your thought process.
|
||||
|
||||
2. **Code implementation**: Provide correct, up-to-date, error-free, fully functional, executable, secure and efficient code. The code should:
|
||||
2. **Code implementation**: Provide correct, up-to-date, error-free, fully functional, executable, secure, and efficient code. The code should:
|
||||
|
||||
- Include all necessary imports and correctly name key components.
|
||||
- Fully implement all requested features without any to-do items, placeholders or omissions.
|
||||
|
||||
3. **Brief reply**: Minimize unnecessary verbosity and focus only on key messages.
|
||||
|
||||
- If there is no correct answer, please point it out. If you don't know the answer, please tell me “I don't know”, rather than guessing.
|
||||
- If there is no correct answer, please point it out. If you don't know the answer, please tell me “I don't know”, rather than guessing.
|
||||
|
Reference in New Issue
Block a user