openclaw/apps/ios-github-mobile/Sources/ContentView.swift
Claude cffaf0b904
feat: add SwiftUI GitHub mobile app inspired by Claude Code
- Create new iOS app at apps/ios-github-mobile
- Session list view with repository info and status
- Chat view with collapsible tool executions (Write, Bash, Read)
- Message input with model/repo/branch selection chips
- PR creation flow simulation
- Dark theme matching Claude Code aesthetic
- Mock data for repos, sessions, and tool calls
- Modern SwiftUI with @Observable, NavigationStack

https://claude.ai/code/session_018qmTB96S8xvNRQFrhcvzJp
2026-01-23 08:22:15 +00:00

21 lines
476 B
Swift

import SwiftUI
struct ContentView: View {
@Environment(AppState.self) private var appState
var body: some View {
NavigationStack(path: Bindable(appState).navigationPath) {
SessionListView()
.navigationDestination(for: Session.self) { session in
ChatView(session: session)
}
}
}
}
#Preview {
ContentView()
.environment(AppState())
.preferredColorScheme(.dark)
}