Create rough app outline

This commit is contained in:
Maurice Parker
2020-06-28 14:21:43 -05:00
parent 6424e621fd
commit 441bc072f3
9 changed files with 188 additions and 28 deletions

View File

@@ -0,0 +1,39 @@
//
// SceneNavigationView.swift
// NetNewsWire
//
// Created by Maurice Parker on 6/28/20.
// Copyright © 2020 Ranchero Software. All rights reserved.
//
import SwiftUI
struct SceneNavigationView: View {
var body: some View {
NavigationView {
#if os(macOS)
SidebarView().frame(minWidth: 100, idealWidth: 150, maxWidth: 200, maxHeight: .infinity)
#else
SidebarView()
#endif
Text("Timeline")
.frame(maxWidth: .infinity, maxHeight: .infinity)
#if os(macOS)
Text("None Selected")
.frame(maxWidth: .infinity, maxHeight: .infinity)
.toolbar { Spacer() }
#else
Text("None Selected")
.frame(maxWidth: .infinity, maxHeight: .infinity)
#endif
}
}
}
struct NavigationView_Previews: PreviewProvider {
static var previews: some View {
SceneNavigationView()
}
}