diff LazyBearWatchOS Extension/LazyBearApp.swift @ 429:e4ca9898b79b

Add WatchOS Target
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Sat, 19 Jun 2021 16:20:58 +0200
parents
children bb69f9d1d20f
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LazyBearWatchOS Extension/LazyBearApp.swift	Sat Jun 19 16:20:58 2021 +0200
@@ -0,0 +1,21 @@
+//
+//  LazyBearApp.swift
+//  LazyBearWatchOS Extension
+//
+//  Created by Dennis Concepción Martín on 19/6/21.
+//
+
+import SwiftUI
+
+@main
+struct LazyBearApp: App {
+    @SceneBuilder var body: some Scene {
+        WindowGroup {
+            NavigationView {
+                ContentView()
+            }
+        }
+
+        WKNotificationScene(controller: NotificationController.self, category: "myCategory")
+    }
+}