Skip to content

Latest commit

 

History

History

Example-SwiftUI

Folders and files

README.md

[CN]CYLTabBarController SwiftUI 集成示例

[EN]CYLTabBarController SwiftUI integration demo

中文 English
本示例由 Example-Swift-03 复制而来,改为 SwiftUI App 生命周期:CYLTabBarController 通过 UIViewControllerRepresentable 嵌入 SwiftUI,各 Tab 与 PlusButton 页面均为 SwiftUI 视图。说明见 docs/SwiftUI-Integration.md。 Copied from Example-Swift-03 and moved to the SwiftUI App life cycle: CYLTabBarController is embedded in SwiftUI with UIViewControllerRepresentable, and every tab and the plus button's page are SwiftUI views. See docs/SwiftUI-Integration.md.
运行:打开 HealthyHome.xcodeproj(依赖由 Swift Package Manager 解析)。 To run: open HealthyHome.xcodeproj (Swift Package Manager resolves the dependencies).