mirror of
https://github.com/phranck/TUIkit.git
synced 2026-05-21 09:50:35 +00:00
45e73faafb
BREAKING CHANGE: Package name changed due to name collision with existing rensbreur/SwiftTUI package. Changes: - Rename package from SwiftTUI to TUIKit in Package.swift - Rename Sources/SwiftTUI to Sources/TUIKit - Rename Sources/SwiftTUIExample to Sources/TUIKitExample - Rename Tests/SwiftTUITests to Tests/TUIKitTests - Rename SwiftTUI.swift to TUIKit.swift - Update all imports: import SwiftTUI -> import TUIKit - Update all code references: SwiftTUI.renderToBuffer -> TUIKit.renderToBuffer - Update documentation comments - Rename swiftTUIVersion to tuiKitVersion All 181 tests passing.
26 lines
438 B
Swift
26 lines
438 B
Swift
//
|
|
// main.swift
|
|
// TUIKitExample
|
|
//
|
|
// Entry point for the TUIKit example application.
|
|
//
|
|
// This app demonstrates TUIKit capabilities through various demo pages.
|
|
// Use the menu to navigate between demos.
|
|
//
|
|
|
|
import TUIKit
|
|
|
|
// MARK: - Main App
|
|
|
|
/// The main example application.
|
|
struct ExampleApp: App {
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
ContentView()
|
|
}
|
|
}
|
|
}
|
|
|
|
// Run the app
|
|
ExampleApp.main()
|