diff options
Diffstat (limited to 'I2C')
| -rw-r--r-- | I2C/I2C.xcodeproj/project.xcworkspace/xcuserdata/nsrddyn.xcuserdatad/UserInterfaceState.xcuserstate | bin | 28421 -> 37489 bytes | |||
| -rw-r--r-- | I2C/I2C.xcodeproj/xcuserdata/nsrddyn.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist | 40 | ||||
| -rw-r--r-- | I2C/I2C/ContentView.swift | 27 | ||||
| -rw-r--r-- | I2C/I2CUITests/I2CUITests.swift | 1 |
4 files changed, 45 insertions, 23 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 78be191..07340b1 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.xcodeproj/xcuserdata/nsrddyn.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/I2C/I2C.xcodeproj/xcuserdata/nsrddyn.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist new file mode 100644 index 0000000..214cbf9 --- /dev/null +++ b/I2C/I2C.xcodeproj/xcuserdata/nsrddyn.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <Bucket | ||
| 3 | uuid = "E25B4326-8E67-45A7-85E6-44F99F067B3F" | ||
| 4 | type = "1" | ||
| 5 | version = "2.0"> | ||
| 6 | <Breakpoints> | ||
| 7 | <BreakpointProxy | ||
| 8 | BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
| 9 | <BreakpointContent | ||
| 10 | uuid = "CDFF4D12-343E-452F-9711-F46A454AB787" | ||
| 11 | shouldBeEnabled = "Yes" | ||
| 12 | ignoreCount = "0" | ||
| 13 | continueAfterRunningActions = "No" | ||
| 14 | filePath = "I2C/ContentView.swift" | ||
| 15 | startingColumnNumber = "9223372036854775807" | ||
| 16 | endingColumnNumber = "9223372036854775807" | ||
| 17 | startingLineNumber = "12" | ||
| 18 | endingLineNumber = "12" | ||
| 19 | landmarkName = "body" | ||
| 20 | landmarkType = "24"> | ||
| 21 | </BreakpointContent> | ||
| 22 | </BreakpointProxy> | ||
| 23 | <BreakpointProxy | ||
| 24 | BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
| 25 | <BreakpointContent | ||
| 26 | uuid = "D2C0A7B9-3CCF-4EDE-B649-263CFF06097B" | ||
| 27 | shouldBeEnabled = "Yes" | ||
| 28 | ignoreCount = "0" | ||
| 29 | continueAfterRunningActions = "No" | ||
| 30 | filePath = "I2CUITests/I2CUITests.swift" | ||
| 31 | startingColumnNumber = "9223372036854775807" | ||
| 32 | endingColumnNumber = "9223372036854775807" | ||
| 33 | startingLineNumber = "19" | ||
| 34 | endingLineNumber = "19" | ||
| 35 | landmarkName = "I2CUITests" | ||
| 36 | landmarkType = "3"> | ||
| 37 | </BreakpointContent> | ||
| 38 | </BreakpointProxy> | ||
| 39 | </Breakpoints> | ||
| 40 | </Bucket> | ||
diff --git a/I2C/I2C/ContentView.swift b/I2C/I2C/ContentView.swift index e21bcb2..6d0448d 100644 --- a/I2C/I2C/ContentView.swift +++ b/I2C/I2C/ContentView.swift | |||
| @@ -1,34 +1,17 @@ | |||
| 1 | import SwiftUI | 1 | import SwiftUI |
| 2 | 2 | ||
| 3 | struct ContentView: View { | 3 | struct ContentView: View { |
| 4 | var header: some View { | 4 | let options = ["CPU INFO", "CPU UPTIME", "SPEECH TRANSCRIBER", "NOTES"] |
| 5 | VStack { | ||
| 6 | Text("Hello world!") | ||
| 7 | } | ||
| 8 | |||
| 9 | } | ||
| 10 | var body: some View { | 5 | var body: some View { |
| 11 | VStack { | 6 | VStack { |
| 12 | Circle() | 7 | Button( |
| 13 | .fill(.blue) | 8 | RoundedRectangle(cornerRadius: 25) |
| 14 | .frame(width: 100, height: 100) | 9 | .fill(Color.red) |
| 15 | .padding() | 10 | ) |
| 16 | header | ||
| 17 | Button("VOICE RECOGNITION"){ | ||
| 18 | |||
| 19 | } | ||
| 20 | Button("CPU UPTIME"){ | ||
| 21 | |||
| 22 | } | ||
| 23 | Button("CPU INFO"){ | ||
| 24 | |||
| 25 | } | ||
| 26 | } | 11 | } |
| 27 | } | 12 | } |
| 28 | } | 13 | } |
| 29 | 14 | ||
| 30 | |||
| 31 | |||
| 32 | #Preview { | 15 | #Preview { |
| 33 | ContentView() | 16 | ContentView() |
| 34 | } | 17 | } |
diff --git a/I2C/I2CUITests/I2CUITests.swift b/I2C/I2CUITests/I2CUITests.swift index c225d79..a98bb08 100644 --- a/I2C/I2CUITests/I2CUITests.swift +++ b/I2C/I2CUITests/I2CUITests.swift | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | // I2CUITests | 3 | // I2CUITests |
| 4 | // | 4 | // |
| 5 | // Created by nsrddyn on 09/11/2024. | 5 | // Created by nsrddyn on 09/11/2024. |
| 6 | // | ||
| 7 | 6 | ||
| 8 | import XCTest | 7 | import XCTest |
| 9 | 8 | ||
