flip_the_switch 0.4.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +4 -1
  3. data/.travis.yml +3 -1
  4. data/CHANGELOG.md +10 -0
  5. data/Classes/FlipTheSwitch/Shared/FTSFeature.h +11 -0
  6. data/Classes/FlipTheSwitch/Shared/FTSFeature.m +67 -0
  7. data/Classes/FlipTheSwitch/Shared/FTSFlipTheSwitch.h +21 -0
  8. data/Classes/FlipTheSwitch/Shared/FTSFlipTheSwitch.m +144 -0
  9. data/Classes/FlipTheSwitch/iOS/FTSFeatureCell.h +17 -0
  10. data/Classes/FlipTheSwitch/iOS/FTSFeatureCell.m +12 -0
  11. data/Classes/FlipTheSwitch/iOS/FTSFeatureConfigurationViewController.h +5 -0
  12. data/Classes/FlipTheSwitch/iOS/FTSFeatureConfigurationViewController.m +142 -0
  13. data/Classes/FlipTheSwitch/iOS/FTSFeatureDescriptionLabel.h +5 -0
  14. data/Classes/FlipTheSwitch/iOS/FTSFeatureDescriptionLabel.m +13 -0
  15. data/Example/Colors-OSX/AppDelegate.h +7 -0
  16. data/Example/Colors-OSX/AppDelegate.m +17 -0
  17. data/Example/Colors-OSX/Base.lproj/Main.storyboard +744 -0
  18. data/Example/Colors-OSX/ColoredViews/GreenView.h +5 -0
  19. data/Example/Colors-OSX/ColoredViews/GreenView.m +12 -0
  20. data/Example/Colors-OSX/ColoredViews/PurpleView.h +5 -0
  21. data/Example/Colors-OSX/ColoredViews/PurpleView.m +12 -0
  22. data/Example/Colors-OSX/ColoredViews/RedView.h +5 -0
  23. data/Example/Colors-OSX/ColoredViews/RedView.m +12 -0
  24. data/Example/Colors-OSX/ColoredViews/YellowView.h +5 -0
  25. data/Example/Colors-OSX/ColoredViews/YellowView.m +12 -0
  26. data/Example/Colors-OSX/FTSFlipTheSwitch+Features.h +45 -0
  27. data/Example/Colors-OSX/FTSFlipTheSwitch+Features.m +165 -0
  28. data/Example/Colors-OSX/Features.plist +39 -0
  29. data/Example/Colors-OSX/Images.xcassets/AppIcon.appiconset/Contents.json +58 -0
  30. data/Example/Colors-OSX/Info.plist +32 -0
  31. data/Example/Colors-OSX/Settings.bundle/Features.plist +59 -0
  32. data/Example/Colors-OSX/Settings.bundle/Root.plist +23 -0
  33. data/Example/Colors-OSX/ViewController.h +14 -0
  34. data/Example/Colors-OSX/ViewController.m +152 -0
  35. data/Example/Colors-OSX/main.m +5 -0
  36. data/Example/Colors-iOS/Base.lproj/Main.storyboard +111 -0
  37. data/Example/Colors-iOS/Colors-iOS-Info.plist +2 -2
  38. data/Example/Colors-iOS/FTSFlipTheSwitch+Features.h +45 -0
  39. data/Example/Colors-iOS/FTSFlipTheSwitch+Features.m +165 -0
  40. data/Example/Colors-iOS/Images.xcassets/AppIcon.appiconset/Contents.json +15 -0
  41. data/Example/Colors-iOS/ViewControlleriOS.m +55 -20
  42. data/Example/Colors.xcodeproj/project.pbxproj +273 -25
  43. data/Example/Colors.xcodeproj/xcshareddata/xcschemes/Colors-OSX.xcscheme +115 -0
  44. data/Example/Colors.xcodeproj/xcshareddata/xcschemes/Colors-iOS.xcscheme +9 -15
  45. data/Example/FTSFlipTheSwitch+Features.h +45 -0
  46. data/Example/FTSFlipTheSwitch+Features.m +165 -0
  47. data/Example/Features.plist +39 -0
  48. data/Example/Gemfile +4 -0
  49. data/Example/Podfile +11 -2
  50. data/Example/README.md +13 -0
  51. data/Example/Rakefile +5 -1
  52. data/Example/features.json +23 -0
  53. data/FlipTheSwitch.podspec +9 -4
  54. data/Gemfile +2 -1
  55. data/README.md +101 -21
  56. data/Resources/FlipTheSwitch/FlipTheSwitch.storyboard +208 -0
  57. data/Tests/FlipTheSwitchSpec-iOS/Features.plist +6 -1
  58. data/Tests/{FlipTheSwitchSpec-Mac/Features.plist → FlipTheSwitchSpec-iOS/OtherFeatures.plist} +5 -2
  59. data/Tests/FlipTheSwitchSpec.xcodeproj/project.pbxproj +101 -38
  60. data/Tests/FlipTheSwitchSpec.xcodeproj/xcshareddata/xcschemes/FlipTheSwitchSpec-Mac.xcscheme +9 -7
  61. data/Tests/FlipTheSwitchSpec.xcodeproj/xcshareddata/xcschemes/FlipTheSwitchSpec-iOS.xcscheme +9 -7
  62. data/Tests/Rakefile +1 -1
  63. data/Tests/Spec/Classes/FlipTheSwitch/FlipTheSwitchSpec.m +134 -28
  64. data/flip_the_switch.gemspec +2 -1
  65. data/images/feature_configuration_screen.png +0 -0
  66. data/lib/flip_the_switch.rb +2 -0
  67. data/lib/flip_the_switch/cli.rb +16 -24
  68. data/lib/flip_the_switch/environment.rb +11 -0
  69. data/lib/flip_the_switch/feature.rb +11 -0
  70. data/lib/flip_the_switch/generator/base.rb +3 -3
  71. data/lib/flip_the_switch/generator/category.rb +13 -5
  72. data/lib/flip_the_switch/generator/header.h.erb +15 -8
  73. data/lib/flip_the_switch/generator/implementation.m.erb +36 -12
  74. data/lib/flip_the_switch/generator/plist.rb +19 -1
  75. data/lib/flip_the_switch/generator/settings.rb +6 -6
  76. data/lib/flip_the_switch/reader/features.rb +136 -22
  77. data/spec/flip_the_switch/cli_spec.rb +12 -12
  78. data/spec/flip_the_switch/environment_spec.rb +20 -0
  79. data/spec/flip_the_switch/feature_spec.rb +20 -0
  80. data/spec/flip_the_switch/generator/category_spec.rb +14 -8
  81. data/spec/flip_the_switch/generator/plist_spec.rb +23 -7
  82. data/spec/flip_the_switch/generator/settings_spec.rb +6 -3
  83. data/spec/flip_the_switch/reader/defaults_spec.rb +0 -18
  84. data/spec/flip_the_switch/reader/features_spec.rb +74 -17
  85. data/spec/resources/ExpectedFeatures.plist +10 -2
  86. data/spec/resources/expected_header.h +8 -3
  87. data/spec/resources/expected_implementation.m +37 -10
  88. data/spec/resources/invalid_layout/features.json +7 -0
  89. data/spec/resources/invalid_type/features.json +23 -0
  90. data/spec/resources/real/features.json +38 -0
  91. data/tmp/.keep +0 -0
  92. metadata +74 -16
  93. data/Classes/FlipTheSwitch/FlipTheSwitch.h +0 -9
  94. data/Classes/FlipTheSwitch/FlipTheSwitch.m +0 -88
  95. data/Example/Colors-iOS/Base.lproj/Main_iPhone.storyboard +0 -76
  96. data/Example/features.yml +0 -3
  97. data/Tests/Spec/Helpers/GcovTestObserver.h +0 -4
  98. data/Tests/Spec/Helpers/GcovTestObserver.m +0 -12
  99. data/spec/resources/invalid_layout/features.yml +0 -4
  100. data/spec/resources/invalid_type/features.yml +0 -7
  101. data/spec/resources/real/features.yml +0 -6
@@ -5,16 +5,31 @@
5
5
  "size" : "29x29",
6
6
  "scale" : "2x"
7
7
  },
8
+ {
9
+ "idiom" : "iphone",
10
+ "size" : "29x29",
11
+ "scale" : "3x"
12
+ },
8
13
  {
9
14
  "idiom" : "iphone",
10
15
  "size" : "40x40",
11
16
  "scale" : "2x"
12
17
  },
18
+ {
19
+ "idiom" : "iphone",
20
+ "size" : "40x40",
21
+ "scale" : "3x"
22
+ },
13
23
  {
14
24
  "idiom" : "iphone",
15
25
  "size" : "60x60",
16
26
  "scale" : "2x"
17
27
  },
28
+ {
29
+ "idiom" : "iphone",
30
+ "size" : "60x60",
31
+ "scale" : "3x"
32
+ },
18
33
  {
19
34
  "idiom" : "ipad",
20
35
  "size" : "29x29",
@@ -1,6 +1,6 @@
1
1
  #import "ViewControlleriOS.h"
2
2
 
3
- #import "FlipTheSwitch+Features.h"
3
+ #import "FTSFlipTheSwitch+Features.h"
4
4
 
5
5
  @interface ViewControlleriOS ()
6
6
  @property (nonatomic, weak) IBOutlet UIView *topColorView;
@@ -8,6 +8,7 @@
8
8
  @property (nonatomic, weak) IBOutlet UIButton *topColorChangeButton;
9
9
  @property (nonatomic, weak) IBOutlet UIView *bottomColorView;
10
10
  @property (nonatomic, weak) IBOutlet UILabel *bottomColorInfoTextView;
11
+ @property (nonatomic, weak) IBOutlet UIBarButtonItem *featuresButton;
11
12
  @end
12
13
 
13
14
  @implementation ViewControlleriOS
@@ -24,10 +25,29 @@
24
25
  - (void)viewDidLoad
25
26
  {
26
27
  [super viewDidLoad];
27
- [self setupView];
28
28
  [self setupStateChangeNotifications];
29
29
  }
30
30
 
31
+ - (void)viewDidAppear:(BOOL)animated
32
+ {
33
+ [super viewDidAppear:animated];
34
+ [self setupView];
35
+ }
36
+
37
+ #pragma mark - Actions
38
+
39
+ - (IBAction)topColorChangeButtonTapped
40
+ {
41
+ [self toggleRedFeature];
42
+ }
43
+
44
+ - (IBAction)featuresButtonTapped:(id)sender
45
+ {
46
+ [self openFeaturesController];
47
+ }
48
+
49
+ #pragma mark - Private
50
+
31
51
  - (void)setupStateChangeNotifications
32
52
  {
33
53
  [self setupNotification:UIApplicationWillEnterForegroundNotification];
@@ -47,31 +67,23 @@
47
67
  [self setupView];
48
68
  }
49
69
 
50
- #pragma mark - Actions
51
-
52
- - (IBAction)topColorChangeButtonTapped
53
- {
54
- [self toggleRedFeature];
55
- }
56
-
57
- #pragma mark - Private
58
-
59
70
  - (void)setupView
60
71
  {
61
72
  [self setupTopView];
62
73
  [self setupBottomView];
74
+ [self setupFeaturesButton];
63
75
  }
64
76
 
65
77
  - (void)setupTopView
66
78
  {
67
79
  NSString *topColorName;
68
80
  UIColor *topColor;
69
- if ([FlipTheSwitch isRedColorEnabled]) {
81
+ if ([FTSFlipTheSwitch isRedColorEnabled]) {
70
82
  topColorName = @"Red";
71
- topColor = [UIColor colorWithRed:1 green:0 blue:0 alpha:1];
83
+ topColor = [UIColor colorWithRed:1 green:0.4 blue:0.4 alpha:1];
72
84
  } else {
73
85
  topColorName = @"Green";
74
- topColor = [UIColor colorWithRed:0 green:1 blue:0 alpha:1];
86
+ topColor = [UIColor colorWithRed:0.6 green:1 blue:0.6 alpha:1];
75
87
  }
76
88
  self.topColorInfoTextView.text = [NSString stringWithFormat:@"The top part of the screen is %@", topColorName];
77
89
  self.topColorView.backgroundColor = topColor;
@@ -81,25 +93,48 @@
81
93
  {
82
94
  NSString *bottomColorName;
83
95
  UIColor *bottomColor;
84
- if ([FlipTheSwitch isPurpleColorEnabled]) {
96
+ if ([FTSFlipTheSwitch isPurpleColorEnabled]) {
85
97
  bottomColorName = @"Purple";
86
- bottomColor = [UIColor colorWithRed:1 green:0 blue:1 alpha:1];
98
+ bottomColor = [UIColor colorWithRed:1 green:0.8 blue:1 alpha:1];
87
99
  } else {
88
100
  bottomColorName = @"Yellow";
89
- bottomColor = [UIColor colorWithRed:1 green:1 blue:0 alpha:1];
101
+ bottomColor = [UIColor colorWithRed:1.0 green:1.0 blue:0.6 alpha:1];
90
102
  }
91
103
  self.bottomColorInfoTextView.text = [NSString stringWithFormat:@"The bottom part of the screen is %@", bottomColorName];
92
104
  self.bottomColorView.backgroundColor = bottomColor;
93
105
  }
94
106
 
107
+ - (void)setupFeaturesButton
108
+ {
109
+ if (![FTSFlipTheSwitch isFeaturesControllerEnabled]) {
110
+ self.navigationController.navigationBar.topItem.rightBarButtonItems = @[];
111
+ }
112
+ }
113
+
95
114
  - (void)toggleRedFeature
96
115
  {
97
- if ([FlipTheSwitch isRedColorEnabled]) {
98
- [FlipTheSwitch disableRedColor];
116
+ if ([FTSFlipTheSwitch isRedColorEnabled]) {
117
+ [FTSFlipTheSwitch disableRedColor];
99
118
  } else {
100
- [FlipTheSwitch enableRedColor];
119
+ [FTSFlipTheSwitch enableRedColor];
101
120
  }
102
121
  [self setupView];
103
122
  }
104
123
 
124
+ - (void)openFeaturesController
125
+ {
126
+ NSBundle *flipTheSwitchBundle = [self flipTheSwithBundle];
127
+ UIStoryboard *flipTheSwitchStoryboard = [UIStoryboard storyboardWithName:@"FlipTheSwitch"
128
+ bundle:flipTheSwitchBundle];
129
+ UIViewController *flipTheSwitchController = [flipTheSwitchStoryboard instantiateInitialViewController];
130
+ [self presentViewController:flipTheSwitchController
131
+ animated:YES
132
+ completion:nil];
133
+ }
134
+
135
+ - (NSBundle *)flipTheSwithBundle
136
+ {
137
+ return [NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:@"FlipTheSwitch" ofType:@"bundle"]];
138
+ }
139
+
105
140
  @end
@@ -8,37 +8,75 @@
8
8
 
9
9
  /* Begin PBXBuildFile section */
10
10
  35D6E35AEAC9473FAAAB5BE5 /* libPods-Colors-iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5F7C4D132FE24A06ACC52E5F /* libPods-Colors-iOS.a */; };
11
- 5B13CA4919721395001D008A /* Settings.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 5B13CA4819721395001D008A /* Settings.bundle */; };
12
- 5B20701A194237BF00D07667 /* Features.plist in Resources */ = {isa = PBXBuildFile; fileRef = F80321679CBE499FFA387688 /* Features.plist */; };
13
11
  5B909898193A235E004C12B3 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B909897193A235E004C12B3 /* Foundation.framework */; };
14
12
  5B90989C193A235E004C12B3 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B90989B193A235E004C12B3 /* UIKit.framework */; };
15
13
  5B9098A4193A235E004C12B3 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B9098A3193A235E004C12B3 /* main.m */; };
16
- 5B9098AB193A235E004C12B3 /* Main_iPhone.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5B9098A9193A235E004C12B3 /* Main_iPhone.storyboard */; };
17
14
  5B9098B1193A235E004C12B3 /* ViewControlleriOS.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B9098B0193A235E004C12B3 /* ViewControlleriOS.m */; };
18
15
  5B9098B3193A235E004C12B3 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5B9098B2193A235E004C12B3 /* Images.xcassets */; };
16
+ 607D10861BA080690023E025 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 607D10851BA080690023E025 /* AppDelegate.m */; };
17
+ 607D10881BA080690023E025 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 607D10871BA080690023E025 /* main.m */; };
18
+ 607D108B1BA080690023E025 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 607D108A1BA080690023E025 /* ViewController.m */; };
19
+ 607D108D1BA080690023E025 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607D108C1BA080690023E025 /* Images.xcassets */; };
20
+ 607D10901BA080690023E025 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607D108E1BA080690023E025 /* Main.storyboard */; };
21
+ 607D10AE1BA0810D0023E025 /* GreenView.m in Sources */ = {isa = PBXBuildFile; fileRef = 607D10A71BA0810D0023E025 /* GreenView.m */; };
22
+ 607D10AF1BA0810D0023E025 /* PurpleView.m in Sources */ = {isa = PBXBuildFile; fileRef = 607D10A91BA0810D0023E025 /* PurpleView.m */; };
23
+ 607D10B01BA0810D0023E025 /* RedView.m in Sources */ = {isa = PBXBuildFile; fileRef = 607D10AB1BA0810D0023E025 /* RedView.m */; };
24
+ 607D10B11BA0810D0023E025 /* YellowView.m in Sources */ = {isa = PBXBuildFile; fileRef = 607D10AD1BA0810D0023E025 /* YellowView.m */; };
25
+ 607D10CB1BA096030023E025 /* Settings.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 607D10C71BA096030023E025 /* Settings.bundle */; };
26
+ 607D10CC1BA096030023E025 /* FTSFlipTheSwitch+Features.m in Sources */ = {isa = PBXBuildFile; fileRef = 607D10C91BA096030023E025 /* FTSFlipTheSwitch+Features.m */; };
27
+ 607D10CD1BA096030023E025 /* Features.plist in Resources */ = {isa = PBXBuildFile; fileRef = 607D10CA1BA096030023E025 /* Features.plist */; };
28
+ 60F696841BA80F23007C35B7 /* FTSFlipTheSwitch+Features.m in Sources */ = {isa = PBXBuildFile; fileRef = 607A81CF1B86249700F907AF /* FTSFlipTheSwitch+Features.m */; };
29
+ BF6D40A71B54110400BB3CE3 /* Features.plist in Resources */ = {isa = PBXBuildFile; fileRef = F80321679CBE499FFA387688 /* Features.plist */; };
30
+ BF6EF23F1B54012D00AF5FE4 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5B9098A9193A235E004C12B3 /* Main.storyboard */; };
31
+ BF6EF2421B54016B00AF5FE4 /* Settings.bundle in Resources */ = {isa = PBXBuildFile; fileRef = BF6EF2411B54016B00AF5FE4 /* Settings.bundle */; };
32
+ F52F57D8EED8D61A0F860877 /* libPods-Colors-OSX.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0E16FB03237410B53C47E724 /* libPods-Colors-OSX.a */; };
19
33
  F803204E3B632B5F0E19014F /* AppDelegateiOS.m in Sources */ = {isa = PBXBuildFile; fileRef = F803243E8A66F29C3EA37B65 /* AppDelegateiOS.m */; };
20
- F80326F51193A67FEB8D4F69 /* FlipTheSwitch+Features.m in Sources */ = {isa = PBXBuildFile; fileRef = F803287440254AB051D00DDB /* FlipTheSwitch+Features.m */; };
21
34
  /* End PBXBuildFile section */
22
35
 
23
36
  /* Begin PBXFileReference section */
24
- 5B13CA4819721395001D008A /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = Settings.bundle; sourceTree = "<group>"; };
37
+ 0D961C37058021E09DB92885 /* Pods-Colors-iOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Colors-iOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-Colors-iOS/Pods-Colors-iOS.release.xcconfig"; sourceTree = "<group>"; };
38
+ 0E16FB03237410B53C47E724 /* libPods-Colors-OSX.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Colors-OSX.a"; sourceTree = BUILT_PRODUCTS_DIR; };
39
+ 2A0FA57A01F8129C4C31C5D8 /* Pods-Colors-iOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Colors-iOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Colors-iOS/Pods-Colors-iOS.debug.xcconfig"; sourceTree = "<group>"; };
40
+ 512D79FF0F6B21A750DE143B /* Pods-Colors-OSX.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Colors-OSX.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Colors-OSX/Pods-Colors-OSX.debug.xcconfig"; sourceTree = "<group>"; };
25
41
  5B909894193A235E004C12B3 /* Colors-iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Colors-iOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
26
42
  5B909897193A235E004C12B3 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
27
43
  5B90989B193A235E004C12B3 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
28
44
  5B90989F193A235E004C12B3 /* Colors-iOS-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Colors-iOS-Info.plist"; sourceTree = "<group>"; };
29
45
  5B9098A3193A235E004C12B3 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
30
46
  5B9098A5193A235E004C12B3 /* Colors-iOS-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Colors-iOS-Prefix.pch"; sourceTree = "<group>"; };
31
- 5B9098AA193A235E004C12B3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main_iPhone.storyboard; sourceTree = "<group>"; };
47
+ 5B9098AA193A235E004C12B3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
32
48
  5B9098AF193A235E004C12B3 /* ViewControlleriOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewControlleriOS.h; sourceTree = "<group>"; };
33
49
  5B9098B0193A235E004C12B3 /* ViewControlleriOS.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewControlleriOS.m; sourceTree = "<group>"; };
34
50
  5B9098B2193A235E004C12B3 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
35
51
  5F7C4D132FE24A06ACC52E5F /* libPods-Colors-iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Colors-iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
52
+ 607A81CE1B86249700F907AF /* FTSFlipTheSwitch+Features.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "FTSFlipTheSwitch+Features.h"; sourceTree = "<group>"; };
53
+ 607A81CF1B86249700F907AF /* FTSFlipTheSwitch+Features.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "FTSFlipTheSwitch+Features.m"; sourceTree = "<group>"; };
54
+ 607D10801BA080690023E025 /* Colors-OSX.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Colors-OSX.app"; sourceTree = BUILT_PRODUCTS_DIR; };
55
+ 607D10831BA080690023E025 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
56
+ 607D10841BA080690023E025 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
57
+ 607D10851BA080690023E025 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
58
+ 607D10871BA080690023E025 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
59
+ 607D10891BA080690023E025 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
60
+ 607D108A1BA080690023E025 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
61
+ 607D108C1BA080690023E025 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
62
+ 607D108F1BA080690023E025 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
63
+ 607D10A61BA0810D0023E025 /* GreenView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GreenView.h; sourceTree = "<group>"; };
64
+ 607D10A71BA0810D0023E025 /* GreenView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GreenView.m; sourceTree = "<group>"; };
65
+ 607D10A81BA0810D0023E025 /* PurpleView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PurpleView.h; sourceTree = "<group>"; };
66
+ 607D10A91BA0810D0023E025 /* PurpleView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PurpleView.m; sourceTree = "<group>"; };
67
+ 607D10AA1BA0810D0023E025 /* RedView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RedView.h; sourceTree = "<group>"; };
68
+ 607D10AB1BA0810D0023E025 /* RedView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RedView.m; sourceTree = "<group>"; };
69
+ 607D10AC1BA0810D0023E025 /* YellowView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YellowView.h; sourceTree = "<group>"; };
70
+ 607D10AD1BA0810D0023E025 /* YellowView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YellowView.m; sourceTree = "<group>"; };
71
+ 607D10C71BA096030023E025 /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = Settings.bundle; sourceTree = "<group>"; };
72
+ 607D10C81BA096030023E025 /* FTSFlipTheSwitch+Features.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "FTSFlipTheSwitch+Features.h"; sourceTree = "<group>"; };
73
+ 607D10C91BA096030023E025 /* FTSFlipTheSwitch+Features.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "FTSFlipTheSwitch+Features.m"; sourceTree = "<group>"; };
74
+ 607D10CA1BA096030023E025 /* Features.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Features.plist; sourceTree = "<group>"; };
75
+ 6BAE65E1CA2D6A83F5E30C25 /* Pods-Colors-OSX.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Colors-OSX.release.xcconfig"; path = "Pods/Target Support Files/Pods-Colors-OSX/Pods-Colors-OSX.release.xcconfig"; sourceTree = "<group>"; };
76
+ BF6EF2411B54016B00AF5FE4 /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = Settings.bundle; sourceTree = "<group>"; };
36
77
  F80321679CBE499FFA387688 /* Features.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Features.plist; sourceTree = "<group>"; };
37
78
  F803243E8A66F29C3EA37B65 /* AppDelegateiOS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegateiOS.m; sourceTree = "<group>"; };
38
- F803287440254AB051D00DDB /* FlipTheSwitch+Features.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "FlipTheSwitch+Features.m"; sourceTree = "<group>"; };
39
- F8032EBDB675B3B788B1297F /* FlipTheSwitch+Features.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "FlipTheSwitch+Features.h"; sourceTree = "<group>"; };
40
79
  F8032F89446610853BDFF019 /* AppDelegateiOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegateiOS.h; sourceTree = "<group>"; };
41
- FA266F5E1A3E46478CDB53E6 /* Pods-Colors-iOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Colors-iOS.xcconfig"; path = "Pods/Pods-Colors-iOS.xcconfig"; sourceTree = "<group>"; };
42
80
  /* End PBXFileReference section */
43
81
 
44
82
  /* Begin PBXFrameworksBuildPhase section */
@@ -52,6 +90,14 @@
52
90
  );
53
91
  runOnlyForDeploymentPostprocessing = 0;
54
92
  };
93
+ 607D107D1BA080690023E025 /* Frameworks */ = {
94
+ isa = PBXFrameworksBuildPhase;
95
+ buildActionMask = 2147483647;
96
+ files = (
97
+ F52F57D8EED8D61A0F860877 /* libPods-Colors-OSX.a in Frameworks */,
98
+ );
99
+ runOnlyForDeploymentPostprocessing = 0;
100
+ };
55
101
  /* End PBXFrameworksBuildPhase section */
56
102
 
57
103
  /* Begin PBXGroup section */
@@ -59,9 +105,10 @@
59
105
  isa = PBXGroup;
60
106
  children = (
61
107
  5B90989D193A235E004C12B3 /* Colors-iOS */,
108
+ 607D10811BA080690023E025 /* Colors-OSX */,
62
109
  5B909896193A235E004C12B3 /* Frameworks */,
63
110
  5B909895193A235E004C12B3 /* Products */,
64
- FA266F5E1A3E46478CDB53E6 /* Pods-Colors-iOS.xcconfig */,
111
+ C3D7AC360E9D2AD760817EA7 /* Pods */,
65
112
  );
66
113
  sourceTree = "<group>";
67
114
  };
@@ -69,6 +116,7 @@
69
116
  isa = PBXGroup;
70
117
  children = (
71
118
  5B909894193A235E004C12B3 /* Colors-iOS.app */,
119
+ 607D10801BA080690023E025 /* Colors-OSX.app */,
72
120
  );
73
121
  name = Products;
74
122
  sourceTree = "<group>";
@@ -79,6 +127,7 @@
79
127
  5B909897193A235E004C12B3 /* Foundation.framework */,
80
128
  5B90989B193A235E004C12B3 /* UIKit.framework */,
81
129
  5F7C4D132FE24A06ACC52E5F /* libPods-Colors-iOS.a */,
130
+ 0E16FB03237410B53C47E724 /* libPods-Colors-OSX.a */,
82
131
  );
83
132
  name = Frameworks;
84
133
  sourceTree = "<group>";
@@ -86,16 +135,16 @@
86
135
  5B90989D193A235E004C12B3 /* Colors-iOS */ = {
87
136
  isa = PBXGroup;
88
137
  children = (
89
- 5B9098A9193A235E004C12B3 /* Main_iPhone.storyboard */,
138
+ BF6EF2411B54016B00AF5FE4 /* Settings.bundle */,
139
+ 5B9098A9193A235E004C12B3 /* Main.storyboard */,
90
140
  5B9098AF193A235E004C12B3 /* ViewControlleriOS.h */,
91
141
  5B9098B0193A235E004C12B3 /* ViewControlleriOS.m */,
92
142
  5B9098B2193A235E004C12B3 /* Images.xcassets */,
93
143
  5B90989E193A235E004C12B3 /* Supporting Files */,
94
144
  F8032F89446610853BDFF019 /* AppDelegateiOS.h */,
95
145
  F803243E8A66F29C3EA37B65 /* AppDelegateiOS.m */,
96
- F8032EBDB675B3B788B1297F /* FlipTheSwitch+Features.h */,
97
- F803287440254AB051D00DDB /* FlipTheSwitch+Features.m */,
98
- 5B13CA4819721395001D008A /* Settings.bundle */,
146
+ 607A81CE1B86249700F907AF /* FTSFlipTheSwitch+Features.h */,
147
+ 607A81CF1B86249700F907AF /* FTSFlipTheSwitch+Features.m */,
99
148
  );
100
149
  path = "Colors-iOS";
101
150
  sourceTree = "<group>";
@@ -111,6 +160,60 @@
111
160
  name = "Supporting Files";
112
161
  sourceTree = "<group>";
113
162
  };
163
+ 607D10811BA080690023E025 /* Colors-OSX */ = {
164
+ isa = PBXGroup;
165
+ children = (
166
+ 607D10C71BA096030023E025 /* Settings.bundle */,
167
+ 607D10C81BA096030023E025 /* FTSFlipTheSwitch+Features.h */,
168
+ 607D10C91BA096030023E025 /* FTSFlipTheSwitch+Features.m */,
169
+ 607D10CA1BA096030023E025 /* Features.plist */,
170
+ 607D10A51BA0810D0023E025 /* ColoredViews */,
171
+ 607D10841BA080690023E025 /* AppDelegate.h */,
172
+ 607D10851BA080690023E025 /* AppDelegate.m */,
173
+ 607D10891BA080690023E025 /* ViewController.h */,
174
+ 607D108A1BA080690023E025 /* ViewController.m */,
175
+ 607D108C1BA080690023E025 /* Images.xcassets */,
176
+ 607D108E1BA080690023E025 /* Main.storyboard */,
177
+ 607D10821BA080690023E025 /* Supporting Files */,
178
+ );
179
+ path = "Colors-OSX";
180
+ sourceTree = "<group>";
181
+ };
182
+ 607D10821BA080690023E025 /* Supporting Files */ = {
183
+ isa = PBXGroup;
184
+ children = (
185
+ 607D10831BA080690023E025 /* Info.plist */,
186
+ 607D10871BA080690023E025 /* main.m */,
187
+ );
188
+ name = "Supporting Files";
189
+ sourceTree = "<group>";
190
+ };
191
+ 607D10A51BA0810D0023E025 /* ColoredViews */ = {
192
+ isa = PBXGroup;
193
+ children = (
194
+ 607D10A61BA0810D0023E025 /* GreenView.h */,
195
+ 607D10A71BA0810D0023E025 /* GreenView.m */,
196
+ 607D10A81BA0810D0023E025 /* PurpleView.h */,
197
+ 607D10A91BA0810D0023E025 /* PurpleView.m */,
198
+ 607D10AA1BA0810D0023E025 /* RedView.h */,
199
+ 607D10AB1BA0810D0023E025 /* RedView.m */,
200
+ 607D10AC1BA0810D0023E025 /* YellowView.h */,
201
+ 607D10AD1BA0810D0023E025 /* YellowView.m */,
202
+ );
203
+ path = ColoredViews;
204
+ sourceTree = "<group>";
205
+ };
206
+ C3D7AC360E9D2AD760817EA7 /* Pods */ = {
207
+ isa = PBXGroup;
208
+ children = (
209
+ 2A0FA57A01F8129C4C31C5D8 /* Pods-Colors-iOS.debug.xcconfig */,
210
+ 0D961C37058021E09DB92885 /* Pods-Colors-iOS.release.xcconfig */,
211
+ 512D79FF0F6B21A750DE143B /* Pods-Colors-OSX.debug.xcconfig */,
212
+ 6BAE65E1CA2D6A83F5E30C25 /* Pods-Colors-OSX.release.xcconfig */,
213
+ );
214
+ name = Pods;
215
+ sourceTree = "<group>";
216
+ };
114
217
  /* End PBXGroup section */
115
218
 
116
219
  /* Begin PBXNativeTarget section */
@@ -133,6 +236,25 @@
133
236
  productReference = 5B909894193A235E004C12B3 /* Colors-iOS.app */;
134
237
  productType = "com.apple.product-type.application";
135
238
  };
239
+ 607D107F1BA080690023E025 /* Colors-OSX */ = {
240
+ isa = PBXNativeTarget;
241
+ buildConfigurationList = 607D109D1BA0806A0023E025 /* Build configuration list for PBXNativeTarget "Colors-OSX" */;
242
+ buildPhases = (
243
+ 61D5D2E4AF96F0551F8C7B01 /* Check Pods Manifest.lock */,
244
+ 607D107C1BA080690023E025 /* Sources */,
245
+ 607D107D1BA080690023E025 /* Frameworks */,
246
+ 607D107E1BA080690023E025 /* Resources */,
247
+ 6E2188617C54AD98ADBC2A4D /* Copy Pods Resources */,
248
+ );
249
+ buildRules = (
250
+ );
251
+ dependencies = (
252
+ );
253
+ name = "Colors-OSX";
254
+ productName = "Colors-OSX";
255
+ productReference = 607D10801BA080690023E025 /* Colors-OSX.app */;
256
+ productType = "com.apple.product-type.application";
257
+ };
136
258
  /* End PBXNativeTarget section */
137
259
 
138
260
  /* Begin PBXProject section */
@@ -141,6 +263,11 @@
141
263
  attributes = {
142
264
  LastUpgradeCheck = 0510;
143
265
  ORGANIZATIONNAME = MichaelEngland;
266
+ TargetAttributes = {
267
+ 607D107F1BA080690023E025 = {
268
+ CreatedOnToolsVersion = 6.4;
269
+ };
270
+ };
144
271
  };
145
272
  buildConfigurationList = 5B90988F193A235E004C12B3 /* Build configuration list for PBXProject "Colors" */;
146
273
  compatibilityVersion = "Xcode 3.2";
@@ -156,6 +283,7 @@
156
283
  projectRoot = "";
157
284
  targets = (
158
285
  5B909893193A235E004C12B3 /* Colors-iOS */,
286
+ 607D107F1BA080690023E025 /* Colors-OSX */,
159
287
  );
160
288
  };
161
289
  /* End PBXProject section */
@@ -165,10 +293,21 @@
165
293
  isa = PBXResourcesBuildPhase;
166
294
  buildActionMask = 2147483647;
167
295
  files = (
168
- 5B13CA4919721395001D008A /* Settings.bundle in Resources */,
169
- 5B20701A194237BF00D07667 /* Features.plist in Resources */,
296
+ BF6D40A71B54110400BB3CE3 /* Features.plist in Resources */,
297
+ BF6EF23F1B54012D00AF5FE4 /* Main.storyboard in Resources */,
298
+ BF6EF2421B54016B00AF5FE4 /* Settings.bundle in Resources */,
170
299
  5B9098B3193A235E004C12B3 /* Images.xcassets in Resources */,
171
- 5B9098AB193A235E004C12B3 /* Main_iPhone.storyboard in Resources */,
300
+ );
301
+ runOnlyForDeploymentPostprocessing = 0;
302
+ };
303
+ 607D107E1BA080690023E025 /* Resources */ = {
304
+ isa = PBXResourcesBuildPhase;
305
+ buildActionMask = 2147483647;
306
+ files = (
307
+ 607D108D1BA080690023E025 /* Images.xcassets in Resources */,
308
+ 607D10CB1BA096030023E025 /* Settings.bundle in Resources */,
309
+ 607D10901BA080690023E025 /* Main.storyboard in Resources */,
310
+ 607D10CD1BA096030023E025 /* Features.plist in Resources */,
172
311
  );
173
312
  runOnlyForDeploymentPostprocessing = 0;
174
313
  };
@@ -187,7 +326,7 @@
187
326
  );
188
327
  runOnlyForDeploymentPostprocessing = 0;
189
328
  shellPath = /bin/sh;
190
- shellScript = "\"${SRCROOT}/Pods/Pods-Colors-iOS-resources.sh\"\n";
329
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Colors-iOS/Pods-Colors-iOS-resources.sh\"\n";
191
330
  showEnvVarsInLog = 0;
192
331
  };
193
332
  55584C56EF90491FA19D948C /* Check Pods Manifest.lock */ = {
@@ -205,6 +344,36 @@
205
344
  shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
206
345
  showEnvVarsInLog = 0;
207
346
  };
347
+ 61D5D2E4AF96F0551F8C7B01 /* Check Pods Manifest.lock */ = {
348
+ isa = PBXShellScriptBuildPhase;
349
+ buildActionMask = 2147483647;
350
+ files = (
351
+ );
352
+ inputPaths = (
353
+ );
354
+ name = "Check Pods Manifest.lock";
355
+ outputPaths = (
356
+ );
357
+ runOnlyForDeploymentPostprocessing = 0;
358
+ shellPath = /bin/sh;
359
+ shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
360
+ showEnvVarsInLog = 0;
361
+ };
362
+ 6E2188617C54AD98ADBC2A4D /* Copy Pods Resources */ = {
363
+ isa = PBXShellScriptBuildPhase;
364
+ buildActionMask = 2147483647;
365
+ files = (
366
+ );
367
+ inputPaths = (
368
+ );
369
+ name = "Copy Pods Resources";
370
+ outputPaths = (
371
+ );
372
+ runOnlyForDeploymentPostprocessing = 0;
373
+ shellPath = /bin/sh;
374
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Colors-OSX/Pods-Colors-OSX-resources.sh\"\n";
375
+ showEnvVarsInLog = 0;
376
+ };
208
377
  /* End PBXShellScriptBuildPhase section */
209
378
 
210
379
  /* Begin PBXSourcesBuildPhase section */
@@ -215,19 +384,42 @@
215
384
  5B9098B1193A235E004C12B3 /* ViewControlleriOS.m in Sources */,
216
385
  5B9098A4193A235E004C12B3 /* main.m in Sources */,
217
386
  F803204E3B632B5F0E19014F /* AppDelegateiOS.m in Sources */,
218
- F80326F51193A67FEB8D4F69 /* FlipTheSwitch+Features.m in Sources */,
387
+ 60F696841BA80F23007C35B7 /* FTSFlipTheSwitch+Features.m in Sources */,
388
+ );
389
+ runOnlyForDeploymentPostprocessing = 0;
390
+ };
391
+ 607D107C1BA080690023E025 /* Sources */ = {
392
+ isa = PBXSourcesBuildPhase;
393
+ buildActionMask = 2147483647;
394
+ files = (
395
+ 607D108B1BA080690023E025 /* ViewController.m in Sources */,
396
+ 607D10881BA080690023E025 /* main.m in Sources */,
397
+ 607D10B01BA0810D0023E025 /* RedView.m in Sources */,
398
+ 607D10B11BA0810D0023E025 /* YellowView.m in Sources */,
399
+ 607D10AF1BA0810D0023E025 /* PurpleView.m in Sources */,
400
+ 607D10AE1BA0810D0023E025 /* GreenView.m in Sources */,
401
+ 607D10CC1BA096030023E025 /* FTSFlipTheSwitch+Features.m in Sources */,
402
+ 607D10861BA080690023E025 /* AppDelegate.m in Sources */,
219
403
  );
220
404
  runOnlyForDeploymentPostprocessing = 0;
221
405
  };
222
406
  /* End PBXSourcesBuildPhase section */
223
407
 
224
408
  /* Begin PBXVariantGroup section */
225
- 5B9098A9193A235E004C12B3 /* Main_iPhone.storyboard */ = {
409
+ 5B9098A9193A235E004C12B3 /* Main.storyboard */ = {
226
410
  isa = PBXVariantGroup;
227
411
  children = (
228
412
  5B9098AA193A235E004C12B3 /* Base */,
229
413
  );
230
- name = Main_iPhone.storyboard;
414
+ name = Main.storyboard;
415
+ sourceTree = "<group>";
416
+ };
417
+ 607D108E1BA080690023E025 /* Main.storyboard */ = {
418
+ isa = PBXVariantGroup;
419
+ children = (
420
+ 607D108F1BA080690023E025 /* Base */,
421
+ );
422
+ name = Main.storyboard;
231
423
  sourceTree = "<group>";
232
424
  };
233
425
  /* End PBXVariantGroup section */
@@ -307,34 +499,81 @@
307
499
  };
308
500
  5B9098CA193A235E004C12B3 /* Debug */ = {
309
501
  isa = XCBuildConfiguration;
310
- baseConfigurationReference = FA266F5E1A3E46478CDB53E6 /* Pods-Colors-iOS.xcconfig */;
502
+ baseConfigurationReference = 2A0FA57A01F8129C4C31C5D8 /* Pods-Colors-iOS.debug.xcconfig */;
311
503
  buildSettings = {
312
504
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
313
505
  ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
314
506
  GCC_PRECOMPILE_PREFIX_HEADER = YES;
315
507
  GCC_PREFIX_HEADER = "Colors-iOS/Colors-iOS-Prefix.pch";
316
508
  INFOPLIST_FILE = "Colors-iOS/Colors-iOS-Info.plist";
509
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
317
510
  PRODUCT_NAME = "$(TARGET_NAME)";
318
- TARGETED_DEVICE_FAMILY = 1;
511
+ TARGETED_DEVICE_FAMILY = "1,2";
319
512
  WRAPPER_EXTENSION = app;
320
513
  };
321
514
  name = Debug;
322
515
  };
323
516
  5B9098CB193A235E004C12B3 /* Release */ = {
324
517
  isa = XCBuildConfiguration;
325
- baseConfigurationReference = FA266F5E1A3E46478CDB53E6 /* Pods-Colors-iOS.xcconfig */;
518
+ baseConfigurationReference = 0D961C37058021E09DB92885 /* Pods-Colors-iOS.release.xcconfig */;
326
519
  buildSettings = {
327
520
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
328
521
  ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
329
522
  GCC_PRECOMPILE_PREFIX_HEADER = YES;
330
523
  GCC_PREFIX_HEADER = "Colors-iOS/Colors-iOS-Prefix.pch";
331
524
  INFOPLIST_FILE = "Colors-iOS/Colors-iOS-Info.plist";
525
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
332
526
  PRODUCT_NAME = "$(TARGET_NAME)";
333
- TARGETED_DEVICE_FAMILY = 1;
527
+ TARGETED_DEVICE_FAMILY = "1,2";
334
528
  WRAPPER_EXTENSION = app;
335
529
  };
336
530
  name = Release;
337
531
  };
532
+ 607D109E1BA0806A0023E025 /* Debug */ = {
533
+ isa = XCBuildConfiguration;
534
+ baseConfigurationReference = 512D79FF0F6B21A750DE143B /* Pods-Colors-OSX.debug.xcconfig */;
535
+ buildSettings = {
536
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
537
+ CLANG_WARN_UNREACHABLE_CODE = YES;
538
+ CODE_SIGN_IDENTITY = "-";
539
+ COMBINE_HIDPI_IMAGES = YES;
540
+ DEBUG_INFORMATION_FORMAT = dwarf;
541
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
542
+ GCC_NO_COMMON_BLOCKS = YES;
543
+ GCC_PREPROCESSOR_DEFINITIONS = (
544
+ "DEBUG=1",
545
+ "$(inherited)",
546
+ );
547
+ INFOPLIST_FILE = "Colors-OSX/Info.plist";
548
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
549
+ MACOSX_DEPLOYMENT_TARGET = 10.10;
550
+ MTL_ENABLE_DEBUG_INFO = YES;
551
+ PRODUCT_NAME = "$(TARGET_NAME)";
552
+ SDKROOT = macosx;
553
+ };
554
+ name = Debug;
555
+ };
556
+ 607D109F1BA0806A0023E025 /* Release */ = {
557
+ isa = XCBuildConfiguration;
558
+ baseConfigurationReference = 6BAE65E1CA2D6A83F5E30C25 /* Pods-Colors-OSX.release.xcconfig */;
559
+ buildSettings = {
560
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
561
+ CLANG_WARN_UNREACHABLE_CODE = YES;
562
+ CODE_SIGN_IDENTITY = "-";
563
+ COMBINE_HIDPI_IMAGES = YES;
564
+ COPY_PHASE_STRIP = NO;
565
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
566
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
567
+ GCC_NO_COMMON_BLOCKS = YES;
568
+ INFOPLIST_FILE = "Colors-OSX/Info.plist";
569
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
570
+ MACOSX_DEPLOYMENT_TARGET = 10.10;
571
+ MTL_ENABLE_DEBUG_INFO = NO;
572
+ PRODUCT_NAME = "$(TARGET_NAME)";
573
+ SDKROOT = macosx;
574
+ };
575
+ name = Release;
576
+ };
338
577
  /* End XCBuildConfiguration section */
339
578
 
340
579
  /* Begin XCConfigurationList section */
@@ -356,6 +595,15 @@
356
595
  defaultConfigurationIsVisible = 0;
357
596
  defaultConfigurationName = Release;
358
597
  };
598
+ 607D109D1BA0806A0023E025 /* Build configuration list for PBXNativeTarget "Colors-OSX" */ = {
599
+ isa = XCConfigurationList;
600
+ buildConfigurations = (
601
+ 607D109E1BA0806A0023E025 /* Debug */,
602
+ 607D109F1BA0806A0023E025 /* Release */,
603
+ );
604
+ defaultConfigurationIsVisible = 0;
605
+ defaultConfigurationName = Release;
606
+ };
359
607
  /* End XCConfigurationList section */
360
608
  };
361
609
  rootObject = 5B90988C193A235E004C12B3 /* Project object */;