diff options
| author | Abdellah El Morabit <nsrddyn@gmail.com> | 2024-11-13 08:27:46 +0100 |
|---|---|---|
| committer | Abdellah El Morabit <nsrddyn@gmail.com> | 2024-11-13 08:27:46 +0100 |
| commit | 545d44d84a3b61977ffbd55952e62a0f9bee8d9d (patch) | |
| tree | 77928aa0aa5e422ac8b01fc0b08df44c18f212a5 /I2C | |
| parent | 403e6701f6a5b79f80082a9123fbcf84d0a7cdf8 (diff) | |
continuing designing the ios version using xcode im really struggling though
Diffstat (limited to 'I2C')
| -rw-r--r-- | I2C/I2C.xcodeproj/project.pbxproj | 14 | ||||
| -rw-r--r-- | I2C/I2C.xcodeproj/project.xcworkspace/xcuserdata/nsrddyn.xcuserdatad/UserInterfaceState.xcuserstate | bin | 23380 -> 28421 bytes | |||
| -rw-r--r-- | I2C/I2C/ContentView.swift | 27 | ||||
| -rw-r--r-- | I2C/I2C/I2CApp.swift | 7 |
4 files changed, 28 insertions, 20 deletions
diff --git a/I2C/I2C.xcodeproj/project.pbxproj b/I2C/I2C.xcodeproj/project.pbxproj index 4271c40..cbc3848 100644 --- a/I2C/I2C.xcodeproj/project.pbxproj +++ b/I2C/I2C.xcodeproj/project.pbxproj @@ -398,11 +398,14 @@ DEVELOPMENT_ASSET_PATHS = "\"I2C/Preview Content\""; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_CFBundleDisplayName = "I2C Controller"; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UIStatusBarStyle = UIStatusBarStyleDarkContent; + INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -426,11 +429,14 @@ DEVELOPMENT_ASSET_PATHS = "\"I2C/Preview Content\""; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_CFBundleDisplayName = "I2C Controller"; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UIStatusBarStyle = UIStatusBarStyleDarkContent; + INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/I2C/I2C.xcodeproj/project.xcworkspace/xcuserdata/nsrddyn.xcuserdatad/UserInterfaceState.xcuserstate b/I2C/I2C.xcodeproj/project.xcworkspace/xcuserdata/nsrddyn.xcuserdatad/UserInterfaceState.xcuserstate Binary files differindex e39916b..78be191 100644 --- a/I2C/I2C.xcodeproj/project.xcworkspace/xcuserdata/nsrddyn.xcuserdatad/UserInterfaceState.xcuserstate +++ b/I2C/I2C.xcodeproj/project.xcworkspace/xcuserdata/nsrddyn.xcuserdatad/UserInterfaceState.xcuserstate diff --git a/I2C/I2C/ContentView.swift b/I2C/I2C/ContentView.swift index c9b93b8..e21bcb2 100644 --- a/I2C/I2C/ContentView.swift +++ b/I2C/I2C/ContentView.swift @@ -1,22 +1,31 @@ import SwiftUI struct ContentView: View { - var body: some View { - HStack { - + var header: some View { + VStack { + Text("Hello world!") + } + + } + 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("CPU INFO"){ + } - } - } + } + } +} diff --git a/I2C/I2C/I2CApp.swift b/I2C/I2C/I2CApp.swift index f8f6220..b70050f 100644 --- a/I2C/I2C/I2CApp.swift +++ b/I2C/I2C/I2CApp.swift @@ -1,10 +1,3 @@ -// -// I2CApp.swift -// I2C -// -// Created by nsrddyn on 09/11/2024. -// - import SwiftUI @main |
