From fe441f69a4632e5245588574923ef8dc467eced5 Mon Sep 17 00:00:00 2001 From: Abdellah El Morabit Date: Thu, 14 Nov 2024 19:31:03 +0100 Subject: tried implementing ollama --- .../UserInterfaceState.xcuserstate | Bin 28421 -> 37489 bytes .../xcdebugger/Breakpoints_v2.xcbkptlist | 40 +++++++++++++++++++++ I2C/I2C/ContentView.swift | 27 +++----------- I2C/I2CUITests/I2CUITests.swift | 1 - 4 files changed, 45 insertions(+), 23 deletions(-) create mode 100644 I2C/I2C.xcodeproj/xcuserdata/nsrddyn.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist (limited to 'I2C') 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 Binary files a/I2C/I2C.xcodeproj/project.xcworkspace/xcuserdata/nsrddyn.xcuserdatad/UserInterfaceState.xcuserstate and b/I2C/I2C.xcodeproj/project.xcworkspace/xcuserdata/nsrddyn.xcuserdatad/UserInterfaceState.xcuserstate 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 @@ + + + + + + + + + + + + + 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 @@ import SwiftUI struct ContentView: View { - var header: some View { - VStack { - Text("Hello world!") - } - - } + let options = ["CPU INFO", "CPU UPTIME", "SPEECH TRANSCRIBER", "NOTES"] var body: some View { VStack { - Circle() - .fill(.blue) - .frame(width: 100, height: 100) - .padding() - header - Button("VOICE RECOGNITION"){ - - } - Button("CPU UPTIME"){ - - } - Button("CPU INFO"){ - - } + Button( + RoundedRectangle(cornerRadius: 25) + .fill(Color.red) + ) } } } - - #Preview { ContentView() } 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 @@ // I2CUITests // // Created by nsrddyn on 09/11/2024. -// import XCTest -- cgit v1.2.3-70-g09d2