Implement project for parts covered by Day 40.
|
@ -3,27 +3,51 @@
|
|||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 50;
|
||||
objectVersion = 52;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
F3AE83CB236C2E610017AF2C /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3AE83CA236C2E610017AF2C /* AppDelegate.swift */; };
|
||||
F3AE83CD236C2E610017AF2C /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3AE83CC236C2E610017AF2C /* SceneDelegate.swift */; };
|
||||
F3AE83CF236C2E610017AF2C /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3AE83CE236C2E610017AF2C /* ContentView.swift */; };
|
||||
F3AE83D1236C2E620017AF2C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F3AE83D0236C2E620017AF2C /* Assets.xcassets */; };
|
||||
F3AE83D4236C2E620017AF2C /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F3AE83D3236C2E620017AF2C /* Preview Assets.xcassets */; };
|
||||
F3AE83D7236C2E620017AF2C /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F3AE83D5236C2E620017AF2C /* LaunchScreen.storyboard */; };
|
||||
F3AE83F7236D6E540017AF2C /* Astronaut.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3AE83F6236D6E540017AF2C /* Astronaut.swift */; };
|
||||
F3AE83FA236D71BE0017AF2C /* CypherPoetCore.FileSystem in Frameworks */ = {isa = PBXBuildFile; productRef = F3AE83F9236D71BE0017AF2C /* CypherPoetCore.FileSystem */; };
|
||||
F3AE83FD236D741D0017AF2C /* missions.json in Resources */ = {isa = PBXBuildFile; fileRef = F3AE83FB236D741C0017AF2C /* missions.json */; };
|
||||
F3AE83FE236D741D0017AF2C /* astronauts.json in Resources */ = {isa = PBXBuildFile; fileRef = F3AE83FC236D741D0017AF2C /* astronauts.json */; };
|
||||
F3AE8400236D74870017AF2C /* Mission+CrewMember.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3AE83FF236D74870017AF2C /* Mission+CrewMember.swift */; };
|
||||
F3AE8402236D74950017AF2C /* Mission.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3AE8401236D74950017AF2C /* Mission.swift */; };
|
||||
F3AE8406236D796A0017AF2C /* MissionState.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3AE8405236D796A0017AF2C /* MissionState.swift */; };
|
||||
F3AE8409236D79A40017AF2C /* CypherPoetSwiftUIKit in Frameworks */ = {isa = PBXBuildFile; productRef = F3AE8408236D79A40017AF2C /* CypherPoetSwiftUIKit */; };
|
||||
F3AE840B236DA3030017AF2C /* AppState.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3AE840A236DA3030017AF2C /* AppState.swift */; };
|
||||
F3AE840D236DA7550017AF2C /* MissionsListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3AE840C236DA7550017AF2C /* MissionsListView.swift */; };
|
||||
F3AE8410236DA8370017AF2C /* SampleData.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3AE840F236DA8370017AF2C /* SampleData.swift */; };
|
||||
F3AE8413236DB3BA0017AF2C /* DataLoader.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3AE8412236DB3BA0017AF2C /* DataLoader.swift */; };
|
||||
F3AE8417236DC1A30017AF2C /* DateFormatters.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3AE8416236DC1A30017AF2C /* DateFormatters.swift */; };
|
||||
F3AE841A236DC1F40017AF2C /* MissionDecoder.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3AE8419236DC1F40017AF2C /* MissionDecoder.swift */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
F3AE83C7236C2E610017AF2C /* Moonshot.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Moonshot.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
F3AE83CA236C2E610017AF2C /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
||||
F3AE83CC236C2E610017AF2C /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
|
||||
F3AE83CE236C2E610017AF2C /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
|
||||
F3AE83D0236C2E620017AF2C /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
||||
F3AE83D3236C2E620017AF2C /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
|
||||
F3AE83D6236C2E620017AF2C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
||||
F3AE83D8236C2E620017AF2C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
F3AE83F6236D6E540017AF2C /* Astronaut.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Astronaut.swift; sourceTree = "<group>"; };
|
||||
F3AE83FB236D741C0017AF2C /* missions.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; name = missions.json; path = Resources/Data/missions.json; sourceTree = SOURCE_ROOT; };
|
||||
F3AE83FC236D741D0017AF2C /* astronauts.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; name = astronauts.json; path = Resources/Data/astronauts.json; sourceTree = SOURCE_ROOT; };
|
||||
F3AE83FF236D74870017AF2C /* Mission+CrewMember.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Mission+CrewMember.swift"; sourceTree = "<group>"; };
|
||||
F3AE8401236D74950017AF2C /* Mission.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Mission.swift; sourceTree = "<group>"; };
|
||||
F3AE8405236D796A0017AF2C /* MissionState.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MissionState.swift; sourceTree = "<group>"; };
|
||||
F3AE840A236DA3030017AF2C /* AppState.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppState.swift; sourceTree = "<group>"; };
|
||||
F3AE840C236DA7550017AF2C /* MissionsListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MissionsListView.swift; sourceTree = "<group>"; };
|
||||
F3AE840F236DA8370017AF2C /* SampleData.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SampleData.swift; sourceTree = "<group>"; };
|
||||
F3AE8412236DB3BA0017AF2C /* DataLoader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DataLoader.swift; sourceTree = "<group>"; };
|
||||
F3AE8416236DC1A30017AF2C /* DateFormatters.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DateFormatters.swift; sourceTree = "<group>"; };
|
||||
F3AE8419236DC1F40017AF2C /* MissionDecoder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MissionDecoder.swift; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
|
@ -31,6 +55,8 @@
|
|||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
F3AE8409236D79A40017AF2C /* CypherPoetSwiftUIKit in Frameworks */,
|
||||
F3AE83FA236D71BE0017AF2C /* CypherPoetCore.FileSystem in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
|
@ -56,13 +82,15 @@
|
|||
F3AE83C9236C2E610017AF2C /* Moonshot */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F3AE83D8236C2E620017AF2C /* Info.plist */,
|
||||
F3AE83CA236C2E610017AF2C /* AppDelegate.swift */,
|
||||
F3AE83CC236C2E610017AF2C /* SceneDelegate.swift */,
|
||||
F3AE83CE236C2E610017AF2C /* ContentView.swift */,
|
||||
F3AE83D0236C2E620017AF2C /* Assets.xcassets */,
|
||||
F3AE83F3236D6BCF0017AF2C /* Data */,
|
||||
F3AE83D5236C2E620017AF2C /* LaunchScreen.storyboard */,
|
||||
F3AE83D8236C2E620017AF2C /* Info.plist */,
|
||||
F3AE83D2236C2E620017AF2C /* Preview Content */,
|
||||
F3AE83F2236D6BC70017AF2C /* Resources */,
|
||||
F3AE8414236DC17B0017AF2C /* Reusables */,
|
||||
F3AE83F5236D6BDF0017AF2C /* Scenes */,
|
||||
);
|
||||
path = Moonshot;
|
||||
sourceTree = "<group>";
|
||||
|
@ -70,11 +98,108 @@
|
|||
F3AE83D2236C2E620017AF2C /* Preview Content */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F3AE840E236DA7C50017AF2C /* Sample Data */,
|
||||
F3AE83D3236C2E620017AF2C /* Preview Assets.xcassets */,
|
||||
);
|
||||
path = "Preview Content";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
F3AE83F2236D6BC70017AF2C /* Resources */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F3AE83FC236D741D0017AF2C /* astronauts.json */,
|
||||
F3AE83FB236D741C0017AF2C /* missions.json */,
|
||||
F3AE83D0236C2E620017AF2C /* Assets.xcassets */,
|
||||
);
|
||||
path = Resources;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
F3AE83F3236D6BCF0017AF2C /* Data */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F3AE83F4236D6BDB0017AF2C /* Models */,
|
||||
F3AE8411236DB3A70017AF2C /* Services */,
|
||||
F3AE8404236D79560017AF2C /* State */,
|
||||
);
|
||||
path = Data;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
F3AE83F4236D6BDB0017AF2C /* Models */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F3AE83F6236D6E540017AF2C /* Astronaut.swift */,
|
||||
F3AE83FF236D74870017AF2C /* Mission+CrewMember.swift */,
|
||||
F3AE8401236D74950017AF2C /* Mission.swift */,
|
||||
);
|
||||
path = Models;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
F3AE83F5236D6BDF0017AF2C /* Scenes */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F3AE8403236D76280017AF2C /* Missions */,
|
||||
);
|
||||
path = Scenes;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
F3AE8403236D76280017AF2C /* Missions */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F3AE840C236DA7550017AF2C /* MissionsListView.swift */,
|
||||
);
|
||||
path = Missions;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
F3AE8404236D79560017AF2C /* State */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F3AE8405236D796A0017AF2C /* MissionState.swift */,
|
||||
F3AE840A236DA3030017AF2C /* AppState.swift */,
|
||||
);
|
||||
path = State;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
F3AE840E236DA7C50017AF2C /* Sample Data */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F3AE840F236DA8370017AF2C /* SampleData.swift */,
|
||||
);
|
||||
path = "Sample Data";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
F3AE8411236DB3A70017AF2C /* Services */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F3AE8412236DB3BA0017AF2C /* DataLoader.swift */,
|
||||
);
|
||||
path = Services;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
F3AE8414236DC17B0017AF2C /* Reusables */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F3AE8418236DC1E80017AF2C /* Decoders */,
|
||||
F3AE8415236DC1850017AF2C /* Formatters */,
|
||||
);
|
||||
path = Reusables;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
F3AE8415236DC1850017AF2C /* Formatters */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F3AE8416236DC1A30017AF2C /* DateFormatters.swift */,
|
||||
);
|
||||
path = Formatters;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
F3AE8418236DC1E80017AF2C /* Decoders */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F3AE8419236DC1F40017AF2C /* MissionDecoder.swift */,
|
||||
);
|
||||
path = Decoders;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
|
@ -91,6 +216,10 @@
|
|||
dependencies = (
|
||||
);
|
||||
name = Moonshot;
|
||||
packageProductDependencies = (
|
||||
F3AE83F9236D71BE0017AF2C /* CypherPoetCore.FileSystem */,
|
||||
F3AE8408236D79A40017AF2C /* CypherPoetSwiftUIKit */,
|
||||
);
|
||||
productName = Moonshot;
|
||||
productReference = F3AE83C7236C2E610017AF2C /* Moonshot.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
|
@ -119,6 +248,10 @@
|
|||
Base,
|
||||
);
|
||||
mainGroup = F3AE83BE236C2E610017AF2C;
|
||||
packageReferences = (
|
||||
F3AE83F8236D71BE0017AF2C /* XCRemoteSwiftPackageReference "CypherPoetCore" */,
|
||||
F3AE8407236D79A40017AF2C /* XCRemoteSwiftPackageReference "CypherPoetSwiftUIKit" */,
|
||||
);
|
||||
productRefGroup = F3AE83C8236C2E610017AF2C /* Products */;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
|
@ -135,6 +268,8 @@
|
|||
files = (
|
||||
F3AE83D7236C2E620017AF2C /* LaunchScreen.storyboard in Resources */,
|
||||
F3AE83D4236C2E620017AF2C /* Preview Assets.xcassets in Resources */,
|
||||
F3AE83FD236D741D0017AF2C /* missions.json in Resources */,
|
||||
F3AE83FE236D741D0017AF2C /* astronauts.json in Resources */,
|
||||
F3AE83D1236C2E620017AF2C /* Assets.xcassets in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
|
@ -146,9 +281,18 @@
|
|||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
F3AE8413236DB3BA0017AF2C /* DataLoader.swift in Sources */,
|
||||
F3AE8406236D796A0017AF2C /* MissionState.swift in Sources */,
|
||||
F3AE8400236D74870017AF2C /* Mission+CrewMember.swift in Sources */,
|
||||
F3AE841A236DC1F40017AF2C /* MissionDecoder.swift in Sources */,
|
||||
F3AE840B236DA3030017AF2C /* AppState.swift in Sources */,
|
||||
F3AE8417236DC1A30017AF2C /* DateFormatters.swift in Sources */,
|
||||
F3AE83F7236D6E540017AF2C /* Astronaut.swift in Sources */,
|
||||
F3AE83CB236C2E610017AF2C /* AppDelegate.swift in Sources */,
|
||||
F3AE840D236DA7550017AF2C /* MissionsListView.swift in Sources */,
|
||||
F3AE8402236D74950017AF2C /* Mission.swift in Sources */,
|
||||
F3AE8410236DA8370017AF2C /* SampleData.swift in Sources */,
|
||||
F3AE83CD236C2E610017AF2C /* SceneDelegate.swift in Sources */,
|
||||
F3AE83CF236C2E610017AF2C /* ContentView.swift in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
|
@ -342,6 +486,38 @@
|
|||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
|
||||
/* Begin XCRemoteSwiftPackageReference section */
|
||||
F3AE83F8236D71BE0017AF2C /* XCRemoteSwiftPackageReference "CypherPoetCore" */ = {
|
||||
isa = XCRemoteSwiftPackageReference;
|
||||
repositoryURL = "https://github.com/CypherPoet/CypherPoetCore.git";
|
||||
requirement = {
|
||||
kind = upToNextMajorVersion;
|
||||
minimumVersion = 0.0.18;
|
||||
};
|
||||
};
|
||||
F3AE8407236D79A40017AF2C /* XCRemoteSwiftPackageReference "CypherPoetSwiftUIKit" */ = {
|
||||
isa = XCRemoteSwiftPackageReference;
|
||||
repositoryURL = "https://github.com/CypherPoet/CypherPoetSwiftUIKit.git";
|
||||
requirement = {
|
||||
kind = upToNextMajorVersion;
|
||||
minimumVersion = 0.0.21;
|
||||
};
|
||||
};
|
||||
/* End XCRemoteSwiftPackageReference section */
|
||||
|
||||
/* Begin XCSwiftPackageProductDependency section */
|
||||
F3AE83F9236D71BE0017AF2C /* CypherPoetCore.FileSystem */ = {
|
||||
isa = XCSwiftPackageProductDependency;
|
||||
package = F3AE83F8236D71BE0017AF2C /* XCRemoteSwiftPackageReference "CypherPoetCore" */;
|
||||
productName = CypherPoetCore.FileSystem;
|
||||
};
|
||||
F3AE8408236D79A40017AF2C /* CypherPoetSwiftUIKit */ = {
|
||||
isa = XCSwiftPackageProductDependency;
|
||||
package = F3AE8407236D79A40017AF2C /* XCRemoteSwiftPackageReference "CypherPoetSwiftUIKit" */;
|
||||
productName = CypherPoetSwiftUIKit;
|
||||
};
|
||||
/* End XCSwiftPackageProductDependency section */
|
||||
};
|
||||
rootObject = F3AE83BF236C2E610017AF2C /* Project object */;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"object": {
|
||||
"pins": [
|
||||
{
|
||||
"package": "CypherPoetCore",
|
||||
"repositoryURL": "https://github.com/CypherPoet/CypherPoetCore.git",
|
||||
"state": {
|
||||
"branch": null,
|
||||
"revision": "d074a19fd4b6ecbb347b03522290e049fc5a1da6",
|
||||
"version": "0.0.18"
|
||||
}
|
||||
},
|
||||
{
|
||||
"package": "CypherPoetSwiftUIKit",
|
||||
"repositoryURL": "https://github.com/CypherPoet/CypherPoetSwiftUIKit.git",
|
||||
"state": {
|
||||
"branch": null,
|
||||
"revision": "cfe7b0435a175503de67f855ba6bb5c79cf6f297",
|
||||
"version": "0.0.21"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"version": 1
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
//
|
||||
// ContentView.swift
|
||||
// Moonshot
|
||||
//
|
||||
// Created by Brian Sipple on 11/1/19.
|
||||
// Copyright © 2019 CypherPoet. All rights reserved.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct ContentView: View {
|
||||
var body: some View {
|
||||
Text("Hello, World!")
|
||||
}
|
||||
}
|
||||
|
||||
struct ContentView_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
ContentView()
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
//
|
||||
// Astronaut.swift
|
||||
// Moonshot
|
||||
//
|
||||
// Created by CypherPoet on 11/2/19.
|
||||
// ✌️
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
|
||||
struct Astronaut: Identifiable {
|
||||
let id: String
|
||||
let name: String
|
||||
let description: String
|
||||
}
|
||||
|
||||
|
||||
extension Astronaut: Codable {}
|
|
@ -0,0 +1,21 @@
|
|||
//
|
||||
// CrewRole.swift
|
||||
// Moonshot
|
||||
//
|
||||
// Created by CypherPoet on 11/2/19.
|
||||
// ✌️
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
|
||||
extension Mission {
|
||||
|
||||
struct CrewMember {
|
||||
let name: String
|
||||
let role: String
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
extension Mission.CrewMember: Codable {}
|
|
@ -0,0 +1,32 @@
|
|||
//
|
||||
// Mission.swift
|
||||
// Moonshot
|
||||
//
|
||||
// Created by CypherPoet on 11/2/19.
|
||||
// ✌️
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
|
||||
struct Mission: Identifiable {
|
||||
var id: Int
|
||||
var crew: [CrewMember]
|
||||
var description: String
|
||||
var launchDate: Date?
|
||||
}
|
||||
|
||||
extension Mission: Codable {}
|
||||
|
||||
|
||||
// MARK: - Computeds
|
||||
extension Mission {
|
||||
var displayName: String { "Apollo \(id)" }
|
||||
var imageName: String { "apollo\(id)"}
|
||||
|
||||
var formattedLaunchDate: String {
|
||||
guard let launchDate = launchDate else { return "N/A" }
|
||||
|
||||
return DateFormatters.missionLaunchDate.string(from: launchDate)
|
||||
}
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
//
|
||||
// DataLoader.swift
|
||||
// Moonshot
|
||||
//
|
||||
// Created by CypherPoet on 11/2/19.
|
||||
// ✌️
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import Combine
|
||||
import CypherPoetCore_FileSystem
|
||||
|
||||
|
||||
struct DataLoader {
|
||||
static let shared = DataLoader()
|
||||
|
||||
enum Error: Swift.Error {
|
||||
case fileNotFound
|
||||
case failedToLoadData(Swift.Error)
|
||||
case generic(Swift.Error)
|
||||
}
|
||||
|
||||
|
||||
func decodeJSON<T: Decodable>(
|
||||
fromFileNamed fileName: String,
|
||||
withExtension extensionName: String = "json",
|
||||
using decoder: JSONDecoder = JSONDecoder()
|
||||
) -> AnyPublisher<T, DataLoader.Error> {
|
||||
Just(Bundle.main)
|
||||
.map { $0.url(forResource: fileName, withExtension: extensionName) }
|
||||
.tryMap { url throws -> Data in
|
||||
guard let url = url else {
|
||||
throw Error.fileNotFound
|
||||
}
|
||||
|
||||
do {
|
||||
return try Data(contentsOf: url)
|
||||
} catch {
|
||||
throw Error.failedToLoadData(error)
|
||||
}
|
||||
}
|
||||
.decode(type: T.self, decoder: decoder)
|
||||
.mapError { Error.generic($0) }
|
||||
.eraseToAnyPublisher()
|
||||
}
|
||||
}
|
|
@ -0,0 +1,37 @@
|
|||
//
|
||||
// AppState.swift
|
||||
// Moonshot
|
||||
//
|
||||
// Created by CypherPoet on 11/2/19.
|
||||
// ✌️
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import Combine
|
||||
import CypherPoetCore_FileSystem
|
||||
import CypherPoetSwiftUIKit_DataFlowUtils
|
||||
|
||||
|
||||
|
||||
enum AppAction {
|
||||
case mission(_ missionAction: MissionAction)
|
||||
}
|
||||
|
||||
|
||||
|
||||
struct AppState {
|
||||
var missionState = MissionState()
|
||||
}
|
||||
|
||||
|
||||
// MARK: - Reducer
|
||||
let appReducer = Reducer<AppState, AppAction> { appState, action in
|
||||
switch action {
|
||||
case let .mission(action):
|
||||
missionReducer.reduce(&appState.missionState, action)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
typealias AppStore = Store<AppState, AppAction>
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
//
|
||||
// MissionState.swift
|
||||
// Moonshot
|
||||
//
|
||||
// Created by CypherPoet on 11/2/19.
|
||||
// ✌️
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import Combine
|
||||
import CypherPoetSwiftUIKit_DataFlowUtils
|
||||
|
||||
|
||||
enum MissionSideEffect: SideEffect {
|
||||
case loadMissions
|
||||
|
||||
func mapToAction() -> AnyPublisher<AppAction, Never> {
|
||||
switch self {
|
||||
case .loadMissions:
|
||||
return DataLoader.shared
|
||||
.decodeJSON(fromFileNamed: "missions", using: MissionDecoder.default)
|
||||
.replaceError(with: [])
|
||||
.map { AppAction.mission(.setMissions($0)) }
|
||||
.eraseToAnyPublisher()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
enum MissionAction {
|
||||
case setMissions(_ missions: [Mission])
|
||||
}
|
||||
|
||||
|
||||
|
||||
struct MissionState {
|
||||
var missions: [Mission] = []
|
||||
}
|
||||
|
||||
|
||||
// MARK: - Reducer
|
||||
let missionReducer = Reducer<MissionState, MissionAction> { state, action in
|
||||
switch action {
|
||||
case let .setMissions(missions):
|
||||
state.missions = missions
|
||||
}
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
//
|
||||
// SampleData.swift
|
||||
// Moonshot
|
||||
//
|
||||
// Created by CypherPoet on 11/2/19.
|
||||
// ✌️
|
||||
//
|
||||
|
||||
|
||||
#if DEBUG
|
||||
|
||||
import Foundation
|
||||
|
||||
|
||||
|
||||
enum SampleAppState {
|
||||
static let `default` = AppState()
|
||||
}
|
||||
|
||||
|
||||
enum SampleStore {
|
||||
static let `default` = AppStore(initialState: SampleAppState.default, appReducer: appReducer)
|
||||
}
|
||||
|
||||
|
||||
|
||||
#endif
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "aldrin@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "aldrin@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 132 KiB |
After Width: | Height: | Size: 230 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "anders@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "anders@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 122 KiB |
After Width: | Height: | Size: 221 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "armstrong@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "armstrong@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 136 KiB |
After Width: | Height: | Size: 243 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "bean@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "bean@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
BIN
day-039/Projects/Moonshot/Moonshot/Resources/Assets.xcassets/Astronauts/bean.imageset/bean@2x.jpg
vendored
Normal file
After Width: | Height: | Size: 141 KiB |
BIN
day-039/Projects/Moonshot/Moonshot/Resources/Assets.xcassets/Astronauts/bean.imageset/bean@3x.jpg
vendored
Normal file
After Width: | Height: | Size: 325 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "borman@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "borman@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 102 KiB |
After Width: | Height: | Size: 184 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "cernan@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "cernan@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 87 KiB |
After Width: | Height: | Size: 167 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "chaffee@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "chaffee@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 110 KiB |
After Width: | Height: | Size: 202 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "collins@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "collins@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 119 KiB |
After Width: | Height: | Size: 263 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "conrad@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "conrad@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 100 KiB |
After Width: | Height: | Size: 201 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "cunningham@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "cunningham@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 93 KiB |
After Width: | Height: | Size: 168 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "duke@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "duke@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
BIN
day-039/Projects/Moonshot/Moonshot/Resources/Assets.xcassets/Astronauts/duke.imageset/duke@2x.jpg
vendored
Normal file
After Width: | Height: | Size: 122 KiB |
BIN
day-039/Projects/Moonshot/Moonshot/Resources/Assets.xcassets/Astronauts/duke.imageset/duke@3x.jpg
vendored
Normal file
After Width: | Height: | Size: 281 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "eisele@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "eisele@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 129 KiB |
After Width: | Height: | Size: 240 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "evans@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "evans@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
BIN
day-039/Projects/Moonshot/Moonshot/Resources/Assets.xcassets/Astronauts/evans.imageset/evans@2x.jpg
vendored
Normal file
After Width: | Height: | Size: 108 KiB |
BIN
day-039/Projects/Moonshot/Moonshot/Resources/Assets.xcassets/Astronauts/evans.imageset/evans@3x.jpg
vendored
Normal file
After Width: | Height: | Size: 246 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "gordon@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "gordon@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 126 KiB |
After Width: | Height: | Size: 242 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "grissom@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "grissom@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 216 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "haise@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "haise@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
BIN
day-039/Projects/Moonshot/Moonshot/Resources/Assets.xcassets/Astronauts/haise.imageset/haise@2x.jpg
vendored
Normal file
After Width: | Height: | Size: 145 KiB |
BIN
day-039/Projects/Moonshot/Moonshot/Resources/Assets.xcassets/Astronauts/haise.imageset/haise@3x.jpg
vendored
Normal file
After Width: | Height: | Size: 252 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "irwin@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "irwin@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
BIN
day-039/Projects/Moonshot/Moonshot/Resources/Assets.xcassets/Astronauts/irwin.imageset/irwin@2x.jpg
vendored
Normal file
After Width: | Height: | Size: 160 KiB |
BIN
day-039/Projects/Moonshot/Moonshot/Resources/Assets.xcassets/Astronauts/irwin.imageset/irwin@3x.jpg
vendored
Normal file
After Width: | Height: | Size: 297 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "lovell@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "lovell@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 137 KiB |
After Width: | Height: | Size: 241 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "mattingly@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "mattingly@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 112 KiB |
After Width: | Height: | Size: 191 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "mcdivitt@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "mcdivitt@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 135 KiB |
After Width: | Height: | Size: 245 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "mitchell@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "mitchell@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 128 KiB |
After Width: | Height: | Size: 205 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "roosa@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "roosa@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
BIN
day-039/Projects/Moonshot/Moonshot/Resources/Assets.xcassets/Astronauts/roosa.imageset/roosa@2x.jpg
vendored
Normal file
After Width: | Height: | Size: 102 KiB |
BIN
day-039/Projects/Moonshot/Moonshot/Resources/Assets.xcassets/Astronauts/roosa.imageset/roosa@3x.jpg
vendored
Normal file
After Width: | Height: | Size: 197 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "schirra@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "schirra@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 124 KiB |
After Width: | Height: | Size: 969 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "schmitt@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "schmitt@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 130 KiB |
After Width: | Height: | Size: 233 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "schweickart@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "schweickart@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 131 KiB |
After Width: | Height: | Size: 232 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "scott@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "scott@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
BIN
day-039/Projects/Moonshot/Moonshot/Resources/Assets.xcassets/Astronauts/scott.imageset/scott@2x.jpg
vendored
Normal file
After Width: | Height: | Size: 143 KiB |
BIN
day-039/Projects/Moonshot/Moonshot/Resources/Assets.xcassets/Astronauts/scott.imageset/scott@3x.jpg
vendored
Normal file
After Width: | Height: | Size: 262 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "shepard@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "shepard@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 113 KiB |
After Width: | Height: | Size: 229 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "stafford@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "stafford@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 131 KiB |
After Width: | Height: | Size: 234 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "swigert@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "swigert@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 132 KiB |
After Width: | Height: | Size: 237 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "white@2x.jpg",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "white@3x.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|