End of Step 4: Move app shared stuff to AppShared

xcode15-and-vision
Alan Francis 2 years ago
parent fb4d02d577
commit 4ddea12805
  1. 0
      AppShared/Assets.xcassets/AccentColor.colorset/Contents.json
  2. 5
      AppShared/Assets.xcassets/AppIcon.appiconset/Contents.json
  3. 4
      AppShared/Assets.xcassets/Brand Assets.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/Contents.json
  4. 0
      AppShared/Assets.xcassets/Brand Assets.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Contents.json
  5. 17
      AppShared/Assets.xcassets/Brand Assets.brandassets/App Icon - App Store.imagestack/Contents.json
  6. 11
      AppShared/Assets.xcassets/Brand Assets.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/Contents.json
  7. 0
      AppShared/Assets.xcassets/Brand Assets.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Contents.json
  8. 11
      AppShared/Assets.xcassets/Brand Assets.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json
  9. 6
      AppShared/Assets.xcassets/Brand Assets.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Contents.json
  10. 16
      AppShared/Assets.xcassets/Brand Assets.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/Contents.json
  11. 6
      AppShared/Assets.xcassets/Brand Assets.brandassets/App Icon.imagestack/Back.imagestacklayer/Contents.json
  12. 17
      AppShared/Assets.xcassets/Brand Assets.brandassets/App Icon.imagestack/Contents.json
  13. 16
      AppShared/Assets.xcassets/Brand Assets.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/Contents.json
  14. 6
      AppShared/Assets.xcassets/Brand Assets.brandassets/App Icon.imagestack/Front.imagestacklayer/Contents.json
  15. 16
      AppShared/Assets.xcassets/Brand Assets.brandassets/App Icon.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json
  16. 6
      AppShared/Assets.xcassets/Brand Assets.brandassets/App Icon.imagestack/Middle.imagestacklayer/Contents.json
  17. 32
      AppShared/Assets.xcassets/Brand Assets.brandassets/Contents.json
  18. 16
      AppShared/Assets.xcassets/Brand Assets.brandassets/Top Shelf Image Wide.imageset/Contents.json
  19. 16
      AppShared/Assets.xcassets/Brand Assets.brandassets/Top Shelf Image.imageset/Contents.json
  20. 6
      AppShared/Assets.xcassets/Contents.json
  21. 0
      AppShared/ContentView.swift
  22. 0
      AppShared/JustOneThingApp.swift
  23. 32
      JustOneThing.xcodeproj/project.pbxproj
  24. 4
      JustOneThing.xcodeproj/xcuserdata/acf.xcuserdatad/xcschemes/xcschememanagement.plist
  25. 13
      JustOneThingWatch Watch App/Assets.xcassets/AppIcon.appiconset/Contents.json
  26. 26
      JustOneThingWatch Watch App/ContentView.swift
  27. 17
      JustOneThingWatch Watch App/JustOneThingWatchApp.swift

@ -54,6 +54,11 @@
"idiom" : "mac",
"scale" : "2x",
"size" : "512x512"
},
{
"idiom" : "universal",
"platform" : "watchos",
"size" : "1024x1024"
}
],
"info" : {

@ -0,0 +1,17 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"layers" : [
{
"filename" : "Front.imagestacklayer"
},
{
"filename" : "Middle.imagestacklayer"
},
{
"filename" : "Back.imagestacklayer"
}
]
}

@ -0,0 +1,11 @@
{
"images" : [
{
"idiom" : "tv"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

@ -0,0 +1,11 @@
{
"images" : [
{
"idiom" : "tv"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

@ -0,0 +1,16 @@
{
"images" : [
{
"idiom" : "tv",
"scale" : "1x"
},
{
"idiom" : "tv",
"scale" : "2x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

@ -0,0 +1,17 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"layers" : [
{
"filename" : "Front.imagestacklayer"
},
{
"filename" : "Middle.imagestacklayer"
},
{
"filename" : "Back.imagestacklayer"
}
]
}

@ -0,0 +1,16 @@
{
"images" : [
{
"idiom" : "tv",
"scale" : "1x"
},
{
"idiom" : "tv",
"scale" : "2x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

@ -0,0 +1,16 @@
{
"images" : [
{
"idiom" : "tv",
"scale" : "1x"
},
{
"idiom" : "tv",
"scale" : "2x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

@ -0,0 +1,32 @@
{
"assets" : [
{
"filename" : "App Icon - App Store.imagestack",
"idiom" : "tv",
"role" : "primary-app-icon",
"size" : "1280x768"
},
{
"filename" : "App Icon.imagestack",
"idiom" : "tv",
"role" : "primary-app-icon",
"size" : "400x240"
},
{
"filename" : "Top Shelf Image Wide.imageset",
"idiom" : "tv",
"role" : "top-shelf-image-wide",
"size" : "2320x720"
},
{
"filename" : "Top Shelf Image.imageset",
"idiom" : "tv",
"role" : "top-shelf-image",
"size" : "1920x720"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

@ -0,0 +1,16 @@
{
"images" : [
{
"idiom" : "tv",
"scale" : "1x"
},
{
"idiom" : "tv",
"scale" : "2x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

@ -0,0 +1,16 @@
{
"images" : [
{
"idiom" : "tv",
"scale" : "1x"
},
{
"idiom" : "tv",
"scale" : "2x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

@ -7,9 +7,9 @@
objects = {
/* Begin PBXBuildFile section */
5431ED702A2A77C900515680 /* JustOneThingWatchApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5431ED6F2A2A77C900515680 /* JustOneThingWatchApp.swift */; };
5431ED722A2A77C900515680 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5431ED712A2A77C900515680 /* ContentView.swift */; };
5431ED742A2A77CA00515680 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5431ED732A2A77CA00515680 /* Assets.xcassets */; };
5407E5022A2A8AE200EF00B8 /* JustOneThingApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5483903A2A2A773900BF5624 /* JustOneThingApp.swift */; };
5407E5032A2A8AE700EF00B8 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5483903C2A2A773900BF5624 /* ContentView.swift */; };
5407E5042A2A8AEA00EF00B8 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5483903E2A2A773A00BF5624 /* Assets.xcassets */; };
5431ED772A2A77CA00515680 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5431ED762A2A77CA00515680 /* Preview Assets.xcassets */; };
5431ED7A2A2A77CA00515680 /* JustOneThingWatch Watch App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = 5431ED6D2A2A77C900515680 /* JustOneThingWatch Watch App.app */; platformFilter = ios; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
5483903B2A2A773900BF5624 /* JustOneThingApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5483903A2A2A773900BF5624 /* JustOneThingApp.swift */; };
@ -44,9 +44,6 @@
/* Begin PBXFileReference section */
5431ED6D2A2A77C900515680 /* JustOneThingWatch Watch App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "JustOneThingWatch Watch App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
5431ED6F2A2A77C900515680 /* JustOneThingWatchApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JustOneThingWatchApp.swift; sourceTree = "<group>"; };
5431ED712A2A77C900515680 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
5431ED732A2A77CA00515680 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
5431ED762A2A77CA00515680 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
548390372A2A773900BF5624 /* JustOneThing.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = JustOneThing.app; sourceTree = BUILT_PRODUCTS_DIR; };
5483903A2A2A773900BF5624 /* JustOneThingApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JustOneThingApp.swift; sourceTree = "<group>"; };
@ -74,12 +71,19 @@
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
5407E5012A2A8A5100EF00B8 /* AppShared */ = {
isa = PBXGroup;
children = (
5483903A2A2A773900BF5624 /* JustOneThingApp.swift */,
5483903C2A2A773900BF5624 /* ContentView.swift */,
5483903E2A2A773A00BF5624 /* Assets.xcassets */,
);
path = AppShared;
sourceTree = "<group>";
};
5431ED6E2A2A77C900515680 /* JustOneThingWatch Watch App */ = {
isa = PBXGroup;
children = (
5431ED6F2A2A77C900515680 /* JustOneThingWatchApp.swift */,
5431ED712A2A77C900515680 /* ContentView.swift */,
5431ED732A2A77CA00515680 /* Assets.xcassets */,
5431ED752A2A77CA00515680 /* Preview Content */,
);
path = "JustOneThingWatch Watch App";
@ -96,6 +100,7 @@
5483902E2A2A773900BF5624 = {
isa = PBXGroup;
children = (
5407E5012A2A8A5100EF00B8 /* AppShared */,
548390392A2A773900BF5624 /* JustOneThing */,
5431ED6E2A2A77C900515680 /* JustOneThingWatch Watch App */,
548390382A2A773900BF5624 /* Products */,
@ -114,9 +119,6 @@
548390392A2A773900BF5624 /* JustOneThing */ = {
isa = PBXGroup;
children = (
5483903A2A2A773900BF5624 /* JustOneThingApp.swift */,
5483903C2A2A773900BF5624 /* ContentView.swift */,
5483903E2A2A773A00BF5624 /* Assets.xcassets */,
548390402A2A773A00BF5624 /* JustOneThing.entitlements */,
548390412A2A773A00BF5624 /* Preview Content */,
);
@ -212,8 +214,8 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
5407E5042A2A8AEA00EF00B8 /* Assets.xcassets in Resources */,
5431ED772A2A77CA00515680 /* Preview Assets.xcassets in Resources */,
5431ED742A2A77CA00515680 /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -233,8 +235,8 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
5431ED722A2A77C900515680 /* ContentView.swift in Sources */,
5431ED702A2A77C900515680 /* JustOneThingWatchApp.swift in Sources */,
5407E5032A2A8AE700EF00B8 /* ContentView.swift in Sources */,
5407E5022A2A8AE200EF00B8 /* JustOneThingApp.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};

@ -7,12 +7,12 @@
<key>JustOneThing.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>1</integer>
</dict>
<key>JustOneThingWatch Watch App.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
<integer>0</integer>
</dict>
</dict>
</dict>

@ -1,13 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"platform" : "watchos",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

@ -1,26 +0,0 @@
//
// ContentView.swift
// JustOneThingWatch Watch App
//
// Created by Alan Francis on 02/06/2023.
//
import SwiftUI
struct ContentView: View {
var body: some View {
VStack {
Image(systemName: "globe")
.imageScale(.large)
.foregroundColor(.accentColor)
Text("Hello, world!")
}
.padding()
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}

@ -1,17 +0,0 @@
//
// JustOneThingWatchApp.swift
// JustOneThingWatch Watch App
//
// Created by Alan Francis on 02/06/2023.
//
import SwiftUI
@main
struct JustOneThingWatch_Watch_AppApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
Loading…
Cancel
Save