From e60703aadca7d423c0fbfb189d5ef439fc1df072 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Mon, 14 Nov 2022 13:50:31 +0700 Subject: feat: Initial commit --- .../AccentColor.colorset/Contents.json | 11 ++++++++++ .../AppIcon.appiconset/Contents.json | 13 +++++++++++ code/app-ios/Storage/Assets.xcassets/Contents.json | 6 ++++++ code/app-ios/Storage/ContentView.swift | 25 ++++++++++++++++++++++ .../Preview Assets.xcassets/Contents.json | 6 ++++++ code/app-ios/Storage/StorageApp.swift | 17 +++++++++++++++ 6 files changed, 78 insertions(+) create mode 100644 code/app-ios/Storage/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 code/app-ios/Storage/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 code/app-ios/Storage/Assets.xcassets/Contents.json create mode 100644 code/app-ios/Storage/ContentView.swift create mode 100644 code/app-ios/Storage/Preview Content/Preview Assets.xcassets/Contents.json create mode 100644 code/app-ios/Storage/StorageApp.swift (limited to 'code/app-ios/Storage') diff --git a/code/app-ios/Storage/Assets.xcassets/AccentColor.colorset/Contents.json b/code/app-ios/Storage/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/code/app-ios/Storage/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/code/app-ios/Storage/Assets.xcassets/AppIcon.appiconset/Contents.json b/code/app-ios/Storage/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/code/app-ios/Storage/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,13 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/code/app-ios/Storage/Assets.xcassets/Contents.json b/code/app-ios/Storage/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/code/app-ios/Storage/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/code/app-ios/Storage/ContentView.swift b/code/app-ios/Storage/ContentView.swift new file mode 100644 index 0000000..132dfd7 --- /dev/null +++ b/code/app-ios/Storage/ContentView.swift @@ -0,0 +1,25 @@ +// +// ContentView.swift +// Storage +// +// Created by Ivar Løvlie on 14/11/2022. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + VStack { + Image(systemName: "globe") + .imageScale(.large) + .foregroundColor(.accentColor) + Text("Hello, world!") + } + } +} + +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + ContentView() + } +} diff --git a/code/app-ios/Storage/Preview Content/Preview Assets.xcassets/Contents.json b/code/app-ios/Storage/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/code/app-ios/Storage/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/code/app-ios/Storage/StorageApp.swift b/code/app-ios/Storage/StorageApp.swift new file mode 100644 index 0000000..43a0cbc --- /dev/null +++ b/code/app-ios/Storage/StorageApp.swift @@ -0,0 +1,17 @@ +// +// StorageApp.swift +// Storage +// +// Created by Ivar Løvlie on 14/11/2022. +// + +import SwiftUI + +@main +struct StorageApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} -- cgit v1.3