summaryrefslogtreecommitdiff
path: root/JuickNext/View
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-05-16 15:48:28 +0300
committerGravatar Vitaly Takmazov2023-05-17 04:59:08 +0300
commitb3288eb9eac7d7776849271a4270c1eda9713e91 (patch)
treeff42fc871f4e054e8125cd38acb67217e3e7e98a /JuickNext/View
parent4a36162f8da0d0c709138868bc172e34f40dfbfd (diff)
Add SwiftUI App
Diffstat (limited to 'JuickNext/View')
-rw-r--r--JuickNext/View/ContentView.swift32
-rw-r--r--JuickNext/View/DiscussionsView.swift21
-rw-r--r--JuickNext/View/Today.swift21
3 files changed, 74 insertions, 0 deletions
diff --git a/JuickNext/View/ContentView.swift b/JuickNext/View/ContentView.swift
new file mode 100644
index 0000000..03916fc
--- /dev/null
+++ b/JuickNext/View/ContentView.swift
@@ -0,0 +1,32 @@
+//
+// ContentView.swift
+// Juick
+//
+// Created by Vitaly Takmazov on 14.05.2023.
+// Copyright © 2023 com.juick. All rights reserved.
+//
+
+import SwiftUI
+
+struct ContentView: View {
+ var body: some View {
+ TabView {
+ Today()
+ .tabItem {
+ Image("ei-clock")
+ }
+ Text("Discussions")
+ .tabItem {
+ Image("ei-bell")
+ }
+ }
+ }
+}
+
+struct ContentView_Previews: PreviewProvider {
+ static var previews: some View {
+ NavigationView {
+ ContentView()
+ }
+ }
+}
diff --git a/JuickNext/View/DiscussionsView.swift b/JuickNext/View/DiscussionsView.swift
new file mode 100644
index 0000000..b8f121b
--- /dev/null
+++ b/JuickNext/View/DiscussionsView.swift
@@ -0,0 +1,21 @@
+//
+// DiscussionsView.swift
+// Juick
+//
+// Created by Vitaly Takmazov on 14.05.2023.
+// Copyright © 2023 com.juick. All rights reserved.
+//
+
+import SwiftUI
+
+struct DiscussionsView: View {
+ var body: some View {
+ Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
+ }
+}
+
+struct DiscussionsView_Previews: PreviewProvider {
+ static var previews: some View {
+ DiscussionsView()
+ }
+}
diff --git a/JuickNext/View/Today.swift b/JuickNext/View/Today.swift
new file mode 100644
index 0000000..aa4a205
--- /dev/null
+++ b/JuickNext/View/Today.swift
@@ -0,0 +1,21 @@
+//
+// TodayView.swift
+// Juick
+//
+// Created by Vitaly Takmazov on 14.05.2023.
+// Copyright © 2023 com.juick. All rights reserved.
+//
+
+import SwiftUI
+
+struct Today: View {
+ var body: some View {
+ Text("Today")
+ }
+}
+
+struct Today_Previews: PreviewProvider {
+ static var previews: some View {
+ Today()
+ }
+}