Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit b18baca

Browse files
authored
Merge pull request #64 from hanton/add_helloworldmetal_demo
Add HelloWorldMetal demo
2 parents 77b452f + a176876 commit b18baca

File tree

27 files changed

+1945
-0
lines changed

27 files changed

+1945
-0
lines changed

HelloWorld-Metal/HelloWorld-Metal/HelloWorld-Metal.xcodeproj/project.pbxproj

Lines changed: 395 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1240"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "8BA1BEF726C1C13C008AD5B2"
18+
BuildableName = "HelloWorld-Metal.app"
19+
BlueprintName = "HelloWorld-Metal"
20+
ReferencedContainer = "container:HelloWorld-Metal.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
</TestAction>
33+
<LaunchAction
34+
buildConfiguration = "Debug"
35+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
36+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
37+
launchStyle = "0"
38+
useCustomWorkingDirectory = "NO"
39+
ignoresPersistentStateOnLaunch = "NO"
40+
debugDocumentVersioning = "YES"
41+
debugServiceExtension = "internal"
42+
allowLocationSimulation = "YES">
43+
<BuildableProductRunnable
44+
runnableDebuggingMode = "0">
45+
<BuildableReference
46+
BuildableIdentifier = "primary"
47+
BlueprintIdentifier = "8BA1BEF726C1C13C008AD5B2"
48+
BuildableName = "HelloWorld-Metal.app"
49+
BlueprintName = "HelloWorld-Metal"
50+
ReferencedContainer = "container:HelloWorld-Metal.xcodeproj">
51+
</BuildableReference>
52+
</BuildableProductRunnable>
53+
</LaunchAction>
54+
<ProfileAction
55+
buildConfiguration = "Release"
56+
shouldUseLaunchSchemeArgsEnv = "YES"
57+
savedToolIdentifier = ""
58+
useCustomWorkingDirectory = "NO"
59+
debugDocumentVersioning = "YES">
60+
<BuildableProductRunnable
61+
runnableDebuggingMode = "0">
62+
<BuildableReference
63+
BuildableIdentifier = "primary"
64+
BlueprintIdentifier = "8BA1BEF726C1C13C008AD5B2"
65+
BuildableName = "HelloWorld-Metal.app"
66+
BlueprintName = "HelloWorld-Metal"
67+
ReferencedContainer = "container:HelloWorld-Metal.xcodeproj">
68+
</BuildableReference>
69+
</BuildableProductRunnable>
70+
</ProfileAction>
71+
<AnalyzeAction
72+
buildConfiguration = "Debug">
73+
</AnalyzeAction>
74+
<ArchiveAction
75+
buildConfiguration = "Release"
76+
revealArchiveInOrganizer = "YES">
77+
</ArchiveAction>
78+
</Scheme>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import UIKit
2+
3+
@main
4+
class AppDelegate: UIResponder, UIApplicationDelegate {
5+
var window: UIWindow?
6+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
7+
// Override point for customization after application launch.
8+
return true
9+
}
10+
}
11+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"colors" : [
3+
{
4+
"idiom" : "universal"
5+
}
6+
],
7+
"info" : {
8+
"author" : "xcode",
9+
"version" : 1
10+
}
11+
}
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "iphone",
5+
"scale" : "2x",
6+
"size" : "20x20"
7+
},
8+
{
9+
"idiom" : "iphone",
10+
"scale" : "3x",
11+
"size" : "20x20"
12+
},
13+
{
14+
"filename" : "Icon-Small@2x-1.png",
15+
"idiom" : "iphone",
16+
"scale" : "2x",
17+
"size" : "29x29"
18+
},
19+
{
20+
"filename" : "Icon-Small@3x.png",
21+
"idiom" : "iphone",
22+
"scale" : "3x",
23+
"size" : "29x29"
24+
},
25+
{
26+
"filename" : "Icon-Small-40@2x.png",
27+
"idiom" : "iphone",
28+
"scale" : "2x",
29+
"size" : "40x40"
30+
},
31+
{
32+
"filename" : "Icon-Small-60@2x.png",
33+
"idiom" : "iphone",
34+
"scale" : "3x",
35+
"size" : "40x40"
36+
},
37+
{
38+
"filename" : "Icon-60@2x.png",
39+
"idiom" : "iphone",
40+
"scale" : "2x",
41+
"size" : "60x60"
42+
},
43+
{
44+
"filename" : "Icon-60@3x.png",
45+
"idiom" : "iphone",
46+
"scale" : "3x",
47+
"size" : "60x60"
48+
},
49+
{
50+
"idiom" : "ipad",
51+
"scale" : "1x",
52+
"size" : "20x20"
53+
},
54+
{
55+
"idiom" : "ipad",
56+
"scale" : "2x",
57+
"size" : "20x20"
58+
},
59+
{
60+
"idiom" : "ipad",
61+
"scale" : "1x",
62+
"size" : "29x29"
63+
},
64+
{
65+
"idiom" : "ipad",
66+
"scale" : "2x",
67+
"size" : "29x29"
68+
},
69+
{
70+
"idiom" : "ipad",
71+
"scale" : "1x",
72+
"size" : "40x40"
73+
},
74+
{
75+
"idiom" : "ipad",
76+
"scale" : "2x",
77+
"size" : "40x40"
78+
},
79+
{
80+
"idiom" : "ipad",
81+
"scale" : "1x",
82+
"size" : "76x76"
83+
},
84+
{
85+
"idiom" : "ipad",
86+
"scale" : "2x",
87+
"size" : "76x76"
88+
},
89+
{
90+
"idiom" : "ipad",
91+
"scale" : "2x",
92+
"size" : "83.5x83.5"
93+
},
94+
{
95+
"idiom" : "ios-marketing",
96+
"scale" : "1x",
97+
"size" : "1024x1024"
98+
}
99+
],
100+
"info" : {
101+
"author" : "xcode",
102+
"version" : 1
103+
}
104+
}
14.7 KB
Loading
26 KB
Loading
7.88 KB
Loading
14.8 KB
Loading
4.75 KB
Loading

0 commit comments

Comments
 (0)