From 13b23f617c8016b279cade5b5e0cf17a04b6471a Mon Sep 17 00:00:00 2001 From: Abdellah El Morabit Date: Sun, 10 Nov 2024 17:44:50 +0100 Subject: working on the general design of the ios application, still no clue on how swiftui works though lol --- .../UserInterfaceState.xcuserstate | Bin 13094 -> 22152 bytes I2C/I2C/ContentView.swift | 29 +++++++++++---------- 2 files changed, 15 insertions(+), 14 deletions(-) (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 2cf6362..8bdd966 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/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 @@ -// -// ContentView.swift -// I2C -// -// Created by nsrddyn on 09/11/2024. -// - import SwiftUI struct ContentView: View { var body: some View { - VStack { - Image(systemName: "globe") - .imageScale(.large) - .foregroundStyle(.tint) - Text("Hello, world!") + HStack { + + Button("VOICE RECOGNITION"){ + + } + Button("CPU UPTIME"){ + + } + Button("CPU INFO"){ + + } + + } } - .padding() } -} + + #Preview { ContentView() -- cgit v1.2.3-70-g09d2