on master help sign in
Initial Commit
commit3d225983dc66e435adecc78ef020ad342361009a authorilyakooo0 <ilyakooo0@gmail.com> dateSat 1 Jul 2017, 18:28 (9 years ago)
10 files changed+629
Melk.xcodeproj/project.pbxproj+309 Melk.xcodeproj/project.xcworkspace/contents.xcworkspacedata+7 Melk.xcodeproj/xcuserdata/ilya.xcuserdatad/xcschemes/Melk.xcscheme+91 Melk.xcodeproj/xcuserdata/ilya.xcuserdatad/xcschemes/xcschememanagement.plist+22 Melk/AppDelegate.swift+46 Melk/Assets.xcassets/AppIcon.appiconset/Contents.json+38 Melk/Base.lproj/LaunchScreen.storyboard+27 Melk/Base.lproj/Main.storyboard+26 Melk/Info.plist+38 Melk/ViewController.swift+25
Melk.xcodeproj/project.pbxprojnew file+309
@@ -0,0 +1,309 @@
1+// !$*UTF8*$!
2+{
3+ archiveVersion = 1;
4+ classes = {
5+ };
6+ objectVersion = 46;
7+ objects = {
8+
9+/* Begin PBXBuildFile section */
10+ 09BF41EF1F07F71F00AFAD57 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 09BF41EE1F07F71F00AFAD57 /* AppDelegate.swift */; };
11+ 09BF41F11F07F71F00AFAD57 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 09BF41F01F07F71F00AFAD57 /* ViewController.swift */; };
12+ 09BF41F41F07F71F00AFAD57 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 09BF41F21F07F71F00AFAD57 /* Main.storyboard */; };
13+ 09BF41F61F07F71F00AFAD57 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 09BF41F51F07F71F00AFAD57 /* Assets.xcassets */; };
14+ 09BF41F91F07F71F00AFAD57 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 09BF41F71F07F71F00AFAD57 /* LaunchScreen.storyboard */; };
15+/* End PBXBuildFile section */
16+
17+/* Begin PBXFileReference section */
18+ 09BF41EB1F07F71F00AFAD57 /* Melk.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Melk.app; sourceTree = BUILT_PRODUCTS_DIR; };
19+ 09BF41EE1F07F71F00AFAD57 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
20+ 09BF41F01F07F71F00AFAD57 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
21+ 09BF41F31F07F71F00AFAD57 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
22+ 09BF41F51F07F71F00AFAD57 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
23+ 09BF41F81F07F71F00AFAD57 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
24+ 09BF41FA1F07F71F00AFAD57 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
25+/* End PBXFileReference section */
26+
27+/* Begin PBXFrameworksBuildPhase section */
28+ 09BF41E81F07F71F00AFAD57 /* Frameworks */ = {
29+ isa = PBXFrameworksBuildPhase;
30+ buildActionMask = 2147483647;
31+ files = (
32+ );
33+ runOnlyForDeploymentPostprocessing = 0;
34+ };
35+/* End PBXFrameworksBuildPhase section */
36+
37+/* Begin PBXGroup section */
38+ 09BF41E21F07F71F00AFAD57 = {
39+ isa = PBXGroup;
40+ children = (
41+ 09BF41ED1F07F71F00AFAD57 /* Melk */,
42+ 09BF41EC1F07F71F00AFAD57 /* Products */,
43+ );
44+ sourceTree = "<group>";
45+ };
46+ 09BF41EC1F07F71F00AFAD57 /* Products */ = {
47+ isa = PBXGroup;
48+ children = (
49+ 09BF41EB1F07F71F00AFAD57 /* Melk.app */,
50+ );
51+ name = Products;
52+ sourceTree = "<group>";
53+ };
54+ 09BF41ED1F07F71F00AFAD57 /* Melk */ = {
55+ isa = PBXGroup;
56+ children = (
57+ 09BF41EE1F07F71F00AFAD57 /* AppDelegate.swift */,
58+ 09BF41F01F07F71F00AFAD57 /* ViewController.swift */,
59+ 09BF41F21F07F71F00AFAD57 /* Main.storyboard */,
60+ 09BF41F51F07F71F00AFAD57 /* Assets.xcassets */,
61+ 09BF41F71F07F71F00AFAD57 /* LaunchScreen.storyboard */,
62+ 09BF41FA1F07F71F00AFAD57 /* Info.plist */,
63+ );
64+ path = Melk;
65+ sourceTree = "<group>";
66+ };
67+/* End PBXGroup section */
68+
69+/* Begin PBXNativeTarget section */
70+ 09BF41EA1F07F71F00AFAD57 /* Melk */ = {
71+ isa = PBXNativeTarget;
72+ buildConfigurationList = 09BF41FD1F07F71F00AFAD57 /* Build configuration list for PBXNativeTarget "Melk" */;
73+ buildPhases = (
74+ 09BF41E71F07F71F00AFAD57 /* Sources */,
75+ 09BF41E81F07F71F00AFAD57 /* Frameworks */,
76+ 09BF41E91F07F71F00AFAD57 /* Resources */,
77+ );
78+ buildRules = (
79+ );
80+ dependencies = (
81+ );
82+ name = Melk;
83+ productName = Melk;
84+ productReference = 09BF41EB1F07F71F00AFAD57 /* Melk.app */;
85+ productType = "com.apple.product-type.application";
86+ };
87+/* End PBXNativeTarget section */
88+
89+/* Begin PBXProject section */
90+ 09BF41E31F07F71F00AFAD57 /* Project object */ = {
91+ isa = PBXProject;
92+ attributes = {
93+ LastSwiftUpdateCheck = 0830;
94+ LastUpgradeCheck = 0830;
95+ ORGANIZATIONNAME = "Ilya Kos";
96+ TargetAttributes = {
97+ 09BF41EA1F07F71F00AFAD57 = {
98+ CreatedOnToolsVersion = 8.3.3;
99+ DevelopmentTeam = 8J63JZYYHZ;
100+ ProvisioningStyle = Automatic;
101+ };
102+ };
103+ };
104+ buildConfigurationList = 09BF41E61F07F71F00AFAD57 /* Build configuration list for PBXProject "Melk" */;
105+ compatibilityVersion = "Xcode 3.2";
106+ developmentRegion = English;
107+ hasScannedForEncodings = 0;
108+ knownRegions = (
109+ en,
110+ Base,
111+ );
112+ mainGroup = 09BF41E21F07F71F00AFAD57;
113+ productRefGroup = 09BF41EC1F07F71F00AFAD57 /* Products */;
114+ projectDirPath = "";
115+ projectRoot = "";
116+ targets = (
117+ 09BF41EA1F07F71F00AFAD57 /* Melk */,
118+ );
119+ };
120+/* End PBXProject section */
121+
122+/* Begin PBXResourcesBuildPhase section */
123+ 09BF41E91F07F71F00AFAD57 /* Resources */ = {
124+ isa = PBXResourcesBuildPhase;
125+ buildActionMask = 2147483647;
126+ files = (
127+ 09BF41F91F07F71F00AFAD57 /* LaunchScreen.storyboard in Resources */,
128+ 09BF41F61F07F71F00AFAD57 /* Assets.xcassets in Resources */,
129+ 09BF41F41F07F71F00AFAD57 /* Main.storyboard in Resources */,
130+ );
131+ runOnlyForDeploymentPostprocessing = 0;
132+ };
133+/* End PBXResourcesBuildPhase section */
134+
135+/* Begin PBXSourcesBuildPhase section */
136+ 09BF41E71F07F71F00AFAD57 /* Sources */ = {
137+ isa = PBXSourcesBuildPhase;
138+ buildActionMask = 2147483647;
139+ files = (
140+ 09BF41F11F07F71F00AFAD57 /* ViewController.swift in Sources */,
141+ 09BF41EF1F07F71F00AFAD57 /* AppDelegate.swift in Sources */,
142+ );
143+ runOnlyForDeploymentPostprocessing = 0;
144+ };
145+/* End PBXSourcesBuildPhase section */
146+
147+/* Begin PBXVariantGroup section */
148+ 09BF41F21F07F71F00AFAD57 /* Main.storyboard */ = {
149+ isa = PBXVariantGroup;
150+ children = (
151+ 09BF41F31F07F71F00AFAD57 /* Base */,
152+ );
153+ name = Main.storyboard;
154+ sourceTree = "<group>";
155+ };
156+ 09BF41F71F07F71F00AFAD57 /* LaunchScreen.storyboard */ = {
157+ isa = PBXVariantGroup;
158+ children = (
159+ 09BF41F81F07F71F00AFAD57 /* Base */,
160+ );
161+ name = LaunchScreen.storyboard;
162+ sourceTree = "<group>";
163+ };
164+/* End PBXVariantGroup section */
165+
166+/* Begin XCBuildConfiguration section */
167+ 09BF41FB1F07F71F00AFAD57 /* Debug */ = {
168+ isa = XCBuildConfiguration;
169+ buildSettings = {
170+ ALWAYS_SEARCH_USER_PATHS = NO;
171+ CLANG_ANALYZER_NONNULL = YES;
172+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
173+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
174+ CLANG_CXX_LIBRARY = "libc++";
175+ CLANG_ENABLE_MODULES = YES;
176+ CLANG_ENABLE_OBJC_ARC = YES;
177+ CLANG_WARN_BOOL_CONVERSION = YES;
178+ CLANG_WARN_CONSTANT_CONVERSION = YES;
179+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
180+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
181+ CLANG_WARN_EMPTY_BODY = YES;
182+ CLANG_WARN_ENUM_CONVERSION = YES;
183+ CLANG_WARN_INFINITE_RECURSION = YES;
184+ CLANG_WARN_INT_CONVERSION = YES;
185+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
186+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
187+ CLANG_WARN_UNREACHABLE_CODE = YES;
188+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
189+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
190+ COPY_PHASE_STRIP = NO;
191+ DEBUG_INFORMATION_FORMAT = dwarf;
192+ ENABLE_STRICT_OBJC_MSGSEND = YES;
193+ ENABLE_TESTABILITY = YES;
194+ GCC_C_LANGUAGE_STANDARD = gnu99;
195+ GCC_DYNAMIC_NO_PIC = NO;
196+ GCC_NO_COMMON_BLOCKS = YES;
197+ GCC_OPTIMIZATION_LEVEL = 0;
198+ GCC_PREPROCESSOR_DEFINITIONS = (
199+ "DEBUG=1",
200+ "$(inherited)",
201+ );
202+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
203+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
204+ GCC_WARN_UNDECLARED_SELECTOR = YES;
205+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
206+ GCC_WARN_UNUSED_FUNCTION = YES;
207+ GCC_WARN_UNUSED_VARIABLE = YES;
208+ IPHONEOS_DEPLOYMENT_TARGET = 10.3;
209+ MTL_ENABLE_DEBUG_INFO = YES;
210+ ONLY_ACTIVE_ARCH = YES;
211+ SDKROOT = iphoneos;
212+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
213+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
214+ };
215+ name = Debug;
216+ };
217+ 09BF41FC1F07F71F00AFAD57 /* Release */ = {
218+ isa = XCBuildConfiguration;
219+ buildSettings = {
220+ ALWAYS_SEARCH_USER_PATHS = NO;
221+ CLANG_ANALYZER_NONNULL = YES;
222+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
223+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
224+ CLANG_CXX_LIBRARY = "libc++";
225+ CLANG_ENABLE_MODULES = YES;
226+ CLANG_ENABLE_OBJC_ARC = YES;
227+ CLANG_WARN_BOOL_CONVERSION = YES;
228+ CLANG_WARN_CONSTANT_CONVERSION = YES;
229+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
230+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
231+ CLANG_WARN_EMPTY_BODY = YES;
232+ CLANG_WARN_ENUM_CONVERSION = YES;
233+ CLANG_WARN_INFINITE_RECURSION = YES;
234+ CLANG_WARN_INT_CONVERSION = YES;
235+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
236+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
237+ CLANG_WARN_UNREACHABLE_CODE = YES;
238+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
239+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
240+ COPY_PHASE_STRIP = NO;
241+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
242+ ENABLE_NS_ASSERTIONS = NO;
243+ ENABLE_STRICT_OBJC_MSGSEND = YES;
244+ GCC_C_LANGUAGE_STANDARD = gnu99;
245+ GCC_NO_COMMON_BLOCKS = YES;
246+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
247+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
248+ GCC_WARN_UNDECLARED_SELECTOR = YES;
249+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
250+ GCC_WARN_UNUSED_FUNCTION = YES;
251+ GCC_WARN_UNUSED_VARIABLE = YES;
252+ IPHONEOS_DEPLOYMENT_TARGET = 10.3;
253+ MTL_ENABLE_DEBUG_INFO = NO;
254+ SDKROOT = iphoneos;
255+ SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
256+ VALIDATE_PRODUCT = YES;
257+ };
258+ name = Release;
259+ };
260+ 09BF41FE1F07F71F00AFAD57 /* Debug */ = {
261+ isa = XCBuildConfiguration;
262+ buildSettings = {
263+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
264+ DEVELOPMENT_TEAM = 8J63JZYYHZ;
265+ INFOPLIST_FILE = Melk/Info.plist;
266+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
267+ PRODUCT_BUNDLE_IDENTIFIER = com.ilyakooo0.Melk;
268+ PRODUCT_NAME = "$(TARGET_NAME)";
269+ SWIFT_VERSION = 3.0;
270+ };
271+ name = Debug;
272+ };
273+ 09BF41FF1F07F71F00AFAD57 /* Release */ = {
274+ isa = XCBuildConfiguration;
275+ buildSettings = {
276+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
277+ DEVELOPMENT_TEAM = 8J63JZYYHZ;
278+ INFOPLIST_FILE = Melk/Info.plist;
279+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
280+ PRODUCT_BUNDLE_IDENTIFIER = com.ilyakooo0.Melk;
281+ PRODUCT_NAME = "$(TARGET_NAME)";
282+ SWIFT_VERSION = 3.0;
283+ };
284+ name = Release;
285+ };
286+/* End XCBuildConfiguration section */
287+
288+/* Begin XCConfigurationList section */
289+ 09BF41E61F07F71F00AFAD57 /* Build configuration list for PBXProject "Melk" */ = {
290+ isa = XCConfigurationList;
291+ buildConfigurations = (
292+ 09BF41FB1F07F71F00AFAD57 /* Debug */,
293+ 09BF41FC1F07F71F00AFAD57 /* Release */,
294+ );
295+ defaultConfigurationIsVisible = 0;
296+ defaultConfigurationName = Release;
297+ };
298+ 09BF41FD1F07F71F00AFAD57 /* Build configuration list for PBXNativeTarget "Melk" */ = {
299+ isa = XCConfigurationList;
300+ buildConfigurations = (
301+ 09BF41FE1F07F71F00AFAD57 /* Debug */,
302+ 09BF41FF1F07F71F00AFAD57 /* Release */,
303+ );
304+ defaultConfigurationIsVisible = 0;
305+ };
306+/* End XCConfigurationList section */
307+ };
308+ rootObject = 09BF41E31F07F71F00AFAD57 /* Project object */;
309+}
Melk.xcodeproj/project.xcworkspace/contents.xcworkspacedatanew file+7
@@ -0,0 +1,7 @@
1+<?xml version="1.0" encoding="UTF-8"?>
2+<Workspace
3+ version = "1.0">
4+ <FileRef
5+ location = "self:Melk.xcodeproj">
6+ </FileRef>
7+</Workspace>
Melk.xcodeproj/xcuserdata/ilya.xcuserdatad/xcschemes/Melk.xcschemenew file+91
@@ -0,0 +1,91 @@
1+<?xml version="1.0" encoding="UTF-8"?>
2+<Scheme
3+ LastUpgradeVersion = "0830"
4+ version = "1.3">
5+ <BuildAction
6+ parallelizeBuildables = "YES"
7+ buildImplicitDependencies = "YES">
8+ <BuildActionEntries>
9+ <BuildActionEntry
10+ buildForTesting = "YES"
11+ buildForRunning = "YES"
12+ buildForProfiling = "YES"
13+ buildForArchiving = "YES"
14+ buildForAnalyzing = "YES">
15+ <BuildableReference
16+ BuildableIdentifier = "primary"
17+ BlueprintIdentifier = "09BF41EA1F07F71F00AFAD57"
18+ BuildableName = "Melk.app"
19+ BlueprintName = "Melk"
20+ ReferencedContainer = "container:Melk.xcodeproj">
21+ </BuildableReference>
22+ </BuildActionEntry>
23+ </BuildActionEntries>
24+ </BuildAction>
25+ <TestAction
26+ buildConfiguration = "Debug"
27+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+ shouldUseLaunchSchemeArgsEnv = "YES">
30+ <Testables>
31+ </Testables>
32+ <MacroExpansion>
33+ <BuildableReference
34+ BuildableIdentifier = "primary"
35+ BlueprintIdentifier = "09BF41EA1F07F71F00AFAD57"
36+ BuildableName = "Melk.app"
37+ BlueprintName = "Melk"
38+ ReferencedContainer = "container:Melk.xcodeproj">
39+ </BuildableReference>
40+ </MacroExpansion>
41+ <AdditionalOptions>
42+ </AdditionalOptions>
43+ </TestAction>
44+ <LaunchAction
45+ buildConfiguration = "Debug"
46+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
47+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
48+ launchStyle = "0"
49+ useCustomWorkingDirectory = "NO"
50+ ignoresPersistentStateOnLaunch = "NO"
51+ debugDocumentVersioning = "YES"
52+ debugServiceExtension = "internal"
53+ allowLocationSimulation = "YES">
54+ <BuildableProductRunnable
55+ runnableDebuggingMode = "0">
56+ <BuildableReference
57+ BuildableIdentifier = "primary"
58+ BlueprintIdentifier = "09BF41EA1F07F71F00AFAD57"
59+ BuildableName = "Melk.app"
60+ BlueprintName = "Melk"
61+ ReferencedContainer = "container:Melk.xcodeproj">
62+ </BuildableReference>
63+ </BuildableProductRunnable>
64+ <AdditionalOptions>
65+ </AdditionalOptions>
66+ </LaunchAction>
67+ <ProfileAction
68+ buildConfiguration = "Release"
69+ shouldUseLaunchSchemeArgsEnv = "YES"
70+ savedToolIdentifier = ""
71+ useCustomWorkingDirectory = "NO"
72+ debugDocumentVersioning = "YES">
73+ <BuildableProductRunnable
74+ runnableDebuggingMode = "0">
75+ <BuildableReference
76+ BuildableIdentifier = "primary"
77+ BlueprintIdentifier = "09BF41EA1F07F71F00AFAD57"
78+ BuildableName = "Melk.app"
79+ BlueprintName = "Melk"
80+ ReferencedContainer = "container:Melk.xcodeproj">
81+ </BuildableReference>
82+ </BuildableProductRunnable>
83+ </ProfileAction>
84+ <AnalyzeAction
85+ buildConfiguration = "Debug">
86+ </AnalyzeAction>
87+ <ArchiveAction
88+ buildConfiguration = "Release"
89+ revealArchiveInOrganizer = "YES">
90+ </ArchiveAction>
91+</Scheme>
Melk.xcodeproj/xcuserdata/ilya.xcuserdatad/xcschemes/xcschememanagement.plistnew file+22
@@ -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>SchemeUserState</key>
6+ <dict>
7+ <key>Melk.xcscheme</key>
8+ <dict>
9+ <key>orderHint</key>
10+ <integer>0</integer>
11+ </dict>
12+ </dict>
13+ <key>SuppressBuildableAutocreation</key>
14+ <dict>
15+ <key>09BF41EA1F07F71F00AFAD57</key>
16+ <dict>
17+ <key>primary</key>
18+ <true/>
19+ </dict>
20+ </dict>
21+</dict>
22+</plist>
Melk/AppDelegate.swiftnew file+46
@@ -0,0 +1,46 @@
1+//
2+// AppDelegate.swift
3+// Melk
4+//
5+// Created by Ilya Kos on 7/1/17.
6+// Copyright © 2017 Ilya Kos. All rights reserved.
7+//
8+
9+import UIKit
10+
11+@UIApplicationMain
12+class AppDelegate: UIResponder, UIApplicationDelegate {
13+
14+ var window: UIWindow?
15+
16+
17+ func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
18+ // Override point for customization after application launch.
19+ return true
20+ }
21+
22+ func applicationWillResignActive(_ application: UIApplication) {
23+ // 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.
24+ // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
25+ }
26+
27+ func applicationDidEnterBackground(_ application: UIApplication) {
28+ // 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.
29+ // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30+ }
31+
32+ func applicationWillEnterForeground(_ application: UIApplication) {
33+ // 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.
34+ }
35+
36+ func applicationDidBecomeActive(_ application: UIApplication) {
37+ // 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.
38+ }
39+
40+ func applicationWillTerminate(_ application: UIApplication) {
41+ // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42+ }
43+
44+
45+}
46+
Melk/Assets.xcassets/AppIcon.appiconset/Contents.jsonnew file+38
@@ -0,0 +1,38 @@
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+ "info" : {
35+ "version" : 1,
36+ "author" : "xcode"
37+ }
38+}
Melk/Base.lproj/LaunchScreen.storyboardnew file+27
@@ -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>
Melk/Base.lproj/Main.storyboardnew file+26
@@ -0,0 +1,26 @@
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" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
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="tne-QT-ifu">
10+ <objects>
11+ <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
12+ <layoutGuides>
13+ <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
14+ <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
15+ </layoutGuides>
16+ <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
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="dkx-z0-nzr" sceneMemberID="firstResponder"/>
23+ </objects>
24+ </scene>
25+ </scenes>
26+</document>
Melk/Info.plistnew file+38
@@ -0,0 +1,38 @@
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+</dict>
38+</plist>
Melk/ViewController.swiftnew file+25
@@ -0,0 +1,25 @@
1+//
2+// ViewController.swift
3+// Melk
4+//
5+// Created by Ilya Kos on 7/1/17.
6+// Copyright © 2017 Ilya Kos. All rights reserved.
7+//
8+
9+import UIKit
10+
11+class ViewController: UIViewController {
12+
13+ override func viewDidLoad() {
14+ super.viewDidLoad()
15+ // Do any additional setup after loading the view, typically from a nib.
16+ }
17+
18+ override func didReceiveMemoryWarning() {
19+ super.didReceiveMemoryWarning()
20+ // Dispose of any resources that can be recreated.
21+ }
22+
23+
24+}
25+