Commit ff07fe88 authored by Aral Balkan's avatar Aral Balkan

Remove unused test project. Update readme

parent 5ed56f83
......@@ -9,7 +9,6 @@
/* Begin PBXBuildFile section */
A7C0EA941C234E5D00110179 /* Delay.h in Headers */ = {isa = PBXBuildFile; fileRef = A7C0EA931C234E5D00110179 /* Delay.h */; settings = {ATTRIBUTES = (Public, ); }; };
A7C0EA9B1C234E5D00110179 /* Delay.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A7C0EA901C234E5D00110179 /* Delay.framework */; };
A7C0EAA01C234E5D00110179 /* DelayTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7C0EA9F1C234E5D00110179 /* DelayTests.swift */; };
A7C0EB7D1C2441E400110179 /* Delay.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7C0EB7C1C2441E400110179 /* Delay.swift */; };
/* End PBXBuildFile section */
......@@ -28,8 +27,6 @@
A7C0EA931C234E5D00110179 /* Delay.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Delay.h; sourceTree = "<group>"; };
A7C0EA951C234E5D00110179 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
A7C0EA9A1C234E5D00110179 /* DelayTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DelayTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
A7C0EA9F1C234E5D00110179 /* DelayTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DelayTests.swift; sourceTree = "<group>"; };
A7C0EAA11C234E5D00110179 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
A7C0EB7C1C2441E400110179 /* Delay.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Delay.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
......@@ -56,7 +53,6 @@
isa = PBXGroup;
children = (
A7C0EA921C234E5D00110179 /* Delay */,
A7C0EA9E1C234E5D00110179 /* DelayTests */,
A7C0EA911C234E5D00110179 /* Products */,
);
sourceTree = "<group>";
......@@ -80,15 +76,6 @@
path = Delay;
sourceTree = "<group>";
};
A7C0EA9E1C234E5D00110179 /* DelayTests */ = {
isa = PBXGroup;
children = (
A7C0EA9F1C234E5D00110179 /* DelayTests.swift */,
A7C0EAA11C234E5D00110179 /* Info.plist */,
);
path = DelayTests;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
......@@ -146,7 +133,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0720;
LastUpgradeCheck = 0720;
LastUpgradeCheck = 0800;
ORGANIZATIONNAME = "Aral Balkan";
TargetAttributes = {
A7C0EA8F1C234E5D00110179 = {
......@@ -155,6 +142,7 @@
};
A7C0EA991C234E5D00110179 = {
CreatedOnToolsVersion = 7.2;
LastSwiftMigration = 0800;
};
};
};
......@@ -206,7 +194,6 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A7C0EAA01C234E5D00110179 /* DelayTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
......@@ -234,8 +221,10 @@
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
......@@ -284,8 +273,10 @@
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
......@@ -306,6 +297,7 @@
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator";
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VALID_ARCHS = "arm64 armv7 armv7s i386 x86_64";
......@@ -365,6 +357,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks @executable_path/../Frameworks @loader_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = ind.ie.DelayTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Debug;
};
......@@ -380,6 +373,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks @executable_path/../Frameworks @loader_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = ind.ie.DelayTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Release;
};
......
//
// DelayTests.swift
// DelayTests
//
// Created by Aral Balkan on 17/12/2015.
// Copyright © 2015 Aral Balkan. All rights reserved.
//
import XCTest
@testable import Delay
class DelayTests: XCTestCase {
override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of each test method in the class.
}
override func tearDown() {
// Put teardown code here. This method is called after the invocation of each test method in the class.
super.tearDown()
}
func testExample() {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct results.
}
func testPerformanceExample() {
// This is an example of a performance test case.
self.measureBlock {
// Put the code you want to measure the time of here.
}
}
}
<?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>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
......@@ -8,10 +8,10 @@ Delay is an easy-to-use micro-library for delaying code execution in a cancellab
### 1. Update your Cartfile
**Swift 3 (latest version)**
**Swift 3 (latest version) – master**
```
git "git@source.ind.ie:project/delay.git" ~> 3.0
git "git@source.ind.ie:project/delay.git"
```
For Swift 2.3, use the swift-2.3 branch:
......@@ -20,12 +20,6 @@ For Swift 2.3, use the swift-2.3 branch:
git "git@source.ind.ie:project/delay.git" "swift-2.3"
```
To stay on Swift 2.2, use the 2.0.3 tag:
```
git "git@source.ind.ie:project/handle.git" ~> 2.0.3
```
### 2. Add the framework to your Xcode project
[Follow the instructions on Carthage’s readme](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment