Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit a10ad12

Browse files
committed
Allow use on iPhone and Split View
1 parent 78c8cac commit a10ad12

9 files changed

Lines changed: 234 additions & 120 deletions

File tree

Sample Project/SimpleLineChart.xcodeproj/project.pbxproj

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
1E960AA61E7E097C000E2BB8 /* BEMLine.m in Sources */ = {isa = PBXBuildFile; fileRef = C3B90A5B187D15F7003E407D /* BEMLine.m */; };
2222
1E960AA71E7E097C000E2BB8 /* BEMAverageLine.m in Sources */ = {isa = PBXBuildFile; fileRef = A63990B41AD4923900B14D88 /* BEMAverageLine.m */; };
2323
1E960AA81E7E0990000E2BB8 /* BEMGraphCalculator.m in Sources */ = {isa = PBXBuildFile; fileRef = A6AC895A1C5882DD0052AB1C /* BEMGraphCalculator.m */; };
24-
1E960AAA1E7EDFE4000E2BB8 /* AppIcon60x60@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 1E960AA91E7EDFE4000E2BB8 /* AppIcon60x60@2x.png */; };
2524
1E960B121E7F9C80000E2BB8 /* MSColorComponentView.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E960AFD1E7F9C80000E2BB8 /* MSColorComponentView.m */; };
2625
1E960B131E7F9C80000E2BB8 /* MSColorSelectionView.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E960B001E7F9C80000E2BB8 /* MSColorSelectionView.m */; };
2726
1E960B141E7F9C80000E2BB8 /* MSColorSelectionViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E960B021E7F9C80000E2BB8 /* MSColorSelectionViewController.m */; };
@@ -85,7 +84,6 @@
8584
1E960A9D1E7DF9BB000E2BB8 /* MasterViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MasterViewController.m; sourceTree = "<group>"; };
8685
1E960A9E1E7DF9BB000E2BB8 /* StatsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StatsViewController.h; sourceTree = "<group>"; };
8786
1E960A9F1E7DF9BC000E2BB8 /* StatsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = StatsViewController.m; sourceTree = "<group>"; };
88-
1E960AA91E7EDFE4000E2BB8 /* AppIcon60x60@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "AppIcon60x60@2x.png"; sourceTree = "<group>"; };
8987
1E960AFC1E7F9C80000E2BB8 /* MSColorComponentView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MSColorComponentView.h; sourceTree = "<group>"; };
9088
1E960AFD1E7F9C80000E2BB8 /* MSColorComponentView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MSColorComponentView.m; sourceTree = "<group>"; };
9189
1E960AFE1E7F9C80000E2BB8 /* MSColorPicker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MSColorPicker.h; sourceTree = "<group>"; };
@@ -203,7 +201,6 @@
203201
children = (
204202
1E960A941E7DF942000E2BB8 /* Info.plist */,
205203
1E960A911E7DF942000E2BB8 /* LaunchScreen.storyboard */,
206-
1E960AA91E7EDFE4000E2BB8 /* AppIcon60x60@2x.png */,
207204
1E960A841E7DF942000E2BB8 /* main.m */,
208205
);
209206
name = "Supporting Files";
@@ -443,7 +440,6 @@
443440
files = (
444441
1E960A931E7DF942000E2BB8 /* LaunchScreen.storyboard in Resources */,
445442
1E960A901E7DF942000E2BB8 /* Assets.xcassets in Resources */,
446-
1E960AAA1E7EDFE4000E2BB8 /* AppIcon60x60@2x.png in Resources */,
447443
1E960A8E1E7DF942000E2BB8 /* Main.storyboard in Resources */,
448444
);
449445
runOnlyForDeploymentPostprocessing = 0;
@@ -602,7 +598,7 @@
602598
MTL_ENABLE_DEBUG_INFO = YES;
603599
PRODUCT_BUNDLE_IDENTIFIER = BorisEmorine.TestBed;
604600
PRODUCT_NAME = "$(TARGET_NAME)";
605-
TARGETED_DEVICE_FAMILY = 2;
601+
TARGETED_DEVICE_FAMILY = "1,2";
606602
};
607603
name = Debug;
608604
};
@@ -622,7 +618,7 @@
622618
MTL_ENABLE_DEBUG_INFO = NO;
623619
PRODUCT_BUNDLE_IDENTIFIER = BorisEmorine.TestBed;
624620
PRODUCT_NAME = "$(TARGET_NAME)";
625-
TARGETED_DEVICE_FAMILY = 2;
621+
TARGETED_DEVICE_FAMILY = "1,2";
626622
};
627623
name = Release;
628624
};
-17.2 KB
Binary file not shown.

Sample Project/TestBed/Assets.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,63 @@
11
{
22
"images" : [
3+
{
4+
"idiom" : "iphone",
5+
"size" : "20x20",
6+
"scale" : "2x"
7+
},
8+
{
9+
"idiom" : "iphone",
10+
"size" : "20x20",
11+
"scale" : "3x"
12+
},
13+
{
14+
"idiom" : "iphone",
15+
"size" : "29x29",
16+
"scale" : "1x"
17+
},
18+
{
19+
"size" : "29x29",
20+
"idiom" : "iphone",
21+
"filename" : "AppIcon29x29@2x.png",
22+
"scale" : "2x"
23+
},
24+
{
25+
"idiom" : "iphone",
26+
"size" : "29x29",
27+
"scale" : "3x"
28+
},
29+
{
30+
"size" : "40x40",
31+
"idiom" : "iphone",
32+
"filename" : "AppIcon40x40@2x.png",
33+
"scale" : "2x"
34+
},
35+
{
36+
"idiom" : "iphone",
37+
"size" : "40x40",
38+
"scale" : "3x"
39+
},
40+
{
41+
"idiom" : "iphone",
42+
"size" : "57x57",
43+
"scale" : "1x"
44+
},
45+
{
46+
"idiom" : "iphone",
47+
"size" : "57x57",
48+
"scale" : "2x"
49+
},
50+
{
51+
"size" : "60x60",
52+
"idiom" : "iphone",
53+
"filename" : "AppIcon60x60@2x.png",
54+
"scale" : "2x"
55+
},
56+
{
57+
"idiom" : "iphone",
58+
"size" : "60x60",
59+
"scale" : "3x"
60+
},
361
{
462
"idiom" : "ipad",
563
"size" : "20x20",
@@ -30,6 +88,26 @@
3088
"size" : "40x40",
3189
"scale" : "2x"
3290
},
91+
{
92+
"idiom" : "ipad",
93+
"size" : "50x50",
94+
"scale" : "1x"
95+
},
96+
{
97+
"idiom" : "ipad",
98+
"size" : "50x50",
99+
"scale" : "2x"
100+
},
101+
{
102+
"idiom" : "ipad",
103+
"size" : "72x72",
104+
"scale" : "1x"
105+
},
106+
{
107+
"idiom" : "ipad",
108+
"size" : "72x72",
109+
"scale" : "2x"
110+
},
33111
{
34112
"idiom" : "ipad",
35113
"size" : "76x76",
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}

0 commit comments

Comments
 (0)