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

@@ -18,9 +18,21 @@ struct NetNewsWire: App {
@UIApplicationDelegateAdaptor(AppDelegate.self) private var delegate
#endif
@StateObject private var sceneModel = SceneModel()
var body: some Scene {
WindowGroup {
ContentView()
#if os(macOS)
SceneNavigationView()
.frame(minWidth: 600, idealWidth: 1000, maxWidth: .infinity, minHeight: 600, idealHeight: 700, maxHeight: .infinity)
.environmentObject(sceneModel)
#endif
#if os(iOS)
SceneNavigationView()
.environmentObject(sceneModel)
#endif
}
}
}