commandly 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +16 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +65 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/commandly.gemspec +40 -0
- data/exe/commandly +5 -0
- data/lib/commandly/cli.rb +69 -0
- data/lib/commandly/generator.rb +71 -0
- data/lib/commandly/version.rb +3 -0
- data/lib/commandly.rb +7 -0
- data/templates/android/.gitignore +135 -0
- data/templates/android/.idea/gradle.xml +18 -0
- data/templates/android/.idea/runConfigurations.xml +12 -0
- data/templates/android/app/.gitignore +1 -0
- data/templates/android/app/build.gradle +30 -0
- data/templates/android/app/proguard-rules.pro +25 -0
- data/templates/android/app/src/androidTest/java/com/vuebly/commandly/ExampleInstrumentedTest.java +26 -0
- data/templates/android/app/src/main/AndroidManifest.xml +21 -0
- data/templates/android/app/src/main/java/com/vuebly/commandly/MainActivity.java +13 -0
- data/templates/android/app/src/main/res/layout/activity_main.xml +18 -0
- data/templates/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- data/templates/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- data/templates/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- data/templates/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- data/templates/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- data/templates/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- data/templates/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- data/templates/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- data/templates/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- data/templates/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- data/templates/android/app/src/main/res/values/colors.xml +6 -0
- data/templates/android/app/src/main/res/values/strings.xml +3 -0
- data/templates/android/app/src/main/res/values/styles.xml +11 -0
- data/templates/android/app/src/test/java/com/vuebly/commandly/ExampleUnitTest.java +17 -0
- data/templates/android/build.gradle +23 -0
- data/templates/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- data/templates/android/gradle/wrapper/gradle-wrapper.properties +6 -0
- data/templates/android/gradle.properties +17 -0
- data/templates/android/gradlew +160 -0
- data/templates/android/gradlew.bat +90 -0
- data/templates/android/settings.gradle +1 -0
- data/templates/ios/.gitignore +55 -0
- data/templates/ios/Commandly/AppDelegate.h +17 -0
- data/templates/ios/Commandly/AppDelegate.m +51 -0
- data/templates/ios/Commandly/Assets.xcassets/AppIcon.appiconset/Contents.json +68 -0
- data/templates/ios/Commandly/Base.lproj/LaunchScreen.storyboard +27 -0
- data/templates/ios/Commandly/Base.lproj/Main.storyboard +41 -0
- data/templates/ios/Commandly/Info.plist +45 -0
- data/templates/ios/Commandly/ViewController.h +15 -0
- data/templates/ios/Commandly/ViewController.m +29 -0
- data/templates/ios/Commandly/main.m +16 -0
- data/templates/ios/Commandly.xcodeproj/project.pbxproj +429 -0
- data/templates/ios/CommandlyTests/CommandlyTests.m +39 -0
- data/templates/ios/CommandlyTests/Info.plist +22 -0
- metadata +176 -0
@@ -0,0 +1,45 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>CFBundleDevelopmentRegion</key>
|
6
|
+
<string>en</string>
|
7
|
+
<key>CFBundleExecutable</key>
|
8
|
+
<string>$(EXECUTABLE_NAME)</string>
|
9
|
+
<key>CFBundleIdentifier</key>
|
10
|
+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
11
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
12
|
+
<string>6.0</string>
|
13
|
+
<key>CFBundleName</key>
|
14
|
+
<string>$(PRODUCT_NAME)</string>
|
15
|
+
<key>CFBundlePackageType</key>
|
16
|
+
<string>APPL</string>
|
17
|
+
<key>CFBundleShortVersionString</key>
|
18
|
+
<string>1.0</string>
|
19
|
+
<key>CFBundleVersion</key>
|
20
|
+
<string>1</string>
|
21
|
+
<key>LSRequiresIPhoneOS</key>
|
22
|
+
<true/>
|
23
|
+
<key>UILaunchStoryboardName</key>
|
24
|
+
<string>LaunchScreen</string>
|
25
|
+
<key>UIMainStoryboardFile</key>
|
26
|
+
<string>Main</string>
|
27
|
+
<key>UIRequiredDeviceCapabilities</key>
|
28
|
+
<array>
|
29
|
+
<string>armv7</string>
|
30
|
+
</array>
|
31
|
+
<key>UISupportedInterfaceOrientations</key>
|
32
|
+
<array>
|
33
|
+
<string>UIInterfaceOrientationPortrait</string>
|
34
|
+
<string>UIInterfaceOrientationLandscapeLeft</string>
|
35
|
+
<string>UIInterfaceOrientationLandscapeRight</string>
|
36
|
+
</array>
|
37
|
+
<key>UISupportedInterfaceOrientations~ipad</key>
|
38
|
+
<array>
|
39
|
+
<string>UIInterfaceOrientationPortrait</string>
|
40
|
+
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
41
|
+
<string>UIInterfaceOrientationLandscapeLeft</string>
|
42
|
+
<string>UIInterfaceOrientationLandscapeRight</string>
|
43
|
+
</array>
|
44
|
+
</dict>
|
45
|
+
</plist>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
//
|
2
|
+
// ViewController.m
|
3
|
+
// Commandly
|
4
|
+
//
|
5
|
+
// Created by Louie Bao on 29/06/2017.
|
6
|
+
// Copyright © 2017 Louie Bao. All rights reserved.
|
7
|
+
//
|
8
|
+
|
9
|
+
#import "ViewController.h"
|
10
|
+
|
11
|
+
@interface ViewController ()
|
12
|
+
|
13
|
+
@end
|
14
|
+
|
15
|
+
@implementation ViewController
|
16
|
+
|
17
|
+
- (void)viewDidLoad {
|
18
|
+
[super viewDidLoad];
|
19
|
+
// Do any additional setup after loading the view, typically from a nib.
|
20
|
+
}
|
21
|
+
|
22
|
+
|
23
|
+
- (void)didReceiveMemoryWarning {
|
24
|
+
[super didReceiveMemoryWarning];
|
25
|
+
// Dispose of any resources that can be recreated.
|
26
|
+
}
|
27
|
+
|
28
|
+
|
29
|
+
@end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
//
|
2
|
+
// main.m
|
3
|
+
// Commandly
|
4
|
+
//
|
5
|
+
// Created by Louie Bao on 29/06/2017.
|
6
|
+
// Copyright © 2017 Louie Bao. All rights reserved.
|
7
|
+
//
|
8
|
+
|
9
|
+
#import <UIKit/UIKit.h>
|
10
|
+
#import "AppDelegate.h"
|
11
|
+
|
12
|
+
int main(int argc, char * argv[]) {
|
13
|
+
@autoreleasepool {
|
14
|
+
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
|
15
|
+
}
|
16
|
+
}
|
@@ -0,0 +1,429 @@
|
|
1
|
+
// !$*UTF8*$!
|
2
|
+
{
|
3
|
+
archiveVersion = 1;
|
4
|
+
classes = {
|
5
|
+
};
|
6
|
+
objectVersion = 46;
|
7
|
+
objects = {
|
8
|
+
|
9
|
+
/* Begin PBXBuildFile section */
|
10
|
+
87C043061F051937008446CC /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 87C043051F051937008446CC /* main.m */; };
|
11
|
+
87C043091F051937008446CC /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 87C043081F051937008446CC /* AppDelegate.m */; };
|
12
|
+
87C0430C1F051937008446CC /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 87C0430B1F051937008446CC /* ViewController.m */; };
|
13
|
+
87C0430F1F051937008446CC /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 87C0430D1F051937008446CC /* Main.storyboard */; };
|
14
|
+
87C043111F051937008446CC /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 87C043101F051937008446CC /* Assets.xcassets */; };
|
15
|
+
87C043141F051937008446CC /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 87C043121F051937008446CC /* LaunchScreen.storyboard */; };
|
16
|
+
87C0431F1F051938008446CC /* CommandlyTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 87C0431E1F051938008446CC /* CommandlyTests.m */; };
|
17
|
+
/* End PBXBuildFile section */
|
18
|
+
|
19
|
+
/* Begin PBXContainerItemProxy section */
|
20
|
+
87C0431B1F051938008446CC /* PBXContainerItemProxy */ = {
|
21
|
+
isa = PBXContainerItemProxy;
|
22
|
+
containerPortal = 87C042F91F051937008446CC /* Project object */;
|
23
|
+
proxyType = 1;
|
24
|
+
remoteGlobalIDString = 87C043001F051937008446CC;
|
25
|
+
remoteInfo = Commandly;
|
26
|
+
};
|
27
|
+
/* End PBXContainerItemProxy section */
|
28
|
+
|
29
|
+
/* Begin PBXFileReference section */
|
30
|
+
87C043011F051937008446CC /* Commandly.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Commandly.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
31
|
+
87C043051F051937008446CC /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
32
|
+
87C043071F051937008446CC /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
|
33
|
+
87C043081F051937008446CC /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
|
34
|
+
87C0430A1F051937008446CC /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
|
35
|
+
87C0430B1F051937008446CC /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
|
36
|
+
87C0430E1F051937008446CC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
|
37
|
+
87C043101F051937008446CC /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
38
|
+
87C043131F051937008446CC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
39
|
+
87C043151F051937008446CC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
40
|
+
87C0431A1F051938008446CC /* CommandlyTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CommandlyTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
41
|
+
87C0431E1F051938008446CC /* CommandlyTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CommandlyTests.m; sourceTree = "<group>"; };
|
42
|
+
87C043201F051938008446CC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
43
|
+
/* End PBXFileReference section */
|
44
|
+
|
45
|
+
/* Begin PBXFrameworksBuildPhase section */
|
46
|
+
87C042FE1F051937008446CC /* Frameworks */ = {
|
47
|
+
isa = PBXFrameworksBuildPhase;
|
48
|
+
buildActionMask = 2147483647;
|
49
|
+
files = (
|
50
|
+
);
|
51
|
+
runOnlyForDeploymentPostprocessing = 0;
|
52
|
+
};
|
53
|
+
87C043171F051938008446CC /* Frameworks */ = {
|
54
|
+
isa = PBXFrameworksBuildPhase;
|
55
|
+
buildActionMask = 2147483647;
|
56
|
+
files = (
|
57
|
+
);
|
58
|
+
runOnlyForDeploymentPostprocessing = 0;
|
59
|
+
};
|
60
|
+
/* End PBXFrameworksBuildPhase section */
|
61
|
+
|
62
|
+
/* Begin PBXGroup section */
|
63
|
+
87C042F81F051937008446CC = {
|
64
|
+
isa = PBXGroup;
|
65
|
+
children = (
|
66
|
+
87C043031F051937008446CC /* Commandly */,
|
67
|
+
87C0431D1F051938008446CC /* CommandlyTests */,
|
68
|
+
87C043021F051937008446CC /* Products */,
|
69
|
+
);
|
70
|
+
sourceTree = "<group>";
|
71
|
+
};
|
72
|
+
87C043021F051937008446CC /* Products */ = {
|
73
|
+
isa = PBXGroup;
|
74
|
+
children = (
|
75
|
+
87C043011F051937008446CC /* Commandly.app */,
|
76
|
+
87C0431A1F051938008446CC /* CommandlyTests.xctest */,
|
77
|
+
);
|
78
|
+
name = Products;
|
79
|
+
sourceTree = "<group>";
|
80
|
+
};
|
81
|
+
87C043031F051937008446CC /* Commandly */ = {
|
82
|
+
isa = PBXGroup;
|
83
|
+
children = (
|
84
|
+
87C043071F051937008446CC /* AppDelegate.h */,
|
85
|
+
87C043081F051937008446CC /* AppDelegate.m */,
|
86
|
+
87C0430A1F051937008446CC /* ViewController.h */,
|
87
|
+
87C0430B1F051937008446CC /* ViewController.m */,
|
88
|
+
87C0430D1F051937008446CC /* Main.storyboard */,
|
89
|
+
87C043101F051937008446CC /* Assets.xcassets */,
|
90
|
+
87C043121F051937008446CC /* LaunchScreen.storyboard */,
|
91
|
+
87C043151F051937008446CC /* Info.plist */,
|
92
|
+
87C043041F051937008446CC /* Supporting Files */,
|
93
|
+
);
|
94
|
+
path = Commandly;
|
95
|
+
sourceTree = "<group>";
|
96
|
+
};
|
97
|
+
87C043041F051937008446CC /* Supporting Files */ = {
|
98
|
+
isa = PBXGroup;
|
99
|
+
children = (
|
100
|
+
87C043051F051937008446CC /* main.m */,
|
101
|
+
);
|
102
|
+
name = "Supporting Files";
|
103
|
+
sourceTree = "<group>";
|
104
|
+
};
|
105
|
+
87C0431D1F051938008446CC /* CommandlyTests */ = {
|
106
|
+
isa = PBXGroup;
|
107
|
+
children = (
|
108
|
+
87C0431E1F051938008446CC /* CommandlyTests.m */,
|
109
|
+
87C043201F051938008446CC /* Info.plist */,
|
110
|
+
);
|
111
|
+
path = CommandlyTests;
|
112
|
+
sourceTree = "<group>";
|
113
|
+
};
|
114
|
+
/* End PBXGroup section */
|
115
|
+
|
116
|
+
/* Begin PBXNativeTarget section */
|
117
|
+
87C043001F051937008446CC /* Commandly */ = {
|
118
|
+
isa = PBXNativeTarget;
|
119
|
+
buildConfigurationList = 87C043231F051938008446CC /* Build configuration list for PBXNativeTarget "Commandly" */;
|
120
|
+
buildPhases = (
|
121
|
+
87C042FD1F051937008446CC /* Sources */,
|
122
|
+
87C042FE1F051937008446CC /* Frameworks */,
|
123
|
+
87C042FF1F051937008446CC /* Resources */,
|
124
|
+
);
|
125
|
+
buildRules = (
|
126
|
+
);
|
127
|
+
dependencies = (
|
128
|
+
);
|
129
|
+
name = Commandly;
|
130
|
+
productName = Commandly;
|
131
|
+
productReference = 87C043011F051937008446CC /* Commandly.app */;
|
132
|
+
productType = "com.apple.product-type.application";
|
133
|
+
};
|
134
|
+
87C043191F051938008446CC /* CommandlyTests */ = {
|
135
|
+
isa = PBXNativeTarget;
|
136
|
+
buildConfigurationList = 87C043261F051938008446CC /* Build configuration list for PBXNativeTarget "CommandlyTests" */;
|
137
|
+
buildPhases = (
|
138
|
+
87C043161F051938008446CC /* Sources */,
|
139
|
+
87C043171F051938008446CC /* Frameworks */,
|
140
|
+
87C043181F051938008446CC /* Resources */,
|
141
|
+
);
|
142
|
+
buildRules = (
|
143
|
+
);
|
144
|
+
dependencies = (
|
145
|
+
87C0431C1F051938008446CC /* PBXTargetDependency */,
|
146
|
+
);
|
147
|
+
name = CommandlyTests;
|
148
|
+
productName = CommandlyTests;
|
149
|
+
productReference = 87C0431A1F051938008446CC /* CommandlyTests.xctest */;
|
150
|
+
productType = "com.apple.product-type.bundle.unit-test";
|
151
|
+
};
|
152
|
+
/* End PBXNativeTarget section */
|
153
|
+
|
154
|
+
/* Begin PBXProject section */
|
155
|
+
87C042F91F051937008446CC /* Project object */ = {
|
156
|
+
isa = PBXProject;
|
157
|
+
attributes = {
|
158
|
+
LastUpgradeCheck = 0830;
|
159
|
+
ORGANIZATIONNAME = "Louie Bao";
|
160
|
+
TargetAttributes = {
|
161
|
+
87C043001F051937008446CC = {
|
162
|
+
CreatedOnToolsVersion = 8.3.3;
|
163
|
+
ProvisioningStyle = Automatic;
|
164
|
+
};
|
165
|
+
87C043191F051938008446CC = {
|
166
|
+
CreatedOnToolsVersion = 8.3.3;
|
167
|
+
ProvisioningStyle = Automatic;
|
168
|
+
TestTargetID = 87C043001F051937008446CC;
|
169
|
+
};
|
170
|
+
};
|
171
|
+
};
|
172
|
+
buildConfigurationList = 87C042FC1F051937008446CC /* Build configuration list for PBXProject "Commandly" */;
|
173
|
+
compatibilityVersion = "Xcode 3.2";
|
174
|
+
developmentRegion = English;
|
175
|
+
hasScannedForEncodings = 0;
|
176
|
+
knownRegions = (
|
177
|
+
en,
|
178
|
+
Base,
|
179
|
+
);
|
180
|
+
mainGroup = 87C042F81F051937008446CC;
|
181
|
+
productRefGroup = 87C043021F051937008446CC /* Products */;
|
182
|
+
projectDirPath = "";
|
183
|
+
projectRoot = "";
|
184
|
+
targets = (
|
185
|
+
87C043001F051937008446CC /* Commandly */,
|
186
|
+
87C043191F051938008446CC /* CommandlyTests */,
|
187
|
+
);
|
188
|
+
};
|
189
|
+
/* End PBXProject section */
|
190
|
+
|
191
|
+
/* Begin PBXResourcesBuildPhase section */
|
192
|
+
87C042FF1F051937008446CC /* Resources */ = {
|
193
|
+
isa = PBXResourcesBuildPhase;
|
194
|
+
buildActionMask = 2147483647;
|
195
|
+
files = (
|
196
|
+
87C043141F051937008446CC /* LaunchScreen.storyboard in Resources */,
|
197
|
+
87C043111F051937008446CC /* Assets.xcassets in Resources */,
|
198
|
+
87C0430F1F051937008446CC /* Main.storyboard in Resources */,
|
199
|
+
);
|
200
|
+
runOnlyForDeploymentPostprocessing = 0;
|
201
|
+
};
|
202
|
+
87C043181F051938008446CC /* Resources */ = {
|
203
|
+
isa = PBXResourcesBuildPhase;
|
204
|
+
buildActionMask = 2147483647;
|
205
|
+
files = (
|
206
|
+
);
|
207
|
+
runOnlyForDeploymentPostprocessing = 0;
|
208
|
+
};
|
209
|
+
/* End PBXResourcesBuildPhase section */
|
210
|
+
|
211
|
+
/* Begin PBXSourcesBuildPhase section */
|
212
|
+
87C042FD1F051937008446CC /* Sources */ = {
|
213
|
+
isa = PBXSourcesBuildPhase;
|
214
|
+
buildActionMask = 2147483647;
|
215
|
+
files = (
|
216
|
+
87C0430C1F051937008446CC /* ViewController.m in Sources */,
|
217
|
+
87C043091F051937008446CC /* AppDelegate.m in Sources */,
|
218
|
+
87C043061F051937008446CC /* main.m in Sources */,
|
219
|
+
);
|
220
|
+
runOnlyForDeploymentPostprocessing = 0;
|
221
|
+
};
|
222
|
+
87C043161F051938008446CC /* Sources */ = {
|
223
|
+
isa = PBXSourcesBuildPhase;
|
224
|
+
buildActionMask = 2147483647;
|
225
|
+
files = (
|
226
|
+
87C0431F1F051938008446CC /* CommandlyTests.m in Sources */,
|
227
|
+
);
|
228
|
+
runOnlyForDeploymentPostprocessing = 0;
|
229
|
+
};
|
230
|
+
/* End PBXSourcesBuildPhase section */
|
231
|
+
|
232
|
+
/* Begin PBXTargetDependency section */
|
233
|
+
87C0431C1F051938008446CC /* PBXTargetDependency */ = {
|
234
|
+
isa = PBXTargetDependency;
|
235
|
+
target = 87C043001F051937008446CC /* Commandly */;
|
236
|
+
targetProxy = 87C0431B1F051938008446CC /* PBXContainerItemProxy */;
|
237
|
+
};
|
238
|
+
/* End PBXTargetDependency section */
|
239
|
+
|
240
|
+
/* Begin PBXVariantGroup section */
|
241
|
+
87C0430D1F051937008446CC /* Main.storyboard */ = {
|
242
|
+
isa = PBXVariantGroup;
|
243
|
+
children = (
|
244
|
+
87C0430E1F051937008446CC /* Base */,
|
245
|
+
);
|
246
|
+
name = Main.storyboard;
|
247
|
+
sourceTree = "<group>";
|
248
|
+
};
|
249
|
+
87C043121F051937008446CC /* LaunchScreen.storyboard */ = {
|
250
|
+
isa = PBXVariantGroup;
|
251
|
+
children = (
|
252
|
+
87C043131F051937008446CC /* Base */,
|
253
|
+
);
|
254
|
+
name = LaunchScreen.storyboard;
|
255
|
+
sourceTree = "<group>";
|
256
|
+
};
|
257
|
+
/* End PBXVariantGroup section */
|
258
|
+
|
259
|
+
/* Begin XCBuildConfiguration section */
|
260
|
+
87C043211F051938008446CC /* Debug */ = {
|
261
|
+
isa = XCBuildConfiguration;
|
262
|
+
buildSettings = {
|
263
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
264
|
+
CLANG_ANALYZER_NONNULL = YES;
|
265
|
+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
266
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
267
|
+
CLANG_CXX_LIBRARY = "libc++";
|
268
|
+
CLANG_ENABLE_MODULES = YES;
|
269
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
270
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
271
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
272
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
273
|
+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
274
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
275
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
276
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
277
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
278
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
279
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
280
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
281
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
282
|
+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
283
|
+
COPY_PHASE_STRIP = NO;
|
284
|
+
DEBUG_INFORMATION_FORMAT = dwarf;
|
285
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
286
|
+
ENABLE_TESTABILITY = YES;
|
287
|
+
GCC_C_LANGUAGE_STANDARD = gnu99;
|
288
|
+
GCC_DYNAMIC_NO_PIC = NO;
|
289
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
290
|
+
GCC_OPTIMIZATION_LEVEL = 0;
|
291
|
+
GCC_PREPROCESSOR_DEFINITIONS = (
|
292
|
+
"DEBUG=1",
|
293
|
+
"$(inherited)",
|
294
|
+
);
|
295
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
296
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
297
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
298
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
299
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
300
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
301
|
+
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
|
302
|
+
MTL_ENABLE_DEBUG_INFO = YES;
|
303
|
+
ONLY_ACTIVE_ARCH = YES;
|
304
|
+
SDKROOT = iphoneos;
|
305
|
+
TARGETED_DEVICE_FAMILY = "1,2";
|
306
|
+
};
|
307
|
+
name = Debug;
|
308
|
+
};
|
309
|
+
87C043221F051938008446CC /* Release */ = {
|
310
|
+
isa = XCBuildConfiguration;
|
311
|
+
buildSettings = {
|
312
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
313
|
+
CLANG_ANALYZER_NONNULL = YES;
|
314
|
+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
315
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
316
|
+
CLANG_CXX_LIBRARY = "libc++";
|
317
|
+
CLANG_ENABLE_MODULES = YES;
|
318
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
319
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
320
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
321
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
322
|
+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
323
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
324
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
325
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
326
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
327
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
328
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
329
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
330
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
331
|
+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
332
|
+
COPY_PHASE_STRIP = NO;
|
333
|
+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
334
|
+
ENABLE_NS_ASSERTIONS = NO;
|
335
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
336
|
+
GCC_C_LANGUAGE_STANDARD = gnu99;
|
337
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
338
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
339
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
340
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
341
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
342
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
343
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
344
|
+
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
|
345
|
+
MTL_ENABLE_DEBUG_INFO = NO;
|
346
|
+
SDKROOT = iphoneos;
|
347
|
+
TARGETED_DEVICE_FAMILY = "1,2";
|
348
|
+
VALIDATE_PRODUCT = YES;
|
349
|
+
};
|
350
|
+
name = Release;
|
351
|
+
};
|
352
|
+
87C043241F051938008446CC /* Debug */ = {
|
353
|
+
isa = XCBuildConfiguration;
|
354
|
+
buildSettings = {
|
355
|
+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
356
|
+
INFOPLIST_FILE = Commandly/Info.plist;
|
357
|
+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
358
|
+
PRODUCT_BUNDLE_IDENTIFIER = com.vuebly.Commandly;
|
359
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
360
|
+
};
|
361
|
+
name = Debug;
|
362
|
+
};
|
363
|
+
87C043251F051938008446CC /* Release */ = {
|
364
|
+
isa = XCBuildConfiguration;
|
365
|
+
buildSettings = {
|
366
|
+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
367
|
+
INFOPLIST_FILE = Commandly/Info.plist;
|
368
|
+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
369
|
+
PRODUCT_BUNDLE_IDENTIFIER = com.vuebly.Commandly;
|
370
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
371
|
+
};
|
372
|
+
name = Release;
|
373
|
+
};
|
374
|
+
87C043271F051938008446CC /* Debug */ = {
|
375
|
+
isa = XCBuildConfiguration;
|
376
|
+
buildSettings = {
|
377
|
+
BUNDLE_LOADER = "$(TEST_HOST)";
|
378
|
+
INFOPLIST_FILE = CommandlyTests/Info.plist;
|
379
|
+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
380
|
+
PRODUCT_BUNDLE_IDENTIFIER = com.vuebly.CommandlyTests;
|
381
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
382
|
+
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Commandly.app/Commandly";
|
383
|
+
};
|
384
|
+
name = Debug;
|
385
|
+
};
|
386
|
+
87C043281F051938008446CC /* Release */ = {
|
387
|
+
isa = XCBuildConfiguration;
|
388
|
+
buildSettings = {
|
389
|
+
BUNDLE_LOADER = "$(TEST_HOST)";
|
390
|
+
INFOPLIST_FILE = CommandlyTests/Info.plist;
|
391
|
+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
392
|
+
PRODUCT_BUNDLE_IDENTIFIER = com.vuebly.CommandlyTests;
|
393
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
394
|
+
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Commandly.app/Commandly";
|
395
|
+
};
|
396
|
+
name = Release;
|
397
|
+
};
|
398
|
+
/* End XCBuildConfiguration section */
|
399
|
+
|
400
|
+
/* Begin XCConfigurationList section */
|
401
|
+
87C042FC1F051937008446CC /* Build configuration list for PBXProject "Commandly" */ = {
|
402
|
+
isa = XCConfigurationList;
|
403
|
+
buildConfigurations = (
|
404
|
+
87C043211F051938008446CC /* Debug */,
|
405
|
+
87C043221F051938008446CC /* Release */,
|
406
|
+
);
|
407
|
+
defaultConfigurationIsVisible = 0;
|
408
|
+
defaultConfigurationName = Release;
|
409
|
+
};
|
410
|
+
87C043231F051938008446CC /* Build configuration list for PBXNativeTarget "Commandly" */ = {
|
411
|
+
isa = XCConfigurationList;
|
412
|
+
buildConfigurations = (
|
413
|
+
87C043241F051938008446CC /* Debug */,
|
414
|
+
87C043251F051938008446CC /* Release */,
|
415
|
+
);
|
416
|
+
defaultConfigurationIsVisible = 0;
|
417
|
+
};
|
418
|
+
87C043261F051938008446CC /* Build configuration list for PBXNativeTarget "CommandlyTests" */ = {
|
419
|
+
isa = XCConfigurationList;
|
420
|
+
buildConfigurations = (
|
421
|
+
87C043271F051938008446CC /* Debug */,
|
422
|
+
87C043281F051938008446CC /* Release */,
|
423
|
+
);
|
424
|
+
defaultConfigurationIsVisible = 0;
|
425
|
+
};
|
426
|
+
/* End XCConfigurationList section */
|
427
|
+
};
|
428
|
+
rootObject = 87C042F91F051937008446CC /* Project object */;
|
429
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
//
|
2
|
+
// CommandlyTests.m
|
3
|
+
// CommandlyTests
|
4
|
+
//
|
5
|
+
// Created by Louie Bao on 29/06/2017.
|
6
|
+
// Copyright © 2017 Louie Bao. All rights reserved.
|
7
|
+
//
|
8
|
+
|
9
|
+
#import <XCTest/XCTest.h>
|
10
|
+
|
11
|
+
@interface CommandlyTests : XCTestCase
|
12
|
+
|
13
|
+
@end
|
14
|
+
|
15
|
+
@implementation CommandlyTests
|
16
|
+
|
17
|
+
- (void)setUp {
|
18
|
+
[super setUp];
|
19
|
+
// Put setup code here. This method is called before the invocation of each test method in the class.
|
20
|
+
}
|
21
|
+
|
22
|
+
- (void)tearDown {
|
23
|
+
// Put teardown code here. This method is called after the invocation of each test method in the class.
|
24
|
+
[super tearDown];
|
25
|
+
}
|
26
|
+
|
27
|
+
- (void)testExample {
|
28
|
+
// This is an example of a functional test case.
|
29
|
+
// Use XCTAssert and related functions to verify your tests produce the correct results.
|
30
|
+
}
|
31
|
+
|
32
|
+
- (void)testPerformanceExample {
|
33
|
+
// This is an example of a performance test case.
|
34
|
+
[self measureBlock:^{
|
35
|
+
// Put the code you want to measure the time of here.
|
36
|
+
}];
|
37
|
+
}
|
38
|
+
|
39
|
+
@end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>CFBundleDevelopmentRegion</key>
|
6
|
+
<string>en</string>
|
7
|
+
<key>CFBundleExecutable</key>
|
8
|
+
<string>$(EXECUTABLE_NAME)</string>
|
9
|
+
<key>CFBundleIdentifier</key>
|
10
|
+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
11
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
12
|
+
<string>6.0</string>
|
13
|
+
<key>CFBundleName</key>
|
14
|
+
<string>$(PRODUCT_NAME)</string>
|
15
|
+
<key>CFBundlePackageType</key>
|
16
|
+
<string>BNDL</string>
|
17
|
+
<key>CFBundleShortVersionString</key>
|
18
|
+
<string>1.0</string>
|
19
|
+
<key>CFBundleVersion</key>
|
20
|
+
<string>1</string>
|
21
|
+
</dict>
|
22
|
+
</plist>
|