diff options
Diffstat (limited to 'I2C')
| -rw-r--r-- | I2C/I2C.xcodeproj/project.xcworkspace/xcuserdata/nsrddyn.xcuserdatad/UserInterfaceState.xcuserstate | bin | 13094 -> 22152 bytes | |||
| -rw-r--r-- | I2C/I2C/ContentView.swift | 29 |
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 | |||
| 8 | import SwiftUI | 1 | import SwiftUI |
| 9 | 2 | ||
| 10 | struct ContentView: View { | 3 | struct 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() |
