diff options
Diffstat (limited to 'Polocyte')
-rw-r--r-- | Polocyte/Assets.xcassets/AccentColor.colorset/Contents.json | 11 | ||||
-rw-r--r-- | Polocyte/Assets.xcassets/AppIcon.appiconset/Contents.json | 58 | ||||
-rw-r--r-- | Polocyte/Assets.xcassets/Contents.json | 6 | ||||
-rw-r--r-- | Polocyte/ContentView.swift | 24 | ||||
-rw-r--r-- | Polocyte/Polocyte.entitlements | 10 | ||||
-rw-r--r-- | Polocyte/PolocyteApp.swift | 17 | ||||
-rw-r--r-- | Polocyte/Preview Content/Preview Assets.xcassets/Contents.json | 6 |
7 files changed, 132 insertions, 0 deletions
diff --git a/Polocyte/Assets.xcassets/AccentColor.colorset/Contents.json b/Polocyte/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/Polocyte/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Polocyte/Assets.xcassets/AppIcon.appiconset/Contents.json b/Polocyte/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..3f00db4 --- /dev/null +++ b/Polocyte/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,58 @@ +{ + "images" : [ + { + "idiom" : "mac", + "scale" : "1x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "512x512" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "512x512" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Polocyte/Assets.xcassets/Contents.json b/Polocyte/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Polocyte/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Polocyte/ContentView.swift b/Polocyte/ContentView.swift new file mode 100644 index 0000000..2a2dcc7 --- /dev/null +++ b/Polocyte/ContentView.swift @@ -0,0 +1,24 @@ +// +// ContentView.swift +// Polocyte +// +// Created by Runxi Yu on 7/9/24. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + VStack { + Image(systemName: "globe") + .imageScale(.large) + .foregroundStyle(.tint) + Text("Hello, world!") + } + .padding() + } +} + +#Preview { + ContentView() +} diff --git a/Polocyte/Polocyte.entitlements b/Polocyte/Polocyte.entitlements new file mode 100644 index 0000000..18aff0c --- /dev/null +++ b/Polocyte/Polocyte.entitlements @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>com.apple.security.app-sandbox</key> + <true/> + <key>com.apple.security.files.user-selected.read-only</key> + <true/> +</dict> +</plist> diff --git a/Polocyte/PolocyteApp.swift b/Polocyte/PolocyteApp.swift new file mode 100644 index 0000000..738dac1 --- /dev/null +++ b/Polocyte/PolocyteApp.swift @@ -0,0 +1,17 @@ +// +// PolocyteApp.swift +// Polocyte +// +// Created by Runxi Yu on 7/9/24. +// + +import SwiftUI + +@main +struct PolocyteApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/Polocyte/Preview Content/Preview Assets.xcassets/Contents.json b/Polocyte/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Polocyte/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} |