summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--I2C/I2C.xcodeproj/project.xcworkspace/xcuserdata/nsrddyn.xcuserdatad/UserInterfaceState.xcuserstatebin13094 -> 22152 bytes
-rw-r--r--I2C/I2C/ContentView.swift29
2 files changed, 15 insertions, 14 deletions
diff --git a/I2C/I2C.xcodeproj/project.xcworkspace/xcuserdata/nsrddyn.xcuserdatad/UserInterfaceState.xcuserstate b/I2C/I2C.xcodeproj/project.xcworkspace/xcuserdata/nsrddyn.xcuserdatad/UserInterfaceState.xcuserstate
index 2cf6362..8bdd966 100644
--- a/I2C/I2C.xcodeproj/project.xcworkspace/xcuserdata/nsrddyn.xcuserdatad/UserInterfaceState.xcuserstate
+++ b/I2C/I2C.xcodeproj/project.xcworkspace/xcuserdata/nsrddyn.xcuserdatad/UserInterfaceState.xcuserstate
Binary files differ
diff --git a/I2C/I2C/ContentView.swift b/I2C/I2C/ContentView.swift
index 729d80b..c9b93b8 100644
--- a/I2C/I2C/ContentView.swift
+++ b/I2C/I2C/ContentView.swift
@@ -1,23 +1,24 @@
1//
2// ContentView.swift
3// I2C
4//
5// Created by nsrddyn on 09/11/2024.
6//
7
8import SwiftUI 1import SwiftUI
9 2
10struct ContentView: View { 3struct ContentView: View {
11 var body: some View { 4 var body: some View {
12 VStack { 5 HStack {
13 Image(systemName: "globe") 6
14 .imageScale(.large) 7 Button("VOICE RECOGNITION"){
15 .foregroundStyle(.tint) 8
16 Text("Hello, world!") 9 }
10 Button("CPU UPTIME"){
11
12 }
13 Button("CPU INFO"){
14
15 }
16
17 }
17 } 18 }
18 .padding()
19 } 19 }
20} 20
21
21 22
22#Preview { 23#Preview {
23 ContentView() 24 ContentView()