Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Commit

Permalink
Project refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
louisdh committed Nov 20, 2016
1 parent 3a3eafc commit 7bbab48
Show file tree
Hide file tree
Showing 12 changed files with 230 additions and 32 deletions.
1 change: 1 addition & 0 deletions .swift-version
@@ -0,0 +1 @@
3.0.1
Expand Up @@ -9,9 +9,9 @@
/* Begin PBXBuildFile section */
BE8116261DDFB02A00FD263E /* BezierPathLength.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BE81161C1DDFB02900FD263E /* BezierPathLength.framework */; };
BE81162B1DDFB02A00FD263E /* BezierPathLengthTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = BE81162A1DDFB02A00FD263E /* BezierPathLengthTests.swift */; };
BE81162D1DDFB02A00FD263E /* BezierPathLength.h in Headers */ = {isa = PBXBuildFile; fileRef = BE81161F1DDFB02900FD263E /* BezierPathLength.h */; settings = {ATTRIBUTES = (Public, ); }; };
BE81163B1DDFBDF100FD263E /* PathElement.swift in Sources */ = {isa = PBXBuildFile; fileRef = BE8116391DDFBDF100FD263E /* PathElement.swift */; };
BE81163C1DDFBDF100FD263E /* BezierPath+Length.swift in Sources */ = {isa = PBXBuildFile; fileRef = BE81163A1DDFBDF100FD263E /* BezierPath+Length.swift */; };
BE9254F61DE1F5160004AD58 /* BezierPath+Length.swift in Sources */ = {isa = PBXBuildFile; fileRef = BE9254F21DE1F5160004AD58 /* BezierPath+Length.swift */; };
BE9254F71DE1F5160004AD58 /* BezierPathLength.h in Headers */ = {isa = PBXBuildFile; fileRef = BE9254F31DE1F5160004AD58 /* BezierPathLength.h */; settings = {ATTRIBUTES = (Public, ); }; };
BE9254F91DE1F5160004AD58 /* PathElement.swift in Sources */ = {isa = PBXBuildFile; fileRef = BE9254F51DE1F5160004AD58 /* PathElement.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -26,13 +26,13 @@

/* Begin PBXFileReference section */
BE81161C1DDFB02900FD263E /* BezierPathLength.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = BezierPathLength.framework; sourceTree = BUILT_PRODUCTS_DIR; };
BE81161F1DDFB02900FD263E /* BezierPathLength.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BezierPathLength.h; sourceTree = "<group>"; };
BE8116201DDFB02900FD263E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
BE8116251DDFB02A00FD263E /* BezierPathLengthTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BezierPathLengthTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
BE81162A1DDFB02A00FD263E /* BezierPathLengthTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BezierPathLengthTests.swift; sourceTree = "<group>"; };
BE81162C1DDFB02A00FD263E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
BE8116391DDFBDF100FD263E /* PathElement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PathElement.swift; sourceTree = "<group>"; };
BE81163A1DDFBDF100FD263E /* BezierPath+Length.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "BezierPath+Length.swift"; sourceTree = "<group>"; };
BE9254F21DE1F5160004AD58 /* BezierPath+Length.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = "BezierPath+Length.swift"; path = "Source/BezierPath+Length.swift"; sourceTree = SOURCE_ROOT; };
BE9254F31DE1F5160004AD58 /* BezierPathLength.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BezierPathLength.h; path = Source/BezierPathLength.h; sourceTree = SOURCE_ROOT; };
BE9254F41DE1F5160004AD58 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Source/Info.plist; sourceTree = SOURCE_ROOT; };
BE9254F51DE1F5160004AD58 /* PathElement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = PathElement.swift; path = Source/PathElement.swift; sourceTree = SOURCE_ROOT; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -57,7 +57,7 @@
BE8116121DDFB02900FD263E = {
isa = PBXGroup;
children = (
BE81161E1DDFB02900FD263E /* BezierPathLength */,
BE81161E1DDFB02900FD263E /* Source */,
BE8116291DDFB02A00FD263E /* BezierPathLengthTests */,
BE81161D1DDFB02900FD263E /* Products */,
);
Expand All @@ -72,14 +72,15 @@
name = Products;
sourceTree = "<group>";
};
BE81161E1DDFB02900FD263E /* BezierPathLength */ = {
BE81161E1DDFB02900FD263E /* Source */ = {
isa = PBXGroup;
children = (
BE8116391DDFBDF100FD263E /* PathElement.swift */,
BE81163A1DDFBDF100FD263E /* BezierPath+Length.swift */,
BE81161F1DDFB02900FD263E /* BezierPathLength.h */,
BE8116201DDFB02900FD263E /* Info.plist */,
BE9254F21DE1F5160004AD58 /* BezierPath+Length.swift */,
BE9254F31DE1F5160004AD58 /* BezierPathLength.h */,
BE9254F41DE1F5160004AD58 /* Info.plist */,
BE9254F51DE1F5160004AD58 /* PathElement.swift */,
);
name = Source;
path = BezierPathLength;
sourceTree = "<group>";
};
Expand All @@ -99,16 +100,16 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
BE81162D1DDFB02A00FD263E /* BezierPathLength.h in Headers */,
BE9254F71DE1F5160004AD58 /* BezierPathLength.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
BE81161B1DDFB02900FD263E /* BezierPathLength */ = {
BE81161B1DDFB02900FD263E /* BezierPathLength iOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = BE8116301DDFB02A00FD263E /* Build configuration list for PBXNativeTarget "BezierPathLength" */;
buildConfigurationList = BE8116301DDFB02A00FD263E /* Build configuration list for PBXNativeTarget "BezierPathLength iOS" */;
buildPhases = (
BE8116171DDFB02900FD263E /* Sources */,
BE8116181DDFB02900FD263E /* Frameworks */,
Expand All @@ -119,7 +120,7 @@
);
dependencies = (
);
name = BezierPathLength;
name = "BezierPathLength iOS";
productName = BezierPathLength;
productReference = BE81161C1DDFB02900FD263E /* BezierPathLength.framework */;
productType = "com.apple.product-type.framework";
Expand Down Expand Up @@ -177,7 +178,7 @@
projectDirPath = "";
projectRoot = "";
targets = (
BE81161B1DDFB02900FD263E /* BezierPathLength */,
BE81161B1DDFB02900FD263E /* BezierPathLength iOS */,
BE8116241DDFB02A00FD263E /* BezierPathLengthTests */,
);
};
Expand Down Expand Up @@ -205,8 +206,8 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
BE81163B1DDFBDF100FD263E /* PathElement.swift in Sources */,
BE81163C1DDFBDF100FD263E /* BezierPath+Length.swift in Sources */,
BE9254F61DE1F5160004AD58 /* BezierPath+Length.swift in Sources */,
BE9254F91DE1F5160004AD58 /* PathElement.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -223,7 +224,7 @@
/* Begin PBXTargetDependency section */
BE8116281DDFB02A00FD263E /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = BE81161B1DDFB02900FD263E /* BezierPathLength */;
target = BE81161B1DDFB02900FD263E /* BezierPathLength iOS */;
targetProxy = BE8116271DDFB02A00FD263E /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
Expand Down Expand Up @@ -270,7 +271,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.1;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -318,7 +319,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.1;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
Expand All @@ -340,12 +341,13 @@
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = BezierPathLength/Info.plist;
INFOPLIST_FILE = Source/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = be.silverfox.BezierPathLength;
PRODUCT_NAME = "$(TARGET_NAME)";
PRODUCT_MODULE_NAME = BezierPathLength;
PRODUCT_NAME = BezierPathLength;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0.1;
Expand All @@ -362,12 +364,13 @@
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = BezierPathLength/Info.plist;
INFOPLIST_FILE = Source/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = be.silverfox.BezierPathLength;
PRODUCT_NAME = "$(TARGET_NAME)";
PRODUCT_MODULE_NAME = BezierPathLength;
PRODUCT_NAME = BezierPathLength;
SKIP_INSTALL = YES;
SWIFT_VERSION = 3.0.1;
};
Expand Down Expand Up @@ -411,13 +414,14 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
BE8116301DDFB02A00FD263E /* Build configuration list for PBXNativeTarget "BezierPathLength" */ = {
BE8116301DDFB02A00FD263E /* Build configuration list for PBXNativeTarget "BezierPathLength iOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
BE8116311DDFB02A00FD263E /* Debug */,
BE8116321DDFB02A00FD263E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
BE8116331DDFB02A00FD263E /* Build configuration list for PBXNativeTarget "BezierPathLengthTests" */ = {
isa = XCConfigurationList;
Expand All @@ -426,6 +430,7 @@
BE8116351DDFB02A00FD263E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
Expand Down
@@ -0,0 +1,99 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0810"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BE81161B1DDFB02900FD263E"
BuildableName = "BezierPathLength.framework"
BlueprintName = "BezierPathLength iOS"
ReferencedContainer = "container:BezierPathLength.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BE8116241DDFB02A00FD263E"
BuildableName = "BezierPathLengthTests.xctest"
BlueprintName = "BezierPathLengthTests"
ReferencedContainer = "container:BezierPathLength.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BE81161B1DDFB02900FD263E"
BuildableName = "BezierPathLength.framework"
BlueprintName = "BezierPathLength iOS"
ReferencedContainer = "container:BezierPathLength.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">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BE81161B1DDFB02900FD263E"
BuildableName = "BezierPathLength.framework"
BlueprintName = "BezierPathLength iOS"
ReferencedContainer = "container:BezierPathLength.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BE81161B1DDFB02900FD263E"
BuildableName = "BezierPathLength.framework"
BlueprintName = "BezierPathLength iOS"
ReferencedContainer = "container:BezierPathLength.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
2 changes: 1 addition & 1 deletion BezierPathLength.xcworkspace/contents.xcworkspacedata

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

6 changes: 4 additions & 2 deletions Example/Example.xcodeproj/project.pbxproj
Expand Up @@ -240,7 +240,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.1;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -285,7 +285,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.1;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
Expand All @@ -301,6 +301,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = 6G5LMQ72D8;
INFOPLIST_FILE = Example/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = be.silverfox.Example;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -314,6 +315,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = 6G5LMQ72D8;
INFOPLIST_FILE = Example/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = be.silverfox.Example;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down

0 comments on commit 7bbab48

Please sign in to comment.