Skip to content

Simplify package structure and enhance STBaseViewController features - #13

Merged
i-stack merged 12 commits into
mainfrom
feature_1.6.0
Aug 13, 2026
Merged

Simplify package structure and enhance STBaseViewController features#13
i-stack merged 12 commits into
mainfrom
feature_1.6.0

Conversation

@i-stack

@i-stack i-stack commented Aug 13, 2026

Copy link
Copy Markdown
Owner

No description provided.

i-stack added 12 commits August 12, 2026 16:53
- Remove `STContacts`, `STLocation`, and `STMedia` libraries and targets from `Package.swift`, focusing on `STBaseProject` as the primary target.
- Clean up `STMedia` by removing photo library saving and network loading methods from `STImage` to reduce dependencies.
- Add `STScanType` enum in `STScanView` to support different scan configurations.
移除不再使用的swift-markdown和SwiftMath外部依赖,以及相应的STMarkdown资源引用。同时从隐私清单中移除不再需要的SystemBootTime相关API声明。
移除STContacts、STLocation、STMedia、STMarkdown子模块配置,相关模块已迁移至独立仓库。同时更新podspec摘要和描述信息。
- 删除 STMarkdown 文档、Example 测试/示例及残留引用(已独立成仓)
- 清理 podspec/README/Podfile/Package.resolved 中过时依赖与说明
- 重写 README:修正系统要求、合并冗余章节、快速开始补充可运行示例
- SEO 优化:英文关键词副标题、Description 段落、目录英文副标题、关键词块
- 移除 CI 中的 CocoaPods 安装与缓存步骤
- 清理 Xcode 项目中所有 CocoaPods 相关引用
- 更新 README 移除 CocoaPods 安装说明
- 更新 .gitignore 移除 Pods 相关规则
- 移除 scrollView、contentView 等属性的多余文档注释
- 移除 safeAreaInsetsDidChange 及 st_addSection 等方法的冗余说明
- 在 traitCollectionDidChange 中添加外观管理守卫
- 移除 init 中过早调用的 installLayoutStructure
- 在 st_addSection 中添加 DEBUG 断言,防止 API 混用
- 清理 STGradientNavigationBar 等处的无意义注释
- 键盘弹出时基于基准inset叠加增量,收起时恢复,避免覆盖安全区/工具栏等已有bottom inset
- 监听键盘frame变化通知以处理旋转/分屏场景
- 根据scrollDirection动态添加width/height约束,修复非垂直滚动时布局错误
- section添加时移除section.inset对容器外边距的干扰,统一贴边并使用interSectionSpacing控制间距
- 导航栏 type 设为 .none 时真正折叠占位高度(约束常量置 0),消除内容区顶部死区
- 新增左右按钮「仅含图片」时的本地化无障碍兜底文案,语言切换时自动刷新
- st_setLeftBtn/st_setRightBtn 新增 accessibilityLabel 参数,支持显式设置无障碍标签
- STIconBtn 新增惰性 accessibilityLabel 计算,消除属性赋值顺序依赖
- st_localizedString 新增 value 回退参数,支持指定未翻译时的默认文案
- 新增英文/简体中文 Localizable.strings 及对应导航按钮无障碍 key
- 新增导航栏折叠、无障碍兜底及语言切换的完整测试用例
- 补充约束耦合与系统导航栏隐藏的文档注释
@i-stack
i-stack merged commit 388d42a into main Aug 13, 2026
1 check failed
@i-stack
i-stack deleted the feature_1.6.0 branch August 13, 2026 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant