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.
Files changed (61) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +16 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +5 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +65 -0
  8. data/Rakefile +6 -0
  9. data/bin/console +14 -0
  10. data/bin/setup +8 -0
  11. data/commandly.gemspec +40 -0
  12. data/exe/commandly +5 -0
  13. data/lib/commandly/cli.rb +69 -0
  14. data/lib/commandly/generator.rb +71 -0
  15. data/lib/commandly/version.rb +3 -0
  16. data/lib/commandly.rb +7 -0
  17. data/templates/android/.gitignore +135 -0
  18. data/templates/android/.idea/gradle.xml +18 -0
  19. data/templates/android/.idea/runConfigurations.xml +12 -0
  20. data/templates/android/app/.gitignore +1 -0
  21. data/templates/android/app/build.gradle +30 -0
  22. data/templates/android/app/proguard-rules.pro +25 -0
  23. data/templates/android/app/src/androidTest/java/com/vuebly/commandly/ExampleInstrumentedTest.java +26 -0
  24. data/templates/android/app/src/main/AndroidManifest.xml +21 -0
  25. data/templates/android/app/src/main/java/com/vuebly/commandly/MainActivity.java +13 -0
  26. data/templates/android/app/src/main/res/layout/activity_main.xml +18 -0
  27. data/templates/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  28. data/templates/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  29. data/templates/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  30. data/templates/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  31. data/templates/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  32. data/templates/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  33. data/templates/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  34. data/templates/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  35. data/templates/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  36. data/templates/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  37. data/templates/android/app/src/main/res/values/colors.xml +6 -0
  38. data/templates/android/app/src/main/res/values/strings.xml +3 -0
  39. data/templates/android/app/src/main/res/values/styles.xml +11 -0
  40. data/templates/android/app/src/test/java/com/vuebly/commandly/ExampleUnitTest.java +17 -0
  41. data/templates/android/build.gradle +23 -0
  42. data/templates/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  43. data/templates/android/gradle/wrapper/gradle-wrapper.properties +6 -0
  44. data/templates/android/gradle.properties +17 -0
  45. data/templates/android/gradlew +160 -0
  46. data/templates/android/gradlew.bat +90 -0
  47. data/templates/android/settings.gradle +1 -0
  48. data/templates/ios/.gitignore +55 -0
  49. data/templates/ios/Commandly/AppDelegate.h +17 -0
  50. data/templates/ios/Commandly/AppDelegate.m +51 -0
  51. data/templates/ios/Commandly/Assets.xcassets/AppIcon.appiconset/Contents.json +68 -0
  52. data/templates/ios/Commandly/Base.lproj/LaunchScreen.storyboard +27 -0
  53. data/templates/ios/Commandly/Base.lproj/Main.storyboard +41 -0
  54. data/templates/ios/Commandly/Info.plist +45 -0
  55. data/templates/ios/Commandly/ViewController.h +15 -0
  56. data/templates/ios/Commandly/ViewController.m +29 -0
  57. data/templates/ios/Commandly/main.m +16 -0
  58. data/templates/ios/Commandly.xcodeproj/project.pbxproj +429 -0
  59. data/templates/ios/CommandlyTests/CommandlyTests.m +39 -0
  60. data/templates/ios/CommandlyTests/Info.plist +22 -0
  61. metadata +176 -0
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
+ xmlns:app="http://schemas.android.com/apk/res-auto"
4
+ xmlns:tools="http://schemas.android.com/tools"
5
+ android:layout_width="match_parent"
6
+ android:layout_height="match_parent"
7
+ tools:context="com.vuebly.commandly.MainActivity">
8
+
9
+ <TextView
10
+ android:layout_width="wrap_content"
11
+ android:layout_height="wrap_content"
12
+ android:text="Hello World!"
13
+ app:layout_constraintBottom_toBottomOf="parent"
14
+ app:layout_constraintLeft_toLeftOf="parent"
15
+ app:layout_constraintRight_toRightOf="parent"
16
+ app:layout_constraintTop_toTopOf="parent" />
17
+
18
+ </android.support.constraint.ConstraintLayout>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <resources>
3
+ <color name="colorPrimary">#3F51B5</color>
4
+ <color name="colorPrimaryDark">#303F9F</color>
5
+ <color name="colorAccent">#FF4081</color>
6
+ </resources>
@@ -0,0 +1,3 @@
1
+ <resources>
2
+ <string name="app_name">Commandly</string>
3
+ </resources>
@@ -0,0 +1,11 @@
1
+ <resources>
2
+
3
+ <!-- Base application theme. -->
4
+ <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
5
+ <!-- Customize your theme here. -->
6
+ <item name="colorPrimary">@color/colorPrimary</item>
7
+ <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
8
+ <item name="colorAccent">@color/colorAccent</item>
9
+ </style>
10
+
11
+ </resources>
@@ -0,0 +1,17 @@
1
+ package com.vuebly.commandly;
2
+
3
+ import org.junit.Test;
4
+
5
+ import static org.junit.Assert.*;
6
+
7
+ /**
8
+ * Example local unit test, which will execute on the development machine (host).
9
+ *
10
+ * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
11
+ */
12
+ public class ExampleUnitTest {
13
+ @Test
14
+ public void addition_isCorrect() throws Exception {
15
+ assertEquals(4, 2 + 2);
16
+ }
17
+ }
@@ -0,0 +1,23 @@
1
+ // Top-level build file where you can add configuration options common to all sub-projects/modules.
2
+
3
+ buildscript {
4
+ repositories {
5
+ jcenter()
6
+ }
7
+ dependencies {
8
+ classpath 'com.android.tools.build:gradle:2.3.3'
9
+
10
+ // NOTE: Do not place your application dependencies here; they belong
11
+ // in the individual module build.gradle files
12
+ }
13
+ }
14
+
15
+ allprojects {
16
+ repositories {
17
+ jcenter()
18
+ }
19
+ }
20
+
21
+ task clean(type: Delete) {
22
+ delete rootProject.buildDir
23
+ }
@@ -0,0 +1,6 @@
1
+ #Thu Jun 29 20:06:04 CST 2017
2
+ distributionBase=GRADLE_USER_HOME
3
+ distributionPath=wrapper/dists
4
+ zipStoreBase=GRADLE_USER_HOME
5
+ zipStorePath=wrapper/dists
6
+ distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
@@ -0,0 +1,17 @@
1
+ # Project-wide Gradle settings.
2
+
3
+ # IDE (e.g. Android Studio) users:
4
+ # Gradle settings configured through the IDE *will override*
5
+ # any settings specified in this file.
6
+
7
+ # For more details on how to configure your build environment visit
8
+ # http://www.gradle.org/docs/current/userguide/build_environment.html
9
+
10
+ # Specifies the JVM arguments used for the daemon process.
11
+ # The setting is particularly useful for tweaking memory settings.
12
+ org.gradle.jvmargs=-Xmx1536m
13
+
14
+ # When configured, Gradle will run in incubating parallel mode.
15
+ # This option should only be used with decoupled projects. More details, visit
16
+ # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17
+ # org.gradle.parallel=true
@@ -0,0 +1,160 @@
1
+ #!/usr/bin/env bash
2
+
3
+ ##############################################################################
4
+ ##
5
+ ## Gradle start up script for UN*X
6
+ ##
7
+ ##############################################################################
8
+
9
+ # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10
+ DEFAULT_JVM_OPTS=""
11
+
12
+ APP_NAME="Gradle"
13
+ APP_BASE_NAME=`basename "$0"`
14
+
15
+ # Use the maximum available, or set MAX_FD != -1 to use that value.
16
+ MAX_FD="maximum"
17
+
18
+ warn ( ) {
19
+ echo "$*"
20
+ }
21
+
22
+ die ( ) {
23
+ echo
24
+ echo "$*"
25
+ echo
26
+ exit 1
27
+ }
28
+
29
+ # OS specific support (must be 'true' or 'false').
30
+ cygwin=false
31
+ msys=false
32
+ darwin=false
33
+ case "`uname`" in
34
+ CYGWIN* )
35
+ cygwin=true
36
+ ;;
37
+ Darwin* )
38
+ darwin=true
39
+ ;;
40
+ MINGW* )
41
+ msys=true
42
+ ;;
43
+ esac
44
+
45
+ # Attempt to set APP_HOME
46
+ # Resolve links: $0 may be a link
47
+ PRG="$0"
48
+ # Need this for relative symlinks.
49
+ while [ -h "$PRG" ] ; do
50
+ ls=`ls -ld "$PRG"`
51
+ link=`expr "$ls" : '.*-> \(.*\)$'`
52
+ if expr "$link" : '/.*' > /dev/null; then
53
+ PRG="$link"
54
+ else
55
+ PRG=`dirname "$PRG"`"/$link"
56
+ fi
57
+ done
58
+ SAVED="`pwd`"
59
+ cd "`dirname \"$PRG\"`/" >/dev/null
60
+ APP_HOME="`pwd -P`"
61
+ cd "$SAVED" >/dev/null
62
+
63
+ CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
64
+
65
+ # Determine the Java command to use to start the JVM.
66
+ if [ -n "$JAVA_HOME" ] ; then
67
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
68
+ # IBM's JDK on AIX uses strange locations for the executables
69
+ JAVACMD="$JAVA_HOME/jre/sh/java"
70
+ else
71
+ JAVACMD="$JAVA_HOME/bin/java"
72
+ fi
73
+ if [ ! -x "$JAVACMD" ] ; then
74
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
75
+
76
+ Please set the JAVA_HOME variable in your environment to match the
77
+ location of your Java installation."
78
+ fi
79
+ else
80
+ JAVACMD="java"
81
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
82
+
83
+ Please set the JAVA_HOME variable in your environment to match the
84
+ location of your Java installation."
85
+ fi
86
+
87
+ # Increase the maximum file descriptors if we can.
88
+ if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
89
+ MAX_FD_LIMIT=`ulimit -H -n`
90
+ if [ $? -eq 0 ] ; then
91
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
92
+ MAX_FD="$MAX_FD_LIMIT"
93
+ fi
94
+ ulimit -n $MAX_FD
95
+ if [ $? -ne 0 ] ; then
96
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
97
+ fi
98
+ else
99
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
100
+ fi
101
+ fi
102
+
103
+ # For Darwin, add options to specify how the application appears in the dock
104
+ if $darwin; then
105
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
106
+ fi
107
+
108
+ # For Cygwin, switch paths to Windows format before running java
109
+ if $cygwin ; then
110
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
111
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
112
+ JAVACMD=`cygpath --unix "$JAVACMD"`
113
+
114
+ # We build the pattern for arguments to be converted via cygpath
115
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
116
+ SEP=""
117
+ for dir in $ROOTDIRSRAW ; do
118
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
119
+ SEP="|"
120
+ done
121
+ OURCYGPATTERN="(^($ROOTDIRS))"
122
+ # Add a user-defined pattern to the cygpath arguments
123
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
124
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
125
+ fi
126
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
127
+ i=0
128
+ for arg in "$@" ; do
129
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
130
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
131
+
132
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
133
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
134
+ else
135
+ eval `echo args$i`="\"$arg\""
136
+ fi
137
+ i=$((i+1))
138
+ done
139
+ case $i in
140
+ (0) set -- ;;
141
+ (1) set -- "$args0" ;;
142
+ (2) set -- "$args0" "$args1" ;;
143
+ (3) set -- "$args0" "$args1" "$args2" ;;
144
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
145
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
146
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
147
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
148
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
149
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
150
+ esac
151
+ fi
152
+
153
+ # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
154
+ function splitJvmOpts() {
155
+ JVM_OPTS=("$@")
156
+ }
157
+ eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
158
+ JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
159
+
160
+ exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
@@ -0,0 +1,90 @@
1
+ @if "%DEBUG%" == "" @echo off
2
+ @rem ##########################################################################
3
+ @rem
4
+ @rem Gradle startup script for Windows
5
+ @rem
6
+ @rem ##########################################################################
7
+
8
+ @rem Set local scope for the variables with windows NT shell
9
+ if "%OS%"=="Windows_NT" setlocal
10
+
11
+ @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12
+ set DEFAULT_JVM_OPTS=
13
+
14
+ set DIRNAME=%~dp0
15
+ if "%DIRNAME%" == "" set DIRNAME=.
16
+ set APP_BASE_NAME=%~n0
17
+ set APP_HOME=%DIRNAME%
18
+
19
+ @rem Find java.exe
20
+ if defined JAVA_HOME goto findJavaFromJavaHome
21
+
22
+ set JAVA_EXE=java.exe
23
+ %JAVA_EXE% -version >NUL 2>&1
24
+ if "%ERRORLEVEL%" == "0" goto init
25
+
26
+ echo.
27
+ echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28
+ echo.
29
+ echo Please set the JAVA_HOME variable in your environment to match the
30
+ echo location of your Java installation.
31
+
32
+ goto fail
33
+
34
+ :findJavaFromJavaHome
35
+ set JAVA_HOME=%JAVA_HOME:"=%
36
+ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37
+
38
+ if exist "%JAVA_EXE%" goto init
39
+
40
+ echo.
41
+ echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42
+ echo.
43
+ echo Please set the JAVA_HOME variable in your environment to match the
44
+ echo location of your Java installation.
45
+
46
+ goto fail
47
+
48
+ :init
49
+ @rem Get command-line arguments, handling Windowz variants
50
+
51
+ if not "%OS%" == "Windows_NT" goto win9xME_args
52
+ if "%@eval[2+2]" == "4" goto 4NT_args
53
+
54
+ :win9xME_args
55
+ @rem Slurp the command line arguments.
56
+ set CMD_LINE_ARGS=
57
+ set _SKIP=2
58
+
59
+ :win9xME_args_slurp
60
+ if "x%~1" == "x" goto execute
61
+
62
+ set CMD_LINE_ARGS=%*
63
+ goto execute
64
+
65
+ :4NT_args
66
+ @rem Get arguments from the 4NT Shell from JP Software
67
+ set CMD_LINE_ARGS=%$
68
+
69
+ :execute
70
+ @rem Setup the command line
71
+
72
+ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73
+
74
+ @rem Execute Gradle
75
+ "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76
+
77
+ :end
78
+ @rem End local scope for the variables with windows NT shell
79
+ if "%ERRORLEVEL%"=="0" goto mainEnd
80
+
81
+ :fail
82
+ rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83
+ rem the _cmd.exe /c_ return code!
84
+ if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85
+ exit /b 1
86
+
87
+ :mainEnd
88
+ if "%OS%"=="Windows_NT" endlocal
89
+
90
+ :omega
@@ -0,0 +1 @@
1
+ include ':app'
@@ -0,0 +1,55 @@
1
+
2
+ # Created by https://www.gitignore.io/api/macos,xcode,cocoapods
3
+
4
+ ### CocoaPods ###
5
+ ## CocoaPods GitIgnore Template
6
+
7
+ # CocoaPods - Only use to conserve bandwidth / Save time on Pushing
8
+ # - Also handy if you have a lage number of dependant pods
9
+ # - AS PER https://guides.cocoapods.org/using/using-cocoapods.html NEVER IGONRE THE LOCK FILE
10
+ Pods/
11
+
12
+ ### macOS ###
13
+ *.DS_Store
14
+ .AppleDouble
15
+ .LSOverride
16
+
17
+ # Icon must end with two \r
18
+ Icon
19
+
20
+ # Thumbnails
21
+ ._*
22
+
23
+ ### Xcode ###
24
+ # Xcode
25
+ #
26
+ # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
27
+
28
+ ## Build generated
29
+ build/
30
+ DerivedData/
31
+
32
+ ## Various settings
33
+ *.pbxuser
34
+ !default.pbxuser
35
+ *.mode1v3
36
+ !default.mode1v3
37
+ *.mode2v3
38
+ !default.mode2v3
39
+ *.perspectivev3
40
+ !default.perspectivev3
41
+ xcuserdata/
42
+
43
+ ## Other
44
+ *.moved-aside
45
+ *.xccheckout
46
+ *.xcscmblueprint
47
+
48
+ ### Xcode Patch ###
49
+ *.xcodeproj/*
50
+ !*.xcodeproj/project.pbxproj
51
+ !*.xcodeproj/xcshareddata/
52
+ !*.xcworkspace/contents.xcworkspacedata
53
+ /*.gcno
54
+
55
+ # End of https://www.gitignore.io/api/macos,xcode,cocoapods
@@ -0,0 +1,17 @@
1
+ //
2
+ // AppDelegate.h
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
+
11
+ @interface AppDelegate : UIResponder <UIApplicationDelegate>
12
+
13
+ @property (strong, nonatomic) UIWindow *window;
14
+
15
+
16
+ @end
17
+
@@ -0,0 +1,51 @@
1
+ //
2
+ // AppDelegate.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 "AppDelegate.h"
10
+
11
+ @interface AppDelegate ()
12
+
13
+ @end
14
+
15
+ @implementation AppDelegate
16
+
17
+
18
+ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
19
+ // Override point for customization after application launch.
20
+ return YES;
21
+ }
22
+
23
+
24
+ - (void)applicationWillResignActive:(UIApplication *)application {
25
+ // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
26
+ // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
27
+ }
28
+
29
+
30
+ - (void)applicationDidEnterBackground:(UIApplication *)application {
31
+ // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
32
+ // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
33
+ }
34
+
35
+
36
+ - (void)applicationWillEnterForeground:(UIApplication *)application {
37
+ // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
38
+ }
39
+
40
+
41
+ - (void)applicationDidBecomeActive:(UIApplication *)application {
42
+ // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
43
+ }
44
+
45
+
46
+ - (void)applicationWillTerminate:(UIApplication *)application {
47
+ // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
48
+ }
49
+
50
+
51
+ @end
@@ -0,0 +1,68 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "idiom" : "iphone",
5
+ "size" : "29x29",
6
+ "scale" : "2x"
7
+ },
8
+ {
9
+ "idiom" : "iphone",
10
+ "size" : "29x29",
11
+ "scale" : "3x"
12
+ },
13
+ {
14
+ "idiom" : "iphone",
15
+ "size" : "40x40",
16
+ "scale" : "2x"
17
+ },
18
+ {
19
+ "idiom" : "iphone",
20
+ "size" : "40x40",
21
+ "scale" : "3x"
22
+ },
23
+ {
24
+ "idiom" : "iphone",
25
+ "size" : "60x60",
26
+ "scale" : "2x"
27
+ },
28
+ {
29
+ "idiom" : "iphone",
30
+ "size" : "60x60",
31
+ "scale" : "3x"
32
+ },
33
+ {
34
+ "idiom" : "ipad",
35
+ "size" : "29x29",
36
+ "scale" : "1x"
37
+ },
38
+ {
39
+ "idiom" : "ipad",
40
+ "size" : "29x29",
41
+ "scale" : "2x"
42
+ },
43
+ {
44
+ "idiom" : "ipad",
45
+ "size" : "40x40",
46
+ "scale" : "1x"
47
+ },
48
+ {
49
+ "idiom" : "ipad",
50
+ "size" : "40x40",
51
+ "scale" : "2x"
52
+ },
53
+ {
54
+ "idiom" : "ipad",
55
+ "size" : "76x76",
56
+ "scale" : "1x"
57
+ },
58
+ {
59
+ "idiom" : "ipad",
60
+ "size" : "76x76",
61
+ "scale" : "2x"
62
+ }
63
+ ],
64
+ "info" : {
65
+ "version" : 1,
66
+ "author" : "xcode"
67
+ }
68
+ }
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3
+ <dependencies>
4
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106"/>
5
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
6
+ </dependencies>
7
+ <scenes>
8
+ <!--View Controller-->
9
+ <scene sceneID="EHf-IW-A2E">
10
+ <objects>
11
+ <viewController id="01J-lp-oVM" sceneMemberID="viewController">
12
+ <layoutGuides>
13
+ <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
14
+ <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
15
+ </layoutGuides>
16
+ <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
17
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
18
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
19
+ <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
20
+ </view>
21
+ </viewController>
22
+ <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
23
+ </objects>
24
+ <point key="canvasLocation" x="53" y="375"/>
25
+ </scene>
26
+ </scenes>
27
+ </document>
@@ -0,0 +1,41 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12121" systemVersion="16F73" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
3
+ <device id="retina4_7" orientation="portrait">
4
+ <adaptation id="fullscreen"/>
5
+ </device>
6
+ <dependencies>
7
+ <deployment identifier="iOS"/>
8
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12089"/>
9
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
10
+ </dependencies>
11
+ <scenes>
12
+ <!--View Controller-->
13
+ <scene sceneID="tne-QT-ifu">
14
+ <objects>
15
+ <viewController id="BYZ-38-t0r" customClass="ViewController" sceneMemberID="viewController">
16
+ <layoutGuides>
17
+ <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
18
+ <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
19
+ </layoutGuides>
20
+ <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
21
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
22
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
23
+ <subviews>
24
+ <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CQN-ku-dX9">
25
+ <rect key="frame" x="147.5" y="318" width="80" height="30"/>
26
+ <state key="normal" title="Hello World"/>
27
+ </button>
28
+ </subviews>
29
+ <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
30
+ <constraints>
31
+ <constraint firstItem="CQN-ku-dX9" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="2wt-kC-MgM"/>
32
+ <constraint firstItem="CQN-ku-dX9" firstAttribute="centerY" secondItem="8bC-Xf-vdC" secondAttribute="centerY" id="Ay6-pT-gZR"/>
33
+ </constraints>
34
+ </view>
35
+ </viewController>
36
+ <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
37
+ </objects>
38
+ <point key="canvasLocation" x="136.80000000000001" y="138.98050974512745"/>
39
+ </scene>
40
+ </scenes>
41
+ </document>