Coding

profileblablabla
Test1.zip

Test1/.DS_Store

__MACOSX/Test1/._.DS_Store

Test1/.git/COMMIT_EDITMSG

Initial Commit

__MACOSX/Test1/.git/._COMMIT_EDITMSG

Test1/.git/config

[core] bare = false repositoryformatversion = 0 filemode = true ignorecase = true precomposeunicode = true logallrefupdates = true

__MACOSX/Test1/.git/._config

Test1/.git/description

Unnamed repository; edit this file 'description' to name the repository.

__MACOSX/Test1/.git/._description

Test1/.git/HEAD

ref: refs/heads/master

__MACOSX/Test1/.git/._HEAD

Test1/.git/hooks/README.sample

#!/bin/sh # # Place appropriately named executable hook scripts into this directory # to intercept various actions that git takes. See `git help hooks` for # more information.

__MACOSX/Test1/.git/hooks/._README.sample

__MACOSX/Test1/.git/._hooks

Test1/.git/index

__MACOSX/Test1/.git/._index

Test1/.git/info/exclude

.DS_Store UserInterfaceState.xcuserstate

__MACOSX/Test1/.git/info/._exclude

__MACOSX/Test1/.git/._info

Test1/.git/logs/HEAD

0000000000000000000000000000000000000000 af4e95d57a2fd01cac5600db7ab09d95bd1e1ff2 pawluk <[email protected]> 1518456883 -0500 commit (initial): Initial Commit

__MACOSX/Test1/.git/logs/._HEAD

Test1/.git/logs/refs/heads/master

0000000000000000000000000000000000000000 af4e95d57a2fd01cac5600db7ab09d95bd1e1ff2 pawluk <[email protected]> 1518456883 -0500 commit (initial): Initial Commit

__MACOSX/Test1/.git/logs/refs/heads/._master

__MACOSX/Test1/.git/logs/refs/._heads

__MACOSX/Test1/.git/logs/._refs

__MACOSX/Test1/.git/._logs

Test1/.git/objects/02/05216870def9da1d7ab5577bbb5d8a81696842

Test1/.git/objects/02/05216870def9da1d7ab5577bbb5d8a81696842

blob 477�<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>SchemeUserState</key> <dict> <key>Test1.xcscheme</key> <dict> <key>orderHint</key> <integer>0</integer> </dict> </dict> <key>SuppressBuildableAutocreation</key> <dict> <key>18AE7614203207B0005AAE38</key> <dict> <key>primary</key> <true/> </dict> </dict> </dict> </plist>

__MACOSX/Test1/.git/objects/02/._05216870def9da1d7ab5577bbb5d8a81696842

__MACOSX/Test1/.git/objects/._02

Test1/.git/objects/11/8c98f7461bf98b2bc7e061150d8021121ad277

Test1/.git/objects/11/8c98f7461bf98b2bc7e061150d8021121ad277

blob 585�{ "images" : [ { "idiom" : "iphone", "size" : "29x29", "scale" : "2x" }, { "idiom" : "iphone", "size" : "29x29", "scale" : "3x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "2x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "3x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "2x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "3x" } ], "info" : { "version" : 1, "author" : "xcode" } }

__MACOSX/Test1/.git/objects/11/._8c98f7461bf98b2bc7e061150d8021121ad277

__MACOSX/Test1/.git/objects/._11

Test1/.git/objects/24/f38ee0f1ef03d6c91710748447345931059d6b

Test1/.git/objects/24/f38ee0f1ef03d6c91710748447345931059d6b

__MACOSX/Test1/.git/objects/24/._f38ee0f1ef03d6c91710748447345931059d6b

__MACOSX/Test1/.git/objects/._24

Test1/.git/objects/25/fdb54e4046c888513a5e7be17a7f2615568580

Test1/.git/objects/25/fdb54e4046c888513a5e7be17a7f2615568580

__MACOSX/Test1/.git/objects/25/._fdb54e4046c888513a5e7be17a7f2615568580

__MACOSX/Test1/.git/objects/._25

Test1/.git/objects/27/890816a709088d8e9ba7467047662c426c61c2

Test1/.git/objects/27/890816a709088d8e9ba7467047662c426c61c2

__MACOSX/Test1/.git/objects/27/._890816a709088d8e9ba7467047662c426c61c2

__MACOSX/Test1/.git/objects/._27

Test1/.git/objects/2b/74bbbcfcb48028ee58e92695654310ea6b328d

Test1/.git/objects/2b/74bbbcfcb48028ee58e92695654310ea6b328d

blob 150�<?xml version="1.0" encoding="UTF-8"?> <Workspace version = "1.0"> <FileRef location = "self:Test1.xcodeproj"> </FileRef> </Workspace>

__MACOSX/Test1/.git/objects/2b/._74bbbcfcb48028ee58e92695654310ea6b328d

__MACOSX/Test1/.git/objects/._2b

Test1/.git/objects/2c/3f0836211113c0daaa8e3388663db58084a836

Test1/.git/objects/2c/3f0836211113c0daaa8e3388663db58084a836

__MACOSX/Test1/.git/objects/2c/._3f0836211113c0daaa8e3388663db58084a836

__MACOSX/Test1/.git/objects/._2c

Test1/.git/objects/2e/721e1833f03bb0e1b962a84491d7e43e3fef9c

Test1/.git/objects/2e/721e1833f03bb0e1b962a84491d7e43e3fef9c

blob 1664�<?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8150" systemVersion="15A204g" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM"> <dependencies> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8122"/> </dependencies> <scenes> <!--View Controller--> <scene sceneID="EHf-IW-A2E"> <objects> <viewController id="01J-lp-oVM" sceneMemberID="viewController"> <layoutGuides> <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/> <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/> </layoutGuides> <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3"> <rect key="frame" x="0.0" y="0.0" width="600" height="600"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <animations/> <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> </view> </viewController> <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/> </objects> <point key="canvasLocation" x="53" y="375"/> </scene> </scenes> </document>

__MACOSX/Test1/.git/objects/2e/._721e1833f03bb0e1b962a84491d7e43e3fef9c

__MACOSX/Test1/.git/objects/._2e

Test1/.git/objects/3a/2a49bad8c615d719f891998e537cd29a001ec0

Test1/.git/objects/3a/2a49bad8c615d719f891998e537cd29a001ec0

blob 1581�<?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r"> <dependencies> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/> </dependencies> <scenes> <!--View Controller--> <scene sceneID="tne-QT-ifu"> <objects> <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController"> <layoutGuides> <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/> <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/> </layoutGuides> <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC"> <rect key="frame" x="0.0" y="0.0" width="600" height="600"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> </view> </viewController> <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/> </objects> </scene> </scenes> </document>

__MACOSX/Test1/.git/objects/3a/._2a49bad8c615d719f891998e537cd29a001ec0

__MACOSX/Test1/.git/objects/._3a

Test1/.git/objects/5a/9e226901a4853d4ffe020ee5bc4f7b8d3f8e0a

Test1/.git/objects/5a/9e226901a4853d4ffe020ee5bc4f7b8d3f8e0a

__MACOSX/Test1/.git/objects/5a/._9e226901a4853d4ffe020ee5bc4f7b8d3f8e0a

__MACOSX/Test1/.git/objects/._5a

Test1/.git/objects/68/f5e20a698b438749de5b8d933b5cc49e4cb725

Test1/.git/objects/68/f5e20a698b438749de5b8d933b5cc49e4cb725

__MACOSX/Test1/.git/objects/68/._f5e20a698b438749de5b8d933b5cc49e4cb725

__MACOSX/Test1/.git/objects/._68

Test1/.git/objects/69/05cc67bbf738499f2accb4b56f5f1ddc8ce444

Test1/.git/objects/69/05cc67bbf738499f2accb4b56f5f1ddc8ce444

blob 1205�<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleExecutable</key> <string>$(EXECUTABLE_NAME)</string> <key>CFBundleIdentifier</key> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>$(PRODUCT_NAME)</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string>1.0</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>1</string> <key>LSRequiresIPhoneOS</key> <true/> <key>UILaunchStoryboardName</key> <string>LaunchScreen</string> <key>UIMainStoryboardFile</key> <string>Main</string> <key>UIRequiredDeviceCapabilities</key> <array> <string>armv7</string> </array> <key>UISupportedInterfaceOrientations</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeRight</string> </array> </dict> </plist>

__MACOSX/Test1/.git/objects/69/._05cc67bbf738499f2accb4b56f5f1ddc8ce444

__MACOSX/Test1/.git/objects/._69

Test1/.git/objects/6c/8c7dab258480f3369cb6079f5c82d6a901f0f0

Test1/.git/objects/6c/8c7dab258480f3369cb6079f5c82d6a901f0f0

blob 177�// // MidtermTest.swift // Test1 // // Created by pawluk on 2018-02-12. // Copyright © 2018 pawluk. All rights reserved. // import Cocoa class MidtermTest: NSObject { }

__MACOSX/Test1/.git/objects/6c/._8c7dab258480f3369cb6079f5c82d6a901f0f0

__MACOSX/Test1/.git/objects/._6c

Test1/.git/objects/72/a452f4d2e3abaa5de386190520e2d97f73c9e3

Test1/.git/objects/72/a452f4d2e3abaa5de386190520e2d97f73c9e3

blob 495�// // ViewController.swift // Test1 // // Created by pawluk on 2018-02-12. // Copyright © 2018 pawluk. All rights reserved. // import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view, typically from a nib. } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. } }

__MACOSX/Test1/.git/objects/72/._a452f4d2e3abaa5de386190520e2d97f73c9e3

__MACOSX/Test1/.git/objects/._72

Test1/.git/objects/95/bf7f42b7757b3076a7d2f5afc476488f6613e0

Test1/.git/objects/95/bf7f42b7757b3076a7d2f5afc476488f6613e0

__MACOSX/Test1/.git/objects/95/._bf7f42b7757b3076a7d2f5afc476488f6613e0

__MACOSX/Test1/.git/objects/._95

Test1/.git/objects/a2/3b5d7f76f26a10e0c9e7f8b63cf6174423f766

Test1/.git/objects/a2/3b5d7f76f26a10e0c9e7f8b63cf6174423f766

__MACOSX/Test1/.git/objects/a2/._3b5d7f76f26a10e0c9e7f8b63cf6174423f766

__MACOSX/Test1/.git/objects/._a2

Test1/.git/objects/af/4e95d57a2fd01cac5600db7ab09d95bd1e1ff2

Test1/.git/objects/af/4e95d57a2fd01cac5600db7ab09d95bd1e1ff2

commit 165�tree 68f5e20a698b438749de5b8d933b5cc49e4cb725 author pawluk <[email protected]> 1518456883 -0500 committer pawluk <[email protected]> 1518456883 -0500 Initial Commit

__MACOSX/Test1/.git/objects/af/._4e95d57a2fd01cac5600db7ab09d95bd1e1ff2

__MACOSX/Test1/.git/objects/._af

Test1/.git/objects/c2/c817ccf3a2ed8fce0dc819116d7a0b8581fac1

Test1/.git/objects/c2/c817ccf3a2ed8fce0dc819116d7a0b8581fac1

__MACOSX/Test1/.git/objects/c2/._c817ccf3a2ed8fce0dc819116d7a0b8581fac1

__MACOSX/Test1/.git/objects/._c2

Test1/.git/objects/c3/90608a431cb6a930b147610067cb783fedc11b

Test1/.git/objects/c3/90608a431cb6a930b147610067cb783fedc11b

blob 3279�<?xml version="1.0" encoding="UTF-8"?> <Scheme LastUpgradeVersion = "0720" version = "1.3"> <BuildAction parallelizeBuildables = "YES" buildImplicitDependencies = "YES"> <BuildActionEntries> <BuildActionEntry buildForTesting = "YES" buildForRunning = "YES" buildForProfiling = "YES" buildForArchiving = "YES" buildForAnalyzing = "YES"> <BuildableReference BuildableIdentifier = "primary" BlueprintIdentifier = "18AE7614203207B0005AAE38" BuildableName = "Test1.app" BlueprintName = "Test1" ReferencedContainer = "container:Test1.xcodeproj"> </BuildableReference> </BuildActionEntry> </BuildActionEntries> </BuildAction> <TestAction buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES"> <Testables> </Testables> <MacroExpansion> <BuildableReference BuildableIdentifier = "primary" BlueprintIdentifier = "18AE7614203207B0005AAE38" BuildableName = "Test1.app" BlueprintName = "Test1" ReferencedContainer = "container:Test1.xcodeproj"> </BuildableReference> </MacroExpansion> <AdditionalOptions> </AdditionalOptions> </TestAction> <LaunchAction buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" debugDocumentVersioning = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> <BuildableProductRunnable runnableDebuggingMode = "0"> <BuildableReference BuildableIdentifier = "primary" BlueprintIdentifier = "18AE7614203207B0005AAE38" BuildableName = "Test1.app" BlueprintName = "Test1" ReferencedContainer = "container:Test1.xcodeproj"> </BuildableReference> </BuildableProductRunnable> <AdditionalOptions> </AdditionalOptions> </LaunchAction> <ProfileAction buildConfiguration = "Release" shouldUseLaunchSchemeArgsEnv = "YES" savedToolIdentifier = "" useCustomWorkingDirectory = "NO" debugDocumentVersioning = "YES"> <BuildableProductRunnable runnableDebuggingMode = "0"> <BuildableReference BuildableIdentifier = "primary" BlueprintIdentifier = "18AE7614203207B0005AAE38" BuildableName = "Test1.app" BlueprintName = "Test1" ReferencedContainer = "container:Test1.xcodeproj"> </BuildableReference> </BuildableProductRunnable> </ProfileAction> <AnalyzeAction buildConfiguration = "Debug"> </AnalyzeAction> <ArchiveAction buildConfiguration = "Release" revealArchiveInOrganizer = "YES"> </ArchiveAction> </Scheme>

__MACOSX/Test1/.git/objects/c3/._90608a431cb6a930b147610067cb783fedc11b

__MACOSX/Test1/.git/objects/._c3

Test1/.git/objects/ce/92c7fb8d0858361ba423f98e8633d8b6bd7b72

Test1/.git/objects/ce/92c7fb8d0858361ba423f98e8633d8b6bd7b72

blob 2133�// // AppDelegate.swift // Test1 // // Created by pawluk on 2018-02-12. // Copyright © 2018 pawluk. All rights reserved. // import UIKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { // Override point for customization after application launch. return true } func applicationWillResignActive(application: UIApplication) { // 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. // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. } func applicationDidEnterBackground(application: UIApplication) { // 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. // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. } func applicationWillEnterForeground(application: UIApplication) { // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. } func applicationDidBecomeActive(application: UIApplication) { // 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. } func applicationWillTerminate(application: UIApplication) { // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. } }

__MACOSX/Test1/.git/objects/ce/._92c7fb8d0858361ba423f98e8633d8b6bd7b72

__MACOSX/Test1/.git/objects/._ce

Test1/.git/objects/ea/b616f0e8f4487791d50e620e6df67037c621da

Test1/.git/objects/ea/b616f0e8f4487791d50e620e6df67037c621da

__MACOSX/Test1/.git/objects/ea/._b616f0e8f4487791d50e620e6df67037c621da

__MACOSX/Test1/.git/objects/._ea

Test1/.git/objects/f0/16035f1eb14c312c061969ab8077085baaceb3

Test1/.git/objects/f0/16035f1eb14c312c061969ab8077085baaceb3

blob 10583�// !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 46; objects = { /* Begin PBXBuildFile section */ 18AE7619203207B0005AAE38 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18AE7618203207B0005AAE38 /* AppDelegate.swift */; }; 18AE761B203207B0005AAE38 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18AE761A203207B0005AAE38 /* ViewController.swift */; }; 18AE761E203207B0005AAE38 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 18AE761C203207B0005AAE38 /* Main.storyboard */; }; 18AE7620203207B0005AAE38 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 18AE761F203207B0005AAE38 /* Assets.xcassets */; }; 18AE7623203207B0005AAE38 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 18AE7621203207B0005AAE38 /* LaunchScreen.storyboard */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ 18AE7615203207B0005AAE38 /* Test1.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Test1.app; sourceTree = BUILT_PRODUCTS_DIR; }; 18AE7618203207B0005AAE38 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; 18AE761A203207B0005AAE38 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; }; 18AE761D203207B0005AAE38 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; 18AE761F203207B0005AAE38 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; 18AE7622203207B0005AAE38 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; 18AE7624203207B0005AAE38 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ 18AE7612203207B0005AAE38 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ 18AE760C203207B0005AAE38 = { isa = PBXGroup; children = ( 18AE7617203207B0005AAE38 /* Test1 */, 18AE7616203207B0005AAE38 /* Products */, ); sourceTree = "<group>"; }; 18AE7616203207B0005AAE38 /* Products */ = { isa = PBXGroup; children = ( 18AE7615203207B0005AAE38 /* Test1.app */, ); name = Products; sourceTree = "<group>"; }; 18AE7617203207B0005AAE38 /* Test1 */ = { isa = PBXGroup; children = ( 18AE7618203207B0005AAE38 /* AppDelegate.swift */, 18AE761A203207B0005AAE38 /* ViewController.swift */, 18AE761C203207B0005AAE38 /* Main.storyboard */, 18AE761F203207B0005AAE38 /* Assets.xcassets */, 18AE7621203207B0005AAE38 /* LaunchScreen.storyboard */, 18AE7624203207B0005AAE38 /* Info.plist */, ); path = Test1; sourceTree = "<group>"; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ 18AE7614203207B0005AAE38 /* Test1 */ = { isa = PBXNativeTarget; buildConfigurationList = 18AE7627203207B0005AAE38 /* Build configuration list for PBXNativeTarget "Test1" */; buildPhases = ( 18AE7611203207B0005AAE38 /* Sources */, 18AE7612203207B0005AAE38 /* Frameworks */, 18AE7613203207B0005AAE38 /* Resources */, ); buildRules = ( ); dependencies = ( ); name = Test1; productName = Test1; productReference = 18AE7615203207B0005AAE38 /* Test1.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ 18AE760D203207B0005AAE38 /* Project object */ = { isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0720; LastUpgradeCheck = 0720; ORGANIZATIONNAME = pawluk; TargetAttributes = { 18AE7614203207B0005AAE38 = { CreatedOnToolsVersion = 7.2; DevelopmentTeam = KL8T7U99AQ; }; }; }; buildConfigurationList = 18AE7610203207B0005AAE38 /* Build configuration list for PBXProject "Test1" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( en, Base, ); mainGroup = 18AE760C203207B0005AAE38; productRefGroup = 18AE7616203207B0005AAE38 /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( 18AE7614203207B0005AAE38 /* Test1 */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ 18AE7613203207B0005AAE38 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( 18AE7623203207B0005AAE38 /* LaunchScreen.storyboard in Resources */, 18AE7620203207B0005AAE38 /* Assets.xcassets in Resources */, 18AE761E203207B0005AAE38 /* Main.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ 18AE7611203207B0005AAE38 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 18AE761B203207B0005AAE38 /* ViewController.swift in Sources */, 18AE7619203207B0005AAE38 /* AppDelegate.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXVariantGroup section */ 18AE761C203207B0005AAE38 /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( 18AE761D203207B0005AAE38 /* Base */, ); name = Main.storyboard; sourceTree = "<group>"; }; 18AE7621203207B0005AAE38 /* LaunchScreen.storyboard */ = { isa = PBXVariantGroup; children = ( 18AE7622203207B0005AAE38 /* Base */, ); name = LaunchScreen.storyboard; sourceTree = "<group>"; }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ 18AE7625203207B0005AAE38 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.2; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; }; name = Debug; }; 18AE7626203207B0005AAE38 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.2; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; }; name = Release; }; 18AE7628203207B0005AAE38 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = Test1/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.ppawluk.Test1; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; }; 18AE7629203207B0005AAE38 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = Test1/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.ppawluk.Test1; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ 18AE7610203207B0005AAE38 /* Build configuration list for PBXProject "Test1" */ = { isa = XCConfigurationList; buildConfigurations = ( 18AE7625203207B0005AAE38 /* Debug */, 18AE7626203207B0005AAE38 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; 18AE7627203207B0005AAE38 /* Build configuration list for PBXNativeTarget "Test1" */ = { isa = XCConfigurationList; buildConfigurations = ( 18AE7628203207B0005AAE38 /* Debug */, 18AE7629203207B0005AAE38 /* Release */, ); defaultConfigurationIsVisible = 0; }; /* End XCConfigurationList section */ }; rootObject = 18AE760D203207B0005AAE38 /* Project object */; }

__MACOSX/Test1/.git/objects/f0/._16035f1eb14c312c061969ab8077085baaceb3

__MACOSX/Test1/.git/objects/._f0

__MACOSX/Test1/.git/objects/._info

__MACOSX/Test1/.git/objects/._pack

__MACOSX/Test1/.git/._objects

Test1/.git/refs/heads/master

af4e95d57a2fd01cac5600db7ab09d95bd1e1ff2

__MACOSX/Test1/.git/refs/heads/._master

__MACOSX/Test1/.git/refs/._heads

__MACOSX/Test1/.git/refs/._tags

__MACOSX/Test1/.git/._refs

__MACOSX/Test1/._.git

Test1/Test1/AppDelegate.swift

// // AppDelegate.swift // Test1 // // Created by pawluk on 2018-02-12. // Copyright © 2018 pawluk. All rights reserved. // import UIKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { // Override point for customization after application launch. return true } func applicationWillResignActive(application: UIApplication) { // 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. // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. } func applicationDidEnterBackground(application: UIApplication) { // 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. // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. } func applicationWillEnterForeground(application: UIApplication) { // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. } func applicationDidBecomeActive(application: UIApplication) { // 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. } func applicationWillTerminate(application: UIApplication) { // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. } }

__MACOSX/Test1/Test1/._AppDelegate.swift

Test1/Test1/Assets.xcassets/AppIcon.appiconset/Contents.json

{ "images" : [ { "idiom" : "iphone", "size" : "29x29", "scale" : "2x" }, { "idiom" : "iphone", "size" : "29x29", "scale" : "3x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "2x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "3x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "2x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "3x" } ], "info" : { "version" : 1, "author" : "xcode" } }

__MACOSX/Test1/Test1/Assets.xcassets/AppIcon.appiconset/._Contents.json

__MACOSX/Test1/Test1/Assets.xcassets/._AppIcon.appiconset

__MACOSX/Test1/Test1/._Assets.xcassets

Test1/Test1/Base.lproj/LaunchScreen.storyboard

__MACOSX/Test1/Test1/Base.lproj/._LaunchScreen.storyboard

Test1/Test1/Base.lproj/Main.storyboard

__MACOSX/Test1/Test1/Base.lproj/._Main.storyboard

__MACOSX/Test1/Test1/._Base.lproj

Test1/Test1/Info.plist

__MACOSX/Test1/Test1/._Info.plist

Test1/Test1/MidtermTest.swift

// // MidtermTest.swift // Test1 // // Created by pawluk on 2018-02-12. // Copyright © 2018 PPawluk. All rights reserved. // /*************** NOTE ****************** DO NOT MODIFY THE SIGNATURES OF THE METHODS! IF YOU DO SO, YOUR CODE WILL NOT COMPILE! YOUR CODE HAS TO COMPILE! CODE THAT DOES NOT COMPILE RECEIVES AUTOMATIC 0 RUN ALL THE TEST BEFORE SUBMISSION! *****************************************/ import UIKit public class MidtermTest { private var records:[String:[String:Int]] = [String:[String:Int]]() public func addStudent(sId:String){ /** TO DO ** ADD NEW STUDENT ID TO THE LIST OF STUDENTS WITH AN EMPTY RECORD ****/ //let s4 = records as! sId //self.addStudent[sId] = s4 //if array.isEmpty {return nil} //records.append("s4") } public func addCourse(sId: String, record:(course:String,mark:Int)){ /** TO DO ** 1. FIND STUDENT RECORD 2A. IF IT EXISTS ADD NEW MARK TO THE RECORD 2B. IF IT DOES NOT EXIST, ADD STUDENT AND ADD RECORD ****/ } public func getStudents()->[String]?{ /** return a list of student ids (keys from the records dictionary if records are empty, empty list is returned */ var list:[String]? = nil //YOUR CODE HERE return list } public func getGPA(studentId:String)->Double?{ /** studentId: a String that is a key in the records dictionary return: average of student's grades, if student exists but has no records return 0.0 if student does not exist return nil */ //YOUR CODE HERE //var sum=0.0 //for g in grades{ // sum+=g.value //} //return sum/Double(grades.count) return nil } public func findBest()->(sId:String, gpa:Double)?{ /** find best student (highest GPA) in the records and return his studentId and gpa if records are empty return nil */ //YOUR CODE HERE return nil } public func reverseInt(number:Int)->Int{ /** number is an integer that has 4 digits and first and last digit is not 0 Without using string return an integer that has digists from number in a reversed order e.g., reverseInt(number:1234) returns 4321 assume that the number is correct **/ //YOUR CODE HERE /** var number: [Int] = [1,2,3,4] var reversed:[Int] = [] for number in numbers { reversedNumbers(number, at: 0) } **/ return 0 } }

__MACOSX/Test1/Test1/._MidtermTest.swift

Test1/Test1/ViewController.swift

// // ViewController.swift // Test1 // // Created by pawluk on 2018-02-12. // Copyright © 2018 pawluk. All rights reserved. // import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view, typically from a nib. } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. } }

__MACOSX/Test1/Test1/._ViewController.swift

__MACOSX/Test1/._Test1

Test1/test1.txt

=== BUILD TARGET Test1 OF PROJECT Test1 WITH CONFIGURATION Debug === Check dependencies === BUILD TARGET Test1Tests OF PROJECT Test1 WITH CONFIGURATION Debug === Check dependencies ** TEST SUCCEEDED ** 13:40:53.968 Test1[5044:28179597] _XCT_testBundleReadyWithProtocolVersion:minimumVersion: reply received 13:40:53.971 Test1[5044:28179605] _IDE_startExecutingTestPlanWithProtocolVersion:16 Test Suite 'All tests' started at 2018-02-12 13:40:53.988 Test Suite 'Test1Tests.xctest' started at 2018-02-12 13:40:53.989 Test Suite 'Test1Tests' started at 2018-02-12 13:40:53.989 Test Case '-[Test1Tests.Test1Tests testExample]' started. Test Case '-[Test1Tests.Test1Tests testExample]' passed (0.000 seconds). Test Case '-[Test1Tests.Test1Tests testPerformanceExample]' started. /Users/Tech/Documents/Teaching/2018/Test1/Test1Tests/Test1Tests.swift:42: Test Case '-[Test1Tests.Test1Tests testPerformanceExample]' measured [Time, seconds] average: 0.000, relative standard deviation: 162.829%, values: [0.000005, 0.000001, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100 Test Case '-[Test1Tests.Test1Tests testPerformanceExample]' passed (0.258 seconds). Test Suite 'Test1Tests' passed at 2018-02-12 13:40:54.248. Executed 2 tests, with 0 failures (0 unexpected) in 0.258 (0.259) seconds Test Suite 'Test1Tests.xctest' passed at 2018-02-12 13:40:54.249. Executed 2 tests, with 0 failures (0 unexpected) in 0.258 (0.260) seconds

__MACOSX/Test1/._test1.txt

Test1/Test1.xcodeproj/project.pbxproj

// !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 46; objects = { /* Begin PBXBuildFile section */ 18AE7619203207B0005AAE38 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18AE7618203207B0005AAE38 /* AppDelegate.swift */; }; 18AE761B203207B0005AAE38 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18AE761A203207B0005AAE38 /* ViewController.swift */; }; 18AE761E203207B0005AAE38 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 18AE761C203207B0005AAE38 /* Main.storyboard */; }; 18AE7620203207B0005AAE38 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 18AE761F203207B0005AAE38 /* Assets.xcassets */; }; 18AE7623203207B0005AAE38 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 18AE7621203207B0005AAE38 /* LaunchScreen.storyboard */; }; 18AE76312032080A005AAE38 /* Test1Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18AE76302032080A005AAE38 /* Test1Tests.swift */; }; 18AE7639203208BD005AAE38 /* MidtermTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18AE7638203208BD005AAE38 /* MidtermTest.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ 18AE76332032080A005AAE38 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 18AE760D203207B0005AAE38 /* Project object */; proxyType = 1; remoteGlobalIDString = 18AE7614203207B0005AAE38; remoteInfo = Test1; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ 18AE7615203207B0005AAE38 /* Test1.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Test1.app; sourceTree = BUILT_PRODUCTS_DIR; }; 18AE7618203207B0005AAE38 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; 18AE761A203207B0005AAE38 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; }; 18AE761D203207B0005AAE38 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; 18AE761F203207B0005AAE38 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; 18AE7622203207B0005AAE38 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; 18AE7624203207B0005AAE38 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; 18AE762E20320809005AAE38 /* Test1Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Test1Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 18AE76302032080A005AAE38 /* Test1Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Test1Tests.swift; sourceTree = "<group>"; }; 18AE76322032080A005AAE38 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; 18AE7638203208BD005AAE38 /* MidtermTest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MidtermTest.swift; sourceTree = "<group>"; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ 18AE7612203207B0005AAE38 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; 18AE762B20320809005AAE38 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ 18AE760C203207B0005AAE38 = { isa = PBXGroup; children = ( 18AE7617203207B0005AAE38 /* Test1 */, 18AE762F2032080A005AAE38 /* Test1Tests */, 18AE7616203207B0005AAE38 /* Products */, ); sourceTree = "<group>"; }; 18AE7616203207B0005AAE38 /* Products */ = { isa = PBXGroup; children = ( 18AE7615203207B0005AAE38 /* Test1.app */, 18AE762E20320809005AAE38 /* Test1Tests.xctest */, ); name = Products; sourceTree = "<group>"; }; 18AE7617203207B0005AAE38 /* Test1 */ = { isa = PBXGroup; children = ( 18AE7618203207B0005AAE38 /* AppDelegate.swift */, 18AE761A203207B0005AAE38 /* ViewController.swift */, 18AE761C203207B0005AAE38 /* Main.storyboard */, 18AE761F203207B0005AAE38 /* Assets.xcassets */, 18AE7621203207B0005AAE38 /* LaunchScreen.storyboard */, 18AE7624203207B0005AAE38 /* Info.plist */, 18AE7638203208BD005AAE38 /* MidtermTest.swift */, ); path = Test1; sourceTree = "<group>"; }; 18AE762F2032080A005AAE38 /* Test1Tests */ = { isa = PBXGroup; children = ( 18AE76302032080A005AAE38 /* Test1Tests.swift */, 18AE76322032080A005AAE38 /* Info.plist */, ); path = Test1Tests; sourceTree = "<group>"; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ 18AE7614203207B0005AAE38 /* Test1 */ = { isa = PBXNativeTarget; buildConfigurationList = 18AE7627203207B0005AAE38 /* Build configuration list for PBXNativeTarget "Test1" */; buildPhases = ( 18AE7611203207B0005AAE38 /* Sources */, 18AE7612203207B0005AAE38 /* Frameworks */, 18AE7613203207B0005AAE38 /* Resources */, ); buildRules = ( ); dependencies = ( ); name = Test1; productName = Test1; productReference = 18AE7615203207B0005AAE38 /* Test1.app */; productType = "com.apple.product-type.application"; }; 18AE762D20320809005AAE38 /* Test1Tests */ = { isa = PBXNativeTarget; buildConfigurationList = 18AE76352032080A005AAE38 /* Build configuration list for PBXNativeTarget "Test1Tests" */; buildPhases = ( 18AE762A20320809005AAE38 /* Sources */, 18AE762B20320809005AAE38 /* Frameworks */, 18AE762C20320809005AAE38 /* Resources */, ); buildRules = ( ); dependencies = ( 18AE76342032080A005AAE38 /* PBXTargetDependency */, ); name = Test1Tests; productName = Test1Tests; productReference = 18AE762E20320809005AAE38 /* Test1Tests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ 18AE760D203207B0005AAE38 /* Project object */ = { isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0720; LastUpgradeCheck = 0720; ORGANIZATIONNAME = pawluk; TargetAttributes = { 18AE7614203207B0005AAE38 = { CreatedOnToolsVersion = 7.2; DevelopmentTeam = KL8T7U99AQ; }; 18AE762D20320809005AAE38 = { CreatedOnToolsVersion = 7.2; DevelopmentTeam = KL8T7U99AQ; TestTargetID = 18AE7614203207B0005AAE38; }; }; }; buildConfigurationList = 18AE7610203207B0005AAE38 /* Build configuration list for PBXProject "Test1" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( en, Base, ); mainGroup = 18AE760C203207B0005AAE38; productRefGroup = 18AE7616203207B0005AAE38 /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( 18AE7614203207B0005AAE38 /* Test1 */, 18AE762D20320809005AAE38 /* Test1Tests */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ 18AE7613203207B0005AAE38 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( 18AE7623203207B0005AAE38 /* LaunchScreen.storyboard in Resources */, 18AE7620203207B0005AAE38 /* Assets.xcassets in Resources */, 18AE761E203207B0005AAE38 /* Main.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; 18AE762C20320809005AAE38 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ 18AE7611203207B0005AAE38 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 18AE761B203207B0005AAE38 /* ViewController.swift in Sources */, 18AE7639203208BD005AAE38 /* MidtermTest.swift in Sources */, 18AE7619203207B0005AAE38 /* AppDelegate.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; 18AE762A20320809005AAE38 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 18AE76312032080A005AAE38 /* Test1Tests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ 18AE76342032080A005AAE38 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 18AE7614203207B0005AAE38 /* Test1 */; targetProxy = 18AE76332032080A005AAE38 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ 18AE761C203207B0005AAE38 /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( 18AE761D203207B0005AAE38 /* Base */, ); name = Main.storyboard; sourceTree = "<group>"; }; 18AE7621203207B0005AAE38 /* LaunchScreen.storyboard */ = { isa = PBXVariantGroup; children = ( 18AE7622203207B0005AAE38 /* Base */, ); name = LaunchScreen.storyboard; sourceTree = "<group>"; }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ 18AE7625203207B0005AAE38 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.2; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; }; name = Debug; }; 18AE7626203207B0005AAE38 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.2; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; }; name = Release; }; 18AE7628203207B0005AAE38 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = Test1/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.ppawluk.Test1; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.0; }; name = Debug; }; 18AE7629203207B0005AAE38 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = Test1/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.ppawluk.Test1; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.0; }; name = Release; }; 18AE76362032080A005AAE38 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = Test1Tests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.ppawluk.Test1Tests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Test1.app/Test1"; }; name = Debug; }; 18AE76372032080A005AAE38 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = Test1Tests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.ppawluk.Test1Tests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Test1.app/Test1"; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ 18AE7610203207B0005AAE38 /* Build configuration list for PBXProject "Test1" */ = { isa = XCConfigurationList; buildConfigurations = ( 18AE7625203207B0005AAE38 /* Debug */, 18AE7626203207B0005AAE38 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; 18AE7627203207B0005AAE38 /* Build configuration list for PBXNativeTarget "Test1" */ = { isa = XCConfigurationList; buildConfigurations = ( 18AE7628203207B0005AAE38 /* Debug */, 18AE7629203207B0005AAE38 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; 18AE76352032080A005AAE38 /* Build configuration list for PBXNativeTarget "Test1Tests" */ = { isa = XCConfigurationList; buildConfigurations = ( 18AE76362032080A005AAE38 /* Debug */, 18AE76372032080A005AAE38 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; rootObject = 18AE760D203207B0005AAE38 /* Project object */; }

__MACOSX/Test1/Test1.xcodeproj/._project.pbxproj

Test1/Test1.xcodeproj/project.xcworkspace/contents.xcworkspacedata

__MACOSX/Test1/Test1.xcodeproj/project.xcworkspace/._contents.xcworkspacedata

Test1/Test1.xcodeproj/project.xcworkspace/xcuserdata/Tech.xcuserdatad/UserInterfaceState.xcuserstate

__MACOSX/Test1/Test1.xcodeproj/project.xcworkspace/xcuserdata/._Tech.xcuserdatad

__MACOSX/Test1/Test1.xcodeproj/project.xcworkspace/._xcuserdata

__MACOSX/Test1/Test1.xcodeproj/._project.xcworkspace

Test1/Test1.xcodeproj/xcuserdata/Tech.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

__MACOSX/Test1/Test1.xcodeproj/xcuserdata/Tech.xcuserdatad/._xcdebugger

Test1/Test1.xcodeproj/xcuserdata/Tech.xcuserdatad/xcschemes/Test1.xcscheme

__MACOSX/Test1/Test1.xcodeproj/xcuserdata/Tech.xcuserdatad/xcschemes/._Test1.xcscheme

Test1/Test1.xcodeproj/xcuserdata/Tech.xcuserdatad/xcschemes/xcschememanagement.plist

__MACOSX/Test1/Test1.xcodeproj/xcuserdata/Tech.xcuserdatad/xcschemes/._xcschememanagement.plist

__MACOSX/Test1/Test1.xcodeproj/xcuserdata/Tech.xcuserdatad/._xcschemes

__MACOSX/Test1/Test1.xcodeproj/xcuserdata/._Tech.xcuserdatad

__MACOSX/Test1/Test1.xcodeproj/._xcuserdata

Test1/Test1Tests/Info.plist

__MACOSX/Test1/Test1Tests/._Info.plist

Test1/Test1Tests/Test1Tests.swift

// // Test1Tests.swift // Test1Tests // // Created by pawluk on 2018-02-12. // Copyright © 2018 PPawluk. All rights reserved. // /*************** NOTE ****************** DO NOT MODIFY THE TEST! RUN ALL THE TEST BEFORE SUBMISSION! *****************************************/ import XCTest @testable import Test1 class Test1Tests: XCTestCase { var testSubject:MidtermTest! var testSubjectNil:MidtermTest! let s1 = "1" let s2 = "2" let s3 = "3" let sNoN = "4" let gpaS1 = 5.0 let gpaS2 = 1.0 let gpaS3 = 0.0 let gpaS4:Double? = nil let slist = ["1", "2", "3"] var bestId:String{ return self.s1 } var bestGPA:Double { return self.gpaS1 } func loadData(){ testSubject = MidtermTest() testSubject.addCourse(sId: s1, record: ("C1",5)) testSubject.addCourse(sId:s1, record: ("C2",5)) testSubject.addCourse(sId:s1, record: ("C3",5)) testSubject.addCourse(sId:s1, record: ("C4",5)) testSubject.addCourse(sId:s1, record: ("C5",5)) testSubject.addCourse(sId:s2, record: ("C1",1)) testSubject.addCourse(sId:s2, record: ("C2",1)) testSubject.addCourse(sId:s2, record: ("C3",1)) testSubject.addCourse(sId:s2, record: ("C4",1)) testSubject.addStudent(sId:s3) testSubjectNil = MidtermTest() } override func setUp() { super.setUp() // Put setup code here. This method is called before the invocation of each test method in the class. loadData() } override func tearDown() { testSubject = nil testSubjectNil = nil // Put teardown code here. This method is called after the invocation of each test method in the class. super.tearDown() } func testReverse(){ let n = 1234 let revn = 4321 let t = testSubject.reverseInt(number: n) XCTAssertEqual(t,revn, "ReverseInt not correct") } func testGetStudents(){ if let l = testSubject.getStudents(){ for s in l { XCTAssert(slist.contains(s)) } for s in slist { XCTAssert(l.contains(s)) } }else{ XCTAssertFalse(true) } } func testGetGPAFound(){ var gpa = testSubject.getGPA(studentId: s1) XCTAssertEqual(gpaS1, gpa, "GPA for S1 not correct") gpa = testSubject.getGPA(studentId: s2) XCTAssertEqual(gpaS2, gpa, "GPA for S2 not correct") gpa = testSubject.getGPA(studentId: s3) XCTAssertEqual(gpaS3, gpa, "GPA for S3 not correct") } func testGetGPANotFound(){ let gpa = testSubject.getGPA(studentId: sNoN) XCTAssertEqual(gpaS4, gpa, "GPA for S4") } func testFindBest(){ let best = testSubject.findBest() XCTAssert(best != nil) if let _ = best{ XCTAssertEqual(best!.sId, bestId) XCTAssertEqual(best!.gpa, bestGPA) } } func testFindBestNil(){ let best = testSubjectNil.findBest() XCTAssert(best == nil) } }

__MACOSX/Test1/Test1Tests/._Test1Tests.swift

__MACOSX/Test1/._Test1Tests

__MACOSX/._Test1