Compare commits

...

1 Commits

Author SHA1 Message Date
Gunay Mert Karadogan 933d3d70c0 Create framework for carthage 2015-07-05 19:32:18 +02:00
6 changed files with 356 additions and 58 deletions

View File

@ -0,0 +1,19 @@
//
// GMStepper.h
// GMStepper
//
// Created by Gunay Mert Karadogan on 5/7/15.
// Copyright (c) 2015 Gunay Mert Karadogan. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for GMStepper.
FOUNDATION_EXPORT double GMStepperVersionNumber;
//! Project version string for GMStepper.
FOUNDATION_EXPORT const unsigned char GMStepperVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <GMStepper/PublicHeader.h>

View File

@ -0,0 +1,26 @@
<?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>com.gunaymert.$(PRODUCT_NAME:rfc1034identifier)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>

View File

@ -7,26 +7,59 @@
objects = { objects = {
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
3169DD3E1B496C33009791D1 /* GMStepper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 319C195B1B48445E005EFEE5 /* GMStepper.swift */; };
319C19381B4843EB005EFEE5 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 319C19371B4843EB005EFEE5 /* AppDelegate.swift */; }; 319C19381B4843EB005EFEE5 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 319C19371B4843EB005EFEE5 /* AppDelegate.swift */; };
319C193A1B4843EB005EFEE5 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 319C19391B4843EB005EFEE5 /* ViewController.swift */; }; 319C193A1B4843EB005EFEE5 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 319C19391B4843EB005EFEE5 /* ViewController.swift */; };
319C193D1B4843EB005EFEE5 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 319C193B1B4843EB005EFEE5 /* Main.storyboard */; }; 319C193D1B4843EB005EFEE5 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 319C193B1B4843EB005EFEE5 /* Main.storyboard */; };
319C193F1B4843EB005EFEE5 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 319C193E1B4843EB005EFEE5 /* Images.xcassets */; }; 319C193F1B4843EB005EFEE5 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 319C193E1B4843EB005EFEE5 /* Images.xcassets */; };
319C19421B4843EB005EFEE5 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 319C19401B4843EB005EFEE5 /* LaunchScreen.xib */; }; 319C19421B4843EB005EFEE5 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 319C19401B4843EB005EFEE5 /* LaunchScreen.xib */; };
319C194E1B4843EB005EFEE5 /* GMStepperExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 319C194D1B4843EB005EFEE5 /* GMStepperExampleTests.swift */; };
319C195C1B48445E005EFEE5 /* GMStepper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 319C195B1B48445E005EFEE5 /* GMStepper.swift */; }; 319C195C1B48445E005EFEE5 /* GMStepper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 319C195B1B48445E005EFEE5 /* GMStepper.swift */; };
31B104891B49A04D008C61B4 /* GMStepper.h in Headers */ = {isa = PBXBuildFile; fileRef = 31B104881B49A04D008C61B4 /* GMStepper.h */; settings = {ATTRIBUTES = (Public, ); }; };
31B1048F1B49A04D008C61B4 /* GMStepper.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 31B104841B49A04D008C61B4 /* GMStepper.framework */; };
31B104981B49A04D008C61B4 /* GMStepperTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31B104971B49A04D008C61B4 /* GMStepperTests.swift */; };
31B1049B1B49A04D008C61B4 /* GMStepper.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 31B104841B49A04D008C61B4 /* GMStepper.framework */; };
31B1049C1B49A04D008C61B4 /* GMStepper.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 31B104841B49A04D008C61B4 /* GMStepper.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
31B104A41B49A07D008C61B4 /* GMStepper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 319C195B1B48445E005EFEE5 /* GMStepper.swift */; };
31B104A51B49A0BB008C61B4 /* GMStepper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 319C195B1B48445E005EFEE5 /* GMStepper.swift */; };
/* End PBXBuildFile section */ /* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */ /* Begin PBXContainerItemProxy section */
319C19481B4843EB005EFEE5 /* PBXContainerItemProxy */ = { 31B104901B49A04D008C61B4 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 319C192A1B4843EB005EFEE5 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 31B104831B49A04D008C61B4;
remoteInfo = GMStepper;
};
31B104921B49A04D008C61B4 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = 319C192A1B4843EB005EFEE5 /* Project object */; containerPortal = 319C192A1B4843EB005EFEE5 /* Project object */;
proxyType = 1; proxyType = 1;
remoteGlobalIDString = 319C19311B4843EB005EFEE5; remoteGlobalIDString = 319C19311B4843EB005EFEE5;
remoteInfo = GMStepperExample; remoteInfo = GMStepperExample;
}; };
31B104991B49A04D008C61B4 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 319C192A1B4843EB005EFEE5 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 31B104831B49A04D008C61B4;
remoteInfo = GMStepper;
};
/* End PBXContainerItemProxy section */ /* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
31B104A21B49A04D008C61B4 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
31B1049C1B49A04D008C61B4 /* GMStepper.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
319C19321B4843EB005EFEE5 /* GMStepperExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GMStepperExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 319C19321B4843EB005EFEE5 /* GMStepperExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GMStepperExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
319C19361B4843EB005EFEE5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; 319C19361B4843EB005EFEE5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
@ -35,10 +68,13 @@
319C193C1B4843EB005EFEE5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; 319C193C1B4843EB005EFEE5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
319C193E1B4843EB005EFEE5 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; }; 319C193E1B4843EB005EFEE5 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
319C19411B4843EB005EFEE5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; }; 319C19411B4843EB005EFEE5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
319C19471B4843EB005EFEE5 /* GMStepperExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GMStepperExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
319C194C1B4843EB005EFEE5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
319C194D1B4843EB005EFEE5 /* GMStepperExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GMStepperExampleTests.swift; sourceTree = "<group>"; };
319C195B1B48445E005EFEE5 /* GMStepper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GMStepper.swift; sourceTree = "<group>"; }; 319C195B1B48445E005EFEE5 /* GMStepper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GMStepper.swift; sourceTree = "<group>"; };
31B104841B49A04D008C61B4 /* GMStepper.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = GMStepper.framework; sourceTree = BUILT_PRODUCTS_DIR; };
31B104871B49A04D008C61B4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
31B104881B49A04D008C61B4 /* GMStepper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GMStepper.h; sourceTree = "<group>"; };
31B1048E1B49A04D008C61B4 /* GMStepperTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GMStepperTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
31B104961B49A04D008C61B4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
31B104971B49A04D008C61B4 /* GMStepperTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GMStepperTests.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */ /* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */ /* Begin PBXFrameworksBuildPhase section */
@ -46,16 +82,25 @@
isa = PBXFrameworksBuildPhase; isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
31B1049B1B49A04D008C61B4 /* GMStepper.framework in Frameworks */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
319C19441B4843EB005EFEE5 /* Frameworks */ = { 31B104801B49A04D008C61B4 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase; isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
31B1048B1B49A04D008C61B4 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
31B1048F1B49A04D008C61B4 /* GMStepper.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */ /* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */ /* Begin PBXGroup section */
@ -64,7 +109,8 @@
children = ( children = (
319C195A1B48445E005EFEE5 /* GMStepper */, 319C195A1B48445E005EFEE5 /* GMStepper */,
319C19341B4843EB005EFEE5 /* GMStepperExample */, 319C19341B4843EB005EFEE5 /* GMStepperExample */,
319C194A1B4843EB005EFEE5 /* GMStepperExampleTests */, 31B104851B49A04D008C61B4 /* GMStepper */,
31B104941B49A04D008C61B4 /* GMStepperTests */,
319C19331B4843EB005EFEE5 /* Products */, 319C19331B4843EB005EFEE5 /* Products */,
); );
sourceTree = "<group>"; sourceTree = "<group>";
@ -73,7 +119,8 @@
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
319C19321B4843EB005EFEE5 /* GMStepperExample.app */, 319C19321B4843EB005EFEE5 /* GMStepperExample.app */,
319C19471B4843EB005EFEE5 /* GMStepperExampleTests.xctest */, 31B104841B49A04D008C61B4 /* GMStepper.framework */,
31B1048E1B49A04D008C61B4 /* GMStepperTests.xctest */,
); );
name = Products; name = Products;
sourceTree = "<group>"; sourceTree = "<group>";
@ -99,23 +146,6 @@
name = "Supporting Files"; name = "Supporting Files";
sourceTree = "<group>"; sourceTree = "<group>";
}; };
319C194A1B4843EB005EFEE5 /* GMStepperExampleTests */ = {
isa = PBXGroup;
children = (
319C194D1B4843EB005EFEE5 /* GMStepperExampleTests.swift */,
319C194B1B4843EB005EFEE5 /* Supporting Files */,
);
path = GMStepperExampleTests;
sourceTree = "<group>";
};
319C194B1B4843EB005EFEE5 /* Supporting Files */ = {
isa = PBXGroup;
children = (
319C194C1B4843EB005EFEE5 /* Info.plist */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
319C195A1B48445E005EFEE5 /* GMStepper */ = { 319C195A1B48445E005EFEE5 /* GMStepper */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
@ -125,8 +155,53 @@
path = ../GMStepper; path = ../GMStepper;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
31B104851B49A04D008C61B4 /* GMStepper */ = {
isa = PBXGroup;
children = (
31B104881B49A04D008C61B4 /* GMStepper.h */,
31B104861B49A04D008C61B4 /* Supporting Files */,
);
path = GMStepper;
sourceTree = "<group>";
};
31B104861B49A04D008C61B4 /* Supporting Files */ = {
isa = PBXGroup;
children = (
31B104871B49A04D008C61B4 /* Info.plist */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
31B104941B49A04D008C61B4 /* GMStepperTests */ = {
isa = PBXGroup;
children = (
31B104971B49A04D008C61B4 /* GMStepperTests.swift */,
31B104951B49A04D008C61B4 /* Supporting Files */,
);
path = GMStepperTests;
sourceTree = "<group>";
};
31B104951B49A04D008C61B4 /* Supporting Files */ = {
isa = PBXGroup;
children = (
31B104961B49A04D008C61B4 /* Info.plist */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */ /* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
31B104811B49A04D008C61B4 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
31B104891B49A04D008C61B4 /* GMStepper.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */ /* Begin PBXNativeTarget section */
319C19311B4843EB005EFEE5 /* GMStepperExample */ = { 319C19311B4843EB005EFEE5 /* GMStepperExample */ = {
isa = PBXNativeTarget; isa = PBXNativeTarget;
@ -135,32 +210,53 @@
319C192E1B4843EB005EFEE5 /* Sources */, 319C192E1B4843EB005EFEE5 /* Sources */,
319C192F1B4843EB005EFEE5 /* Frameworks */, 319C192F1B4843EB005EFEE5 /* Frameworks */,
319C19301B4843EB005EFEE5 /* Resources */, 319C19301B4843EB005EFEE5 /* Resources */,
31B104A21B49A04D008C61B4 /* Embed Frameworks */,
); );
buildRules = ( buildRules = (
); );
dependencies = ( dependencies = (
31B1049A1B49A04D008C61B4 /* PBXTargetDependency */,
); );
name = GMStepperExample; name = GMStepperExample;
productName = GMStepperExample; productName = GMStepperExample;
productReference = 319C19321B4843EB005EFEE5 /* GMStepperExample.app */; productReference = 319C19321B4843EB005EFEE5 /* GMStepperExample.app */;
productType = "com.apple.product-type.application"; productType = "com.apple.product-type.application";
}; };
319C19461B4843EB005EFEE5 /* GMStepperExampleTests */ = { 31B104831B49A04D008C61B4 /* GMStepper */ = {
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = 319C19541B4843EB005EFEE5 /* Build configuration list for PBXNativeTarget "GMStepperExampleTests" */; buildConfigurationList = 31B104A11B49A04D008C61B4 /* Build configuration list for PBXNativeTarget "GMStepper" */;
buildPhases = ( buildPhases = (
319C19431B4843EB005EFEE5 /* Sources */, 31B1047F1B49A04D008C61B4 /* Sources */,
319C19441B4843EB005EFEE5 /* Frameworks */, 31B104801B49A04D008C61B4 /* Frameworks */,
319C19451B4843EB005EFEE5 /* Resources */, 31B104811B49A04D008C61B4 /* Headers */,
31B104821B49A04D008C61B4 /* Resources */,
); );
buildRules = ( buildRules = (
); );
dependencies = ( dependencies = (
319C19491B4843EB005EFEE5 /* PBXTargetDependency */,
); );
name = GMStepperExampleTests; name = GMStepper;
productName = GMStepperExampleTests; productName = GMStepper;
productReference = 319C19471B4843EB005EFEE5 /* GMStepperExampleTests.xctest */; productReference = 31B104841B49A04D008C61B4 /* GMStepper.framework */;
productType = "com.apple.product-type.framework";
};
31B1048D1B49A04D008C61B4 /* GMStepperTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 31B104A31B49A04D008C61B4 /* Build configuration list for PBXNativeTarget "GMStepperTests" */;
buildPhases = (
31B1048A1B49A04D008C61B4 /* Sources */,
31B1048B1B49A04D008C61B4 /* Frameworks */,
31B1048C1B49A04D008C61B4 /* Resources */,
);
buildRules = (
);
dependencies = (
31B104911B49A04D008C61B4 /* PBXTargetDependency */,
31B104931B49A04D008C61B4 /* PBXTargetDependency */,
);
name = GMStepperTests;
productName = GMStepperTests;
productReference = 31B1048E1B49A04D008C61B4 /* GMStepperTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test"; productType = "com.apple.product-type.bundle.unit-test";
}; };
/* End PBXNativeTarget section */ /* End PBXNativeTarget section */
@ -176,7 +272,10 @@
319C19311B4843EB005EFEE5 = { 319C19311B4843EB005EFEE5 = {
CreatedOnToolsVersion = 6.4; CreatedOnToolsVersion = 6.4;
}; };
319C19461B4843EB005EFEE5 = { 31B104831B49A04D008C61B4 = {
CreatedOnToolsVersion = 6.4;
};
31B1048D1B49A04D008C61B4 = {
CreatedOnToolsVersion = 6.4; CreatedOnToolsVersion = 6.4;
TestTargetID = 319C19311B4843EB005EFEE5; TestTargetID = 319C19311B4843EB005EFEE5;
}; };
@ -196,7 +295,8 @@
projectRoot = ""; projectRoot = "";
targets = ( targets = (
319C19311B4843EB005EFEE5 /* GMStepperExample */, 319C19311B4843EB005EFEE5 /* GMStepperExample */,
319C19461B4843EB005EFEE5 /* GMStepperExampleTests */, 31B104831B49A04D008C61B4 /* GMStepper */,
31B1048D1B49A04D008C61B4 /* GMStepperTests */,
); );
}; };
/* End PBXProject section */ /* End PBXProject section */
@ -212,7 +312,14 @@
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
319C19451B4843EB005EFEE5 /* Resources */ = { 31B104821B49A04D008C61B4 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
31B1048C1B49A04D008C61B4 /* Resources */ = {
isa = PBXResourcesBuildPhase; isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
@ -232,22 +339,40 @@
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
319C19431B4843EB005EFEE5 /* Sources */ = { 31B1047F1B49A04D008C61B4 /* Sources */ = {
isa = PBXSourcesBuildPhase; isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
319C194E1B4843EB005EFEE5 /* GMStepperExampleTests.swift in Sources */, 31B104A41B49A07D008C61B4 /* GMStepper.swift in Sources */,
3169DD3E1B496C33009791D1 /* GMStepper.swift in Sources */, );
runOnlyForDeploymentPostprocessing = 0;
};
31B1048A1B49A04D008C61B4 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
31B104981B49A04D008C61B4 /* GMStepperTests.swift in Sources */,
31B104A51B49A0BB008C61B4 /* GMStepper.swift in Sources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
/* End PBXSourcesBuildPhase section */ /* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */ /* Begin PBXTargetDependency section */
319C19491B4843EB005EFEE5 /* PBXTargetDependency */ = { 31B104911B49A04D008C61B4 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 31B104831B49A04D008C61B4 /* GMStepper */;
targetProxy = 31B104901B49A04D008C61B4 /* PBXContainerItemProxy */;
};
31B104931B49A04D008C61B4 /* PBXTargetDependency */ = {
isa = PBXTargetDependency; isa = PBXTargetDependency;
target = 319C19311B4843EB005EFEE5 /* GMStepperExample */; target = 319C19311B4843EB005EFEE5 /* GMStepperExample */;
targetProxy = 319C19481B4843EB005EFEE5 /* PBXContainerItemProxy */; targetProxy = 31B104921B49A04D008C61B4 /* PBXContainerItemProxy */;
};
31B1049A1B49A04D008C61B4 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 31B104831B49A04D008C61B4 /* GMStepper */;
targetProxy = 31B104991B49A04D008C61B4 /* PBXContainerItemProxy */;
}; };
/* End PBXTargetDependency section */ /* End PBXTargetDependency section */
@ -372,10 +497,51 @@
}; };
name = Release; name = Release;
}; };
319C19551B4843EB005EFEE5 /* Debug */ = { 31B1049D1B49A04D008C61B4 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
INFOPLIST_FILE = GMStepper/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
31B1049E1B49A04D008C61B4 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = GMStepper/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
31B1049F1B49A04D008C61B4 /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
"$(SDKROOT)/Developer/Library/Frameworks", "$(SDKROOT)/Developer/Library/Frameworks",
"$(inherited)", "$(inherited)",
@ -384,22 +550,21 @@
"DEBUG=1", "DEBUG=1",
"$(inherited)", "$(inherited)",
); );
INFOPLIST_FILE = GMStepperExampleTests/Info.plist; INFOPLIST_FILE = GMStepperTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GMStepperExample.app/GMStepperExample"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GMStepperExample.app/GMStepperExample";
}; };
name = Debug; name = Debug;
}; };
319C19561B4843EB005EFEE5 /* Release */ = { 31B104A01B49A04D008C61B4 /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
"$(SDKROOT)/Developer/Library/Frameworks", "$(SDKROOT)/Developer/Library/Frameworks",
"$(inherited)", "$(inherited)",
); );
INFOPLIST_FILE = GMStepperExampleTests/Info.plist; INFOPLIST_FILE = GMStepperTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GMStepperExample.app/GMStepperExample"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GMStepperExample.app/GMStepperExample";
@ -427,14 +592,21 @@
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release; defaultConfigurationName = Release;
}; };
319C19541B4843EB005EFEE5 /* Build configuration list for PBXNativeTarget "GMStepperExampleTests" */ = { 31B104A11B49A04D008C61B4 /* Build configuration list for PBXNativeTarget "GMStepper" */ = {
isa = XCConfigurationList; isa = XCConfigurationList;
buildConfigurations = ( buildConfigurations = (
319C19551B4843EB005EFEE5 /* Debug */, 31B1049D1B49A04D008C61B4 /* Debug */,
319C19561B4843EB005EFEE5 /* Release */, 31B1049E1B49A04D008C61B4 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
31B104A31B49A04D008C61B4 /* Build configuration list for PBXNativeTarget "GMStepperTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
31B1049F1B49A04D008C61B4 /* Debug */,
31B104A01B49A04D008C61B4 /* Release */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
}; };
/* End XCConfigurationList section */ /* End XCConfigurationList section */
}; };

View File

@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0700"
version = "1.8">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "31B104831B49A04D008C61B4"
BuildableName = "GMStepper.framework"
BlueprintName = "GMStepper"
ReferencedContainer = "container:GMStepperExample.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "31B104831B49A04D008C61B4"
BuildableName = "GMStepper.framework"
BlueprintName = "GMStepper"
ReferencedContainer = "container:GMStepperExample.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "31B104831B49A04D008C61B4"
BuildableName = "GMStepper.framework"
BlueprintName = "GMStepper"
ReferencedContainer = "container:GMStepperExample.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

View File

@ -1,15 +1,16 @@
// //
// GMStepperExampleTests.swift // GMStepperTests.swift
// GMStepperExampleTests // GMStepperTests
// //
// Created by Gunay Mert Karadogan on 4/7/15. // Created by Gunay Mert Karadogan on 5/7/15.
// Copyright (c) 2015 Gunay Mert Karadogan. All rights reserved. // Copyright (c) 2015 Gunay Mert Karadogan. All rights reserved.
// //
import UIKit import UIKit
import XCTest import XCTest
class GMStepperExampleTests: XCTestCase { class GMStepperTests: XCTestCase {
var stepper: GMStepper! var stepper: GMStepper!
override func setUp() { override func setUp() {
@ -37,6 +38,6 @@ class GMStepperExampleTests: XCTestCase {
XCTAssert(stepper.value == stepper.maximumValue, "Pass") XCTAssert(stepper.value == stepper.maximumValue, "Pass")
} }
} }