Skip to content

Commit

Permalink
Step 3a) Set up Xcode project
Browse files Browse the repository at this point in the history
  • Loading branch information
ShelinHime authored and ShelinHime committed Sep 26, 2016
1 parent cc9b7f3 commit ed24f3e
Show file tree
Hide file tree
Showing 8 changed files with 469 additions and 0 deletions.
294 changes: 294 additions & 0 deletions Example/Example.xcodeproj/project.pbxproj
@@ -0,0 +1,294 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
3430CB6B1D93D951001AB9C9 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3430CB6A1D93D951001AB9C9 /* AppDelegate.swift */; };
3430CB701D93D951001AB9C9 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3430CB6E1D93D951001AB9C9 /* Main.storyboard */; };
3430CB721D93D951001AB9C9 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3430CB711D93D951001AB9C9 /* Assets.xcassets */; };
3430CB751D93D951001AB9C9 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3430CB731D93D951001AB9C9 /* LaunchScreen.storyboard */; };
3430CB7D1D93DC96001AB9C9 /* ExampleViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3430CB7C1D93DC96001AB9C9 /* ExampleViewController.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
3430CB671D93D951001AB9C9 /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
3430CB6A1D93D951001AB9C9 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
3430CB6F1D93D951001AB9C9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
3430CB711D93D951001AB9C9 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
3430CB741D93D951001AB9C9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
3430CB761D93D951001AB9C9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
3430CB7C1D93DC96001AB9C9 /* ExampleViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ExampleViewController.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
3430CB641D93D951001AB9C9 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
3430CB5E1D93D951001AB9C9 = {
isa = PBXGroup;
children = (
3430CB691D93D951001AB9C9 /* Example */,
3430CB681D93D951001AB9C9 /* Products */,
);
sourceTree = "<group>";
};
3430CB681D93D951001AB9C9 /* Products */ = {
isa = PBXGroup;
children = (
3430CB671D93D951001AB9C9 /* Example.app */,
);
name = Products;
sourceTree = "<group>";
};
3430CB691D93D951001AB9C9 /* Example */ = {
isa = PBXGroup;
children = (
3430CB7C1D93DC96001AB9C9 /* ExampleViewController.swift */,
3430CB6A1D93D951001AB9C9 /* AppDelegate.swift */,
3430CB6E1D93D951001AB9C9 /* Main.storyboard */,
3430CB711D93D951001AB9C9 /* Assets.xcassets */,
3430CB731D93D951001AB9C9 /* LaunchScreen.storyboard */,
3430CB761D93D951001AB9C9 /* Info.plist */,
);
path = Example;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
3430CB661D93D951001AB9C9 /* Example */ = {
isa = PBXNativeTarget;
buildConfigurationList = 3430CB791D93D951001AB9C9 /* Build configuration list for PBXNativeTarget "Example" */;
buildPhases = (
3430CB631D93D951001AB9C9 /* Sources */,
3430CB641D93D951001AB9C9 /* Frameworks */,
3430CB651D93D951001AB9C9 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = Example;
productName = Example;
productReference = 3430CB671D93D951001AB9C9 /* Example.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
3430CB5F1D93D951001AB9C9 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0730;
LastUpgradeCheck = 0730;
ORGANIZATIONNAME = example;
TargetAttributes = {
3430CB661D93D951001AB9C9 = {
CreatedOnToolsVersion = 7.3.1;
};
};
};
buildConfigurationList = 3430CB621D93D951001AB9C9 /* Build configuration list for PBXProject "Example" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 3430CB5E1D93D951001AB9C9;
productRefGroup = 3430CB681D93D951001AB9C9 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
3430CB661D93D951001AB9C9 /* Example */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
3430CB651D93D951001AB9C9 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
3430CB751D93D951001AB9C9 /* LaunchScreen.storyboard in Resources */,
3430CB721D93D951001AB9C9 /* Assets.xcassets in Resources */,
3430CB701D93D951001AB9C9 /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
3430CB631D93D951001AB9C9 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
3430CB6B1D93D951001AB9C9 /* AppDelegate.swift in Sources */,
3430CB7D1D93DC96001AB9C9 /* ExampleViewController.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
3430CB6E1D93D951001AB9C9 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
3430CB6F1D93D951001AB9C9 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
3430CB731D93D951001AB9C9 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
3430CB741D93D951001AB9C9 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
3430CB771D93D951001AB9C9 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
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.3;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
3430CB781D93D951001AB9C9 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
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.3;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
3430CB7A1D93D951001AB9C9 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = Example/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.example.Example;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
3430CB7B1D93D951001AB9C9 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = Example/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.example.Example;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
3430CB621D93D951001AB9C9 /* Build configuration list for PBXProject "Example" */ = {
isa = XCConfigurationList;
buildConfigurations = (
3430CB771D93D951001AB9C9 /* Debug */,
3430CB781D93D951001AB9C9 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
3430CB791D93D951001AB9C9 /* Build configuration list for PBXNativeTarget "Example" */ = {
isa = XCConfigurationList;
buildConfigurations = (
3430CB7A1D93D951001AB9C9 /* Debug */,
3430CB7B1D93D951001AB9C9 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 3430CB5F1D93D951001AB9C9 /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions Example/Example/AppDelegate.swift
@@ -0,0 +1,22 @@
//
// AppDelegate.swift
// Example
//
// Created by Joanna Kubiak on 22.09.2016.
// Copyright © 2016 example. 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
}

}

38 changes: 38 additions & 0 deletions Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,38 @@
{
"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"
}
}
27 changes: 27 additions & 0 deletions Example/Example/Base.lproj/LaunchScreen.storyboard
@@ -0,0 +1,27 @@
<?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>

0 comments on commit ed24f3e

Please sign in to comment.