Rename lib name.

This commit is contained in:
Shota Shimazu 2017-10-25 01:28:50 +09:00
parent b497d74a94
commit 55e69bd70c
36 changed files with 808 additions and 1309 deletions

72
.gitignore vendored
View File

@ -1,6 +1,68 @@
.DS_Store
/.build
/Packages
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
# Ignore editor settings
.vscode/
## Build generated
build/
DerivedData/
## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/
## Other
*.moved-aside
*.xccheckout
*.xcscmblueprint
## Obj-C/Swift specific
*.hmap
*.ipa
*.dSYM.zip
*.dSYM
## Playgrounds
timeline.xctimeline
playground.xcworkspace
# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
.build/
# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# Pods/
# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts
Carthage/Build
# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
Fileable.framework.zip

1
.swift-version Normal file
View File

@ -0,0 +1 @@
4.0

34
.travis.yml Normal file
View File

@ -0,0 +1,34 @@
language: objective-c
osx_image: xcode8.2
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- WORKSPACE="Fileable.xcworkspace"
- IOS_FRAMEWORK_SCHEME="Fileable"
- IOS_SDK=iphonesimulator10.2
- EXAMPLE_SCHEME="iOS Example"
matrix:
- DESTINATION="platform=iOS Simulator,OS=10.2,id=E40727B3-41FB-4D6E-B4CB-BFA87109EB12" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" POD_LINT="NO"
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- xcodebuild -list
- xcodebuild -workspace "$WORKSPACE" -list
# Build and test Framework in Debug
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO test | xcpretty -c
# Build Framework in ReleaseTest
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty -c
# Build Example in Debug if specified
- xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c
# Run `pod lib lint` if specified
- if [ $POD_LINT == "YES" ]; then
pod lib lint;
fi
- CheckCocoaPodsQualityIndexes.rb Fileable

View File

@ -1,32 +0,0 @@
#
# Be sure to run `pod lib lint FileKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'FileKit'
s.version = '0.1.0'
s.summary = 'A unix-command like file manager written in Swift.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
TODO: Add long description of the pod here.
DESC
s.homepage = 'https://git.happinesslab.xyz/PINNA/FileKit'
s.license = { :type => 'ISC', :file => 'LICENSE' }
s.author = { 'shotastage' => 'hornet.live.mf@gmail.com' }
s.source = { :git => 'https://github.com/Labbiness/FileKit.git', :tag => s.version.to_s }
s.ios.deployment_target = '10.0'
s.source_files = 'Sources/**/*'
end

View File

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>

View File

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>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

@ -1,901 +0,0 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXAggregateTarget section */
"FileKit::FileKitPackageTests::ProductTarget" /* FileKitPackageTests */ = {
isa = PBXAggregateTarget;
buildConfigurationList = OBJ_53 /* Build configuration list for PBXAggregateTarget "FileKitPackageTests" */;
buildPhases = (
);
dependencies = (
OBJ_56 /* PBXTargetDependency */,
);
name = FileKitPackageTests;
productName = FileKitPackageTests;
};
/* End PBXAggregateTarget section */
/* Begin PBXBuildFile section */
2570B5E61F983A6200E253A0 /* iOSFileKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2570B5DD1F983A6200E253A0 /* iOSFileKit.framework */; };
2570B5EB1F983A6200E253A0 /* iOSFileKitTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2570B5EA1F983A6200E253A0 /* iOSFileKitTests.swift */; };
25C785621F9DB35D00D27F29 /* Writable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 25C785611F9DB35D00D27F29 /* Writable.swift */; };
25C785641F9DB37100D27F29 /* Readable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 25C785631F9DB37000D27F29 /* Readable.swift */; };
25F28AB41F9842590065ACBB /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_9 /* Errors.swift */; };
25F28AB51F9842590065ACBB /* FileKit+BasicFileOperations.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_10 /* FileKit+BasicFileOperations.swift */; };
25F28AB61F9842590065ACBB /* FileKit+Info.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_11 /* FileKit+Info.swift */; };
25F28AB71F9842590065ACBB /* FileKit+Utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_12 /* FileKit+Utils.swift */; };
25F28AB81F9842590065ACBB /* FileKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_13 /* FileKit.swift */; };
25F28ABA1F9842590065ACBB /* iOS.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_15 /* iOS.swift */; };
OBJ_28 /* Package.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_6 /* Package.swift */; };
OBJ_34 /* FileKitTestMain.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_18 /* FileKitTestMain.swift */; };
OBJ_35 /* XCTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_19 /* XCTest.swift */; };
OBJ_37 /* FileKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "FileKit::FileKit::Product" /* FileKit.framework */; };
OBJ_44 /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_9 /* Errors.swift */; };
OBJ_45 /* FileKit+BasicFileOperations.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_10 /* FileKit+BasicFileOperations.swift */; };
OBJ_46 /* FileKit+Info.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_11 /* FileKit+Info.swift */; };
OBJ_47 /* FileKit+Utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_12 /* FileKit+Utils.swift */; };
OBJ_48 /* FileKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_13 /* FileKit.swift */; };
OBJ_49 /* Linux.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_14 /* Linux.swift */; };
OBJ_50 /* iOS.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_15 /* iOS.swift */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
2570B5D61F9839D900E253A0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = OBJ_1 /* Project object */;
proxyType = 1;
remoteGlobalIDString = "FileKit::FileKit";
remoteInfo = FileKit;
};
2570B5D71F9839DB00E253A0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = OBJ_1 /* Project object */;
proxyType = 1;
remoteGlobalIDString = "FileKit::FileKitTests";
remoteInfo = FileKitTests;
};
2570B5E71F983A6200E253A0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = OBJ_1 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 2570B5DC1F983A6200E253A0;
remoteInfo = iOSFileKit;
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
2570B5DD1F983A6200E253A0 /* iOSFileKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = iOSFileKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
2570B5DF1F983A6200E253A0 /* iOSFileKit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = iOSFileKit.h; sourceTree = "<group>"; };
2570B5E01F983A6200E253A0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
2570B5E51F983A6200E253A0 /* iOSFileKitTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = iOSFileKitTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
2570B5EA1F983A6200E253A0 /* iOSFileKitTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = iOSFileKitTests.swift; sourceTree = "<group>"; };
2570B5EC1F983A6200E253A0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
25C785611F9DB35D00D27F29 /* Writable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Writable.swift; sourceTree = "<group>"; };
25C785631F9DB37000D27F29 /* Readable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Readable.swift; sourceTree = "<group>"; };
"FileKit::FileKit::Product" /* FileKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = FileKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
"FileKit::FileKitTests::Product" /* FileKitTests.xctest */ = {isa = PBXFileReference; lastKnownFileType = file; path = FileKitTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
OBJ_10 /* FileKit+BasicFileOperations.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FileKit+BasicFileOperations.swift"; sourceTree = "<group>"; };
OBJ_11 /* FileKit+Info.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FileKit+Info.swift"; sourceTree = "<group>"; };
OBJ_12 /* FileKit+Utils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FileKit+Utils.swift"; sourceTree = "<group>"; };
OBJ_13 /* FileKit.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FileKit.swift; sourceTree = "<group>"; };
OBJ_14 /* Linux.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Linux.swift; sourceTree = "<group>"; };
OBJ_15 /* iOS.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = iOS.swift; sourceTree = "<group>"; };
OBJ_18 /* FileKitTestMain.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FileKitTestMain.swift; sourceTree = "<group>"; };
OBJ_19 /* XCTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = XCTest.swift; sourceTree = "<group>"; };
OBJ_6 /* Package.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
OBJ_9 /* Errors.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Errors.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
2570B5D91F983A6200E253A0 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
2570B5E21F983A6200E253A0 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
2570B5E61F983A6200E253A0 /* iOSFileKit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
OBJ_36 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 0;
files = (
OBJ_37 /* FileKit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
OBJ_51 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 0;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
2570B5DE1F983A6200E253A0 /* iOSFileKit */ = {
isa = PBXGroup;
children = (
2570B5DF1F983A6200E253A0 /* iOSFileKit.h */,
2570B5E01F983A6200E253A0 /* Info.plist */,
);
path = iOSFileKit;
sourceTree = "<group>";
};
2570B5E91F983A6200E253A0 /* iOSFileKitTests */ = {
isa = PBXGroup;
children = (
2570B5EA1F983A6200E253A0 /* iOSFileKitTests.swift */,
2570B5EC1F983A6200E253A0 /* Info.plist */,
);
path = iOSFileKitTests;
sourceTree = "<group>";
};
OBJ_16 /* Tests */ = {
isa = PBXGroup;
children = (
OBJ_17 /* FileKitTests */,
);
name = Tests;
sourceTree = SOURCE_ROOT;
};
OBJ_17 /* FileKitTests */ = {
isa = PBXGroup;
children = (
OBJ_18 /* FileKitTestMain.swift */,
OBJ_19 /* XCTest.swift */,
);
name = FileKitTests;
path = Tests/FileKitTests;
sourceTree = SOURCE_ROOT;
};
OBJ_20 /* Products */ = {
isa = PBXGroup;
children = (
"FileKit::FileKitTests::Product" /* FileKitTests.xctest */,
"FileKit::FileKit::Product" /* FileKit.framework */,
2570B5DD1F983A6200E253A0 /* iOSFileKit.framework */,
2570B5E51F983A6200E253A0 /* iOSFileKitTests.xctest */,
);
name = Products;
sourceTree = BUILT_PRODUCTS_DIR;
};
OBJ_5 = {
isa = PBXGroup;
children = (
OBJ_6 /* Package.swift */,
OBJ_7 /* Sources */,
OBJ_16 /* Tests */,
2570B5DE1F983A6200E253A0 /* iOSFileKit */,
2570B5E91F983A6200E253A0 /* iOSFileKitTests */,
OBJ_20 /* Products */,
);
sourceTree = "<group>";
};
OBJ_7 /* Sources */ = {
isa = PBXGroup;
children = (
OBJ_8 /* FileKit */,
);
name = Sources;
sourceTree = SOURCE_ROOT;
};
OBJ_8 /* FileKit */ = {
isa = PBXGroup;
children = (
OBJ_9 /* Errors.swift */,
OBJ_10 /* FileKit+BasicFileOperations.swift */,
OBJ_11 /* FileKit+Info.swift */,
OBJ_12 /* FileKit+Utils.swift */,
OBJ_13 /* FileKit.swift */,
OBJ_14 /* Linux.swift */,
OBJ_15 /* iOS.swift */,
25C785611F9DB35D00D27F29 /* Writable.swift */,
25C785631F9DB37000D27F29 /* Readable.swift */,
);
name = FileKit;
path = Sources/FileKit;
sourceTree = SOURCE_ROOT;
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
2570B5DC1F983A6200E253A0 /* iOSFileKit */ = {
isa = PBXNativeTarget;
buildConfigurationList = 2570B5EE1F983A6200E253A0 /* Build configuration list for PBXNativeTarget "iOSFileKit" */;
buildPhases = (
2570B5D81F983A6200E253A0 /* Sources */,
2570B5D91F983A6200E253A0 /* Frameworks */,
2570B5DB1F983A6200E253A0 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = iOSFileKit;
productName = iOSFileKit;
productReference = 2570B5DD1F983A6200E253A0 /* iOSFileKit.framework */;
productType = "com.apple.product-type.framework";
};
2570B5E41F983A6200E253A0 /* iOSFileKitTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 2570B5F11F983A6200E253A0 /* Build configuration list for PBXNativeTarget "iOSFileKitTests" */;
buildPhases = (
2570B5E11F983A6200E253A0 /* Sources */,
2570B5E21F983A6200E253A0 /* Frameworks */,
2570B5E31F983A6200E253A0 /* Resources */,
);
buildRules = (
);
dependencies = (
2570B5E81F983A6200E253A0 /* PBXTargetDependency */,
);
name = iOSFileKitTests;
productName = iOSFileKitTests;
productReference = 2570B5E51F983A6200E253A0 /* iOSFileKitTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
"FileKit::FileKit" /* FileKit */ = {
isa = PBXNativeTarget;
buildConfigurationList = OBJ_40 /* Build configuration list for PBXNativeTarget "FileKit" */;
buildPhases = (
OBJ_43 /* Sources */,
OBJ_51 /* Frameworks */,
);
buildRules = (
);
dependencies = (
);
name = FileKit;
productName = FileKit;
productReference = "FileKit::FileKit::Product" /* FileKit.framework */;
productType = "com.apple.product-type.framework";
};
"FileKit::FileKitTests" /* FileKitTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = OBJ_30 /* Build configuration list for PBXNativeTarget "FileKitTests" */;
buildPhases = (
OBJ_33 /* Sources */,
OBJ_36 /* Frameworks */,
);
buildRules = (
);
dependencies = (
OBJ_38 /* PBXTargetDependency */,
);
name = FileKitTests;
productName = FileKitTests;
productReference = "FileKit::FileKitTests::Product" /* FileKitTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
"FileKit::SwiftPMPackageDescription" /* FileKitPackageDescription */ = {
isa = PBXNativeTarget;
buildConfigurationList = OBJ_24 /* Build configuration list for PBXNativeTarget "FileKitPackageDescription" */;
buildPhases = (
OBJ_27 /* Sources */,
);
buildRules = (
);
dependencies = (
);
name = FileKitPackageDescription;
productName = FileKitPackageDescription;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
OBJ_1 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0900;
LastUpgradeCheck = 9999;
TargetAttributes = {
2570B5DC1F983A6200E253A0 = {
CreatedOnToolsVersion = 9.0;
ProvisioningStyle = Automatic;
};
2570B5E41F983A6200E253A0 = {
CreatedOnToolsVersion = 9.0;
DevelopmentTeam = V377MCTLAE;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = OBJ_2 /* Build configuration list for PBXProject "FileKit" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = OBJ_5;
productRefGroup = OBJ_20 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
"FileKit::SwiftPMPackageDescription" /* FileKitPackageDescription */,
"FileKit::FileKitTests" /* FileKitTests */,
"FileKit::FileKit" /* FileKit */,
"FileKit::FileKitPackageTests::ProductTarget" /* FileKitPackageTests */,
2570B5DC1F983A6200E253A0 /* iOSFileKit */,
2570B5E41F983A6200E253A0 /* iOSFileKitTests */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
2570B5DB1F983A6200E253A0 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
2570B5E31F983A6200E253A0 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
2570B5D81F983A6200E253A0 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
25F28AB41F9842590065ACBB /* Errors.swift in Sources */,
25F28AB51F9842590065ACBB /* FileKit+BasicFileOperations.swift in Sources */,
25F28AB61F9842590065ACBB /* FileKit+Info.swift in Sources */,
25F28AB71F9842590065ACBB /* FileKit+Utils.swift in Sources */,
25F28AB81F9842590065ACBB /* FileKit.swift in Sources */,
25F28ABA1F9842590065ACBB /* iOS.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
2570B5E11F983A6200E253A0 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
2570B5EB1F983A6200E253A0 /* iOSFileKitTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
OBJ_27 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 0;
files = (
25C785641F9DB37100D27F29 /* Readable.swift in Sources */,
OBJ_28 /* Package.swift in Sources */,
25C785621F9DB35D00D27F29 /* Writable.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
OBJ_33 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 0;
files = (
OBJ_34 /* FileKitTestMain.swift in Sources */,
OBJ_35 /* XCTest.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
OBJ_43 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 0;
files = (
OBJ_44 /* Errors.swift in Sources */,
OBJ_45 /* FileKit+BasicFileOperations.swift in Sources */,
OBJ_46 /* FileKit+Info.swift in Sources */,
OBJ_47 /* FileKit+Utils.swift in Sources */,
OBJ_48 /* FileKit.swift in Sources */,
OBJ_49 /* Linux.swift in Sources */,
OBJ_50 /* iOS.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
2570B5E81F983A6200E253A0 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 2570B5DC1F983A6200E253A0 /* iOSFileKit */;
targetProxy = 2570B5E71F983A6200E253A0 /* PBXContainerItemProxy */;
};
OBJ_38 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = "FileKit::FileKit" /* FileKit */;
targetProxy = 2570B5D61F9839D900E253A0 /* PBXContainerItemProxy */;
};
OBJ_56 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = "FileKit::FileKitTests" /* FileKitTests */;
targetProxy = 2570B5D71F9839DB00E253A0 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
2570B5EF1F983A6200E253A0 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
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;
INFOPLIST_FILE = iOSFileKit/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.labbiness.iOSFileKit;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_VERSION = 4.0;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
2570B5F01F983A6200E253A0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
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;
INFOPLIST_FILE = iOSFileKit/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.labbiness.iOSFileKit;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_VERSION = 4.0;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
2570B5F21F983A6200E253A0 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = V377MCTLAE;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
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;
INFOPLIST_FILE = iOSFileKitTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.labbiness.iOSFileKitTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_VERSION = 4.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
2570B5F31F983A6200E253A0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEVELOPMENT_TEAM = V377MCTLAE;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
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;
INFOPLIST_FILE = iOSFileKitTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.labbiness.iOSFileKitTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SWIFT_VERSION = 4.0;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
OBJ_25 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
LD = /usr/bin/true;
OTHER_SWIFT_FLAGS = "-swift-version 4 -I /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/4 -target x86_64-apple-macosx10.10 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk";
SWIFT_VERSION = 4.0;
};
name = Debug;
};
OBJ_26 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
LD = /usr/bin/true;
OTHER_SWIFT_FLAGS = "-swift-version 4 -I /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/4 -target x86_64-apple-macosx10.10 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk";
SWIFT_VERSION = 4.0;
};
name = Release;
};
OBJ_3 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_OBJC_ARC = YES;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_NS_ASSERTIONS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
MACOSX_DEPLOYMENT_TARGET = 10.10;
ONLY_ACTIVE_ARCH = YES;
OTHER_SWIFT_FLAGS = "-DXcode";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = SWIFT_PACKAGE;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
USE_HEADERMAP = NO;
};
name = Debug;
};
OBJ_31 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
EMBEDDED_CONTENT_CONTAINS_SWIFT = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PLATFORM_DIR)/Developer/Library/Frameworks",
);
HEADER_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = FileKit.xcodeproj/FileKitTests_Info.plist;
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks @loader_path/Frameworks";
OTHER_LDFLAGS = "$(inherited)";
OTHER_SWIFT_FLAGS = "$(inherited)";
SWIFT_VERSION = 4.0;
TARGET_NAME = FileKitTests;
};
name = Debug;
};
OBJ_32 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
EMBEDDED_CONTENT_CONTAINS_SWIFT = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PLATFORM_DIR)/Developer/Library/Frameworks",
);
HEADER_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = FileKit.xcodeproj/FileKitTests_Info.plist;
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks @loader_path/Frameworks";
OTHER_LDFLAGS = "$(inherited)";
OTHER_SWIFT_FLAGS = "$(inherited)";
SWIFT_VERSION = 4.0;
TARGET_NAME = FileKitTests;
};
name = Release;
};
OBJ_4 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_OBJC_ARC = YES;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_OPTIMIZATION_LEVEL = s;
MACOSX_DEPLOYMENT_TARGET = 10.10;
OTHER_SWIFT_FLAGS = "-DXcode";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = SWIFT_PACKAGE;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
USE_HEADERMAP = NO;
};
name = Release;
};
OBJ_41 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ENABLE_TESTABILITY = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PLATFORM_DIR)/Developer/Library/Frameworks",
);
HEADER_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = FileKit.xcodeproj/FileKit_Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx";
OTHER_LDFLAGS = "$(inherited)";
OTHER_SWIFT_FLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = FileKit;
PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
SWIFT_VERSION = 4.0;
TARGET_NAME = FileKit;
};
name = Debug;
};
OBJ_42 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ENABLE_TESTABILITY = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PLATFORM_DIR)/Developer/Library/Frameworks",
);
HEADER_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = FileKit.xcodeproj/FileKit_Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx";
OTHER_LDFLAGS = "$(inherited)";
OTHER_SWIFT_FLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = FileKit;
PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
SWIFT_VERSION = 4.0;
TARGET_NAME = FileKit;
};
name = Release;
};
OBJ_54 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
};
name = Debug;
};
OBJ_55 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
2570B5EE1F983A6200E253A0 /* Build configuration list for PBXNativeTarget "iOSFileKit" */ = {
isa = XCConfigurationList;
buildConfigurations = (
2570B5EF1F983A6200E253A0 /* Debug */,
2570B5F01F983A6200E253A0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
2570B5F11F983A6200E253A0 /* Build configuration list for PBXNativeTarget "iOSFileKitTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
2570B5F21F983A6200E253A0 /* Debug */,
2570B5F31F983A6200E253A0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
OBJ_2 /* Build configuration list for PBXProject "FileKit" */ = {
isa = XCConfigurationList;
buildConfigurations = (
OBJ_3 /* Debug */,
OBJ_4 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
OBJ_24 /* Build configuration list for PBXNativeTarget "FileKitPackageDescription" */ = {
isa = XCConfigurationList;
buildConfigurations = (
OBJ_25 /* Debug */,
OBJ_26 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
OBJ_30 /* Build configuration list for PBXNativeTarget "FileKitTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
OBJ_31 /* Debug */,
OBJ_32 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
OBJ_40 /* Build configuration list for PBXNativeTarget "FileKit" */ = {
isa = XCConfigurationList;
buildConfigurations = (
OBJ_41 /* Debug */,
OBJ_42 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
OBJ_53 /* Build configuration list for PBXAggregateTarget "FileKitPackageTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
OBJ_54 /* Debug */,
OBJ_55 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
/* End XCConfigurationList section */
};
rootObject = OBJ_1 /* Project object */;
}

View File

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

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>FileKit-Package.xcscheme</key>
<dict></dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict></dict>
</dict>
</plist>

View File

@ -1,29 +0,0 @@
<?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>FileKit-Package.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
<key>FileKitPackageDescription.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>2</integer>
</dict>
<key>FileKitPackageTests.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>3</integer>
</dict>
<key>iOSFileKit.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
</dict>
</dict>
</dict>
</plist>

25
Fileable.podspec Normal file
View File

@ -0,0 +1,25 @@
Pod::Spec.new do |s|
s.name = 'Fileable'
s.version = '0.1.0'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.summary = 'A short description of Fileable.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
TODO: Add long description of the pod here.
DESC
s.homepage = 'https://github.com/Labbiness/Fileable'
s.authors = { 'PROJECT_OWNER' => 'USER_EMAIL' }
s.source = { :git => 'https://github.com/Labbiness/Fileable.git', :tag => s.version }
s.ios.deployment_target = '8.0'
s.source_files = 'Source/*.{h,m,swift}'
s.resource_bundles = {
'Fileable' => ['Resources/**/*.{png}']
}
end

View File

@ -0,0 +1,468 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
25BACE361F9F9E25000D5127 /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 25BACE351F9F9E25000D5127 /* Errors.swift */; };
25BACE381F9F9E6C000D5127 /* BasicOperation+Fileable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 25BACE371F9F9E6C000D5127 /* BasicOperation+Fileable.swift */; };
25BACE3A1F9F9EB3000D5127 /* Info+Fileable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 25BACE391F9F9EB3000D5127 /* Info+Fileable.swift */; };
25BACE3C1F9F9EDE000D5127 /* Utils+Fileable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 25BACE3B1F9F9EDE000D5127 /* Utils+Fileable.swift */; };
25BACE3E1F9F9F12000D5127 /* iOS+Fileable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 25BACE3D1F9F9F12000D5127 /* iOS+Fileable.swift */; };
25BACE401F9F9F36000D5127 /* Linux+Fileable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 25BACE3F1F9F9F36000D5127 /* Linux+Fileable.swift */; };
D93F1CA21EAEDB6E009A7474 /* Fileable.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D93F1C981EAEDB6E009A7474 /* Fileable.framework */; };
D93F1CA71EAEDB6E009A7474 /* FileableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D93F1CA61EAEDB6E009A7474 /* FileableTests.swift */; };
D93F1CB31EAEDCC9009A7474 /* Fileable.swift in Sources */ = {isa = PBXBuildFile; fileRef = D93F1CB21EAEDCC9009A7474 /* Fileable.swift */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
D93F1CA31EAEDB6E009A7474 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = D93F1C8F1EAEDB6E009A7474 /* Project object */;
proxyType = 1;
remoteGlobalIDString = D93F1C971EAEDB6E009A7474;
remoteInfo = Fileable;
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
25BACE351F9F9E25000D5127 /* Errors.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Errors.swift; sourceTree = "<group>"; };
25BACE371F9F9E6C000D5127 /* BasicOperation+Fileable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "BasicOperation+Fileable.swift"; sourceTree = "<group>"; };
25BACE391F9F9EB3000D5127 /* Info+Fileable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Info+Fileable.swift"; sourceTree = "<group>"; };
25BACE3B1F9F9EDE000D5127 /* Utils+Fileable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Utils+Fileable.swift"; sourceTree = "<group>"; };
25BACE3D1F9F9F12000D5127 /* iOS+Fileable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "iOS+Fileable.swift"; sourceTree = "<group>"; };
25BACE3F1F9F9F36000D5127 /* Linux+Fileable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Linux+Fileable.swift"; sourceTree = "<group>"; };
D93F1C981EAEDB6E009A7474 /* Fileable.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Fileable.framework; sourceTree = BUILT_PRODUCTS_DIR; };
D93F1C9C1EAEDB6E009A7474 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
D93F1CA11EAEDB6E009A7474 /* FileableTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = FileableTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
D93F1CA61EAEDB6E009A7474 /* FileableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FileableTests.swift; sourceTree = "<group>"; };
D93F1CA81EAEDB6E009A7474 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
D93F1CB21EAEDCC9009A7474 /* Fileable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Fileable.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
D93F1C941EAEDB6E009A7474 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
D93F1C9E1EAEDB6E009A7474 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
D93F1CA21EAEDB6E009A7474 /* Fileable.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
25FE68C61F9FA02600B1F60B /* Fileable */ = {
isa = PBXGroup;
children = (
D93F1CB21EAEDCC9009A7474 /* Fileable.swift */,
25BACE351F9F9E25000D5127 /* Errors.swift */,
25BACE371F9F9E6C000D5127 /* BasicOperation+Fileable.swift */,
25BACE391F9F9EB3000D5127 /* Info+Fileable.swift */,
25BACE3B1F9F9EDE000D5127 /* Utils+Fileable.swift */,
25BACE3D1F9F9F12000D5127 /* iOS+Fileable.swift */,
25BACE3F1F9F9F36000D5127 /* Linux+Fileable.swift */,
);
path = Fileable;
sourceTree = "<group>";
};
D93F1C8E1EAEDB6E009A7474 = {
isa = PBXGroup;
children = (
D93F1C9A1EAEDB6E009A7474 /* Sources */,
D93F1CB41EAEDCD8009A7474 /* Resources */,
D93F1CA51EAEDB6E009A7474 /* Tests */,
D93F1C991EAEDB6E009A7474 /* Products */,
);
sourceTree = "<group>";
};
D93F1C991EAEDB6E009A7474 /* Products */ = {
isa = PBXGroup;
children = (
D93F1C981EAEDB6E009A7474 /* Fileable.framework */,
D93F1CA11EAEDB6E009A7474 /* FileableTests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
D93F1C9A1EAEDB6E009A7474 /* Sources */ = {
isa = PBXGroup;
children = (
D93F1C9C1EAEDB6E009A7474 /* Info.plist */,
25FE68C61F9FA02600B1F60B /* Fileable */,
);
path = Sources;
sourceTree = "<group>";
};
D93F1CA51EAEDB6E009A7474 /* Tests */ = {
isa = PBXGroup;
children = (
D93F1CA61EAEDB6E009A7474 /* FileableTests.swift */,
D93F1CA81EAEDB6E009A7474 /* Info.plist */,
);
path = Tests;
sourceTree = "<group>";
};
D93F1CB41EAEDCD8009A7474 /* Resources */ = {
isa = PBXGroup;
children = (
);
name = Resources;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
D93F1C951EAEDB6E009A7474 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
D93F1C971EAEDB6E009A7474 /* Fileable */ = {
isa = PBXNativeTarget;
buildConfigurationList = D93F1CAC1EAEDB6E009A7474 /* Build configuration list for PBXNativeTarget "Fileable" */;
buildPhases = (
D93F1C931EAEDB6E009A7474 /* Sources */,
D93F1C941EAEDB6E009A7474 /* Frameworks */,
D93F1C951EAEDB6E009A7474 /* Headers */,
D93F1C961EAEDB6E009A7474 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = Fileable;
productName = Fileable;
productReference = D93F1C981EAEDB6E009A7474 /* Fileable.framework */;
productType = "com.apple.product-type.framework";
};
D93F1CA01EAEDB6E009A7474 /* FileableTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = D93F1CAF1EAEDB6E009A7474 /* Build configuration list for PBXNativeTarget "FileableTests" */;
buildPhases = (
D93F1C9D1EAEDB6E009A7474 /* Sources */,
D93F1C9E1EAEDB6E009A7474 /* Frameworks */,
D93F1C9F1EAEDB6E009A7474 /* Resources */,
);
buildRules = (
);
dependencies = (
D93F1CA41EAEDB6E009A7474 /* PBXTargetDependency */,
);
name = FileableTests;
productName = FileableTests;
productReference = D93F1CA11EAEDB6E009A7474 /* FileableTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
D93F1C8F1EAEDB6E009A7474 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0830;
LastUpgradeCheck = 0830;
ORGANIZATIONNAME = Labbiness;
TargetAttributes = {
D93F1C971EAEDB6E009A7474 = {
CreatedOnToolsVersion = 8.3.2;
LastSwiftMigration = 0900;
ProvisioningStyle = Automatic;
};
D93F1CA01EAEDB6E009A7474 = {
CreatedOnToolsVersion = 8.3.2;
LastSwiftMigration = 0900;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = D93F1C921EAEDB6E009A7474 /* Build configuration list for PBXProject "Fileable" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = D93F1C8E1EAEDB6E009A7474;
productRefGroup = D93F1C991EAEDB6E009A7474 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
D93F1C971EAEDB6E009A7474 /* Fileable */,
D93F1CA01EAEDB6E009A7474 /* FileableTests */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
D93F1C961EAEDB6E009A7474 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
D93F1C9F1EAEDB6E009A7474 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
D93F1C931EAEDB6E009A7474 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
25BACE3E1F9F9F12000D5127 /* iOS+Fileable.swift in Sources */,
D93F1CB31EAEDCC9009A7474 /* Fileable.swift in Sources */,
25BACE3C1F9F9EDE000D5127 /* Utils+Fileable.swift in Sources */,
25BACE3A1F9F9EB3000D5127 /* Info+Fileable.swift in Sources */,
25BACE361F9F9E25000D5127 /* Errors.swift in Sources */,
25BACE381F9F9E6C000D5127 /* BasicOperation+Fileable.swift in Sources */,
25BACE401F9F9F36000D5127 /* Linux+Fileable.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
D93F1C9D1EAEDB6E009A7474 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D93F1CA71EAEDB6E009A7474 /* FileableTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
D93F1CA41EAEDB6E009A7474 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = D93F1C971EAEDB6E009A7474 /* Fileable */;
targetProxy = D93F1CA31EAEDB6E009A7474 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
D93F1CAA1EAEDB6E009A7474 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
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_DOCUMENTATION_COMMENTS = YES;
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";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
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 = 10.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
D93F1CAB1EAEDB6E009A7474 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
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_DOCUMENTATION_COMMENTS = YES;
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";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
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 = 10.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
D93F1CAD1EAEDB6E009A7474 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "";
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = Source/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.Labbiness.Fileable;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_SWIFT3_OBJC_INFERENCE = On;
SWIFT_VERSION = 4.0;
};
name = Debug;
};
D93F1CAE1EAEDB6E009A7474 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "";
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = Source/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.Labbiness.Fileable;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_SWIFT3_OBJC_INFERENCE = On;
SWIFT_VERSION = 4.0;
};
name = Release;
};
D93F1CB01EAEDB6E009A7474 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = Tests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.Labbiness.FileableTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_SWIFT3_OBJC_INFERENCE = On;
SWIFT_VERSION = 4.0;
};
name = Debug;
};
D93F1CB11EAEDB6E009A7474 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = Tests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.Labbiness.FileableTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_SWIFT3_OBJC_INFERENCE = On;
SWIFT_VERSION = 4.0;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
D93F1C921EAEDB6E009A7474 /* Build configuration list for PBXProject "Fileable" */ = {
isa = XCConfigurationList;
buildConfigurations = (
D93F1CAA1EAEDB6E009A7474 /* Debug */,
D93F1CAB1EAEDB6E009A7474 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
D93F1CAC1EAEDB6E009A7474 /* Build configuration list for PBXNativeTarget "Fileable" */ = {
isa = XCConfigurationList;
buildConfigurations = (
D93F1CAD1EAEDB6E009A7474 /* Debug */,
D93F1CAE1EAEDB6E009A7474 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
D93F1CAF1EAEDB6E009A7474 /* Build configuration list for PBXNativeTarget "FileableTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
D93F1CB01EAEDB6E009A7474 /* Debug */,
D93F1CB11EAEDB6E009A7474 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = D93F1C8F1EAEDB6E009A7474 /* Project object */;
}

View File

@ -2,6 +2,6 @@
<Workspace
version = "1.0">
<FileRef
location = "self:">
location = "self:Fileable.xcodeproj">
</FileRef>
</Workspace>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0900"
LastUpgradeVersion = "0830"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
@ -14,10 +14,10 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2570B5DC1F983A6200E253A0"
BuildableName = "iOSFileKit.framework"
BlueprintName = "iOSFileKit"
ReferencedContainer = "container:FileKit.xcodeproj">
BlueprintIdentifier = "D93F1C971EAEDB6E009A7474"
BuildableName = "Fileable.framework"
BlueprintName = "Fileable"
ReferencedContainer = "container:Fileable.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
@ -26,27 +26,26 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2570B5E41F983A6200E253A0"
BuildableName = "iOSFileKitTests.xctest"
BlueprintName = "iOSFileKitTests"
ReferencedContainer = "container:FileKit.xcodeproj">
BlueprintIdentifier = "D93F1CA01EAEDB6E009A7474"
BuildableName = "FileableTests.xctest"
BlueprintName = "FileableTests"
ReferencedContainer = "container:Fileable.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2570B5DC1F983A6200E253A0"
BuildableName = "iOSFileKit.framework"
BlueprintName = "iOSFileKit"
ReferencedContainer = "container:FileKit.xcodeproj">
BlueprintIdentifier = "D93F1C971EAEDB6E009A7474"
BuildableName = "Fileable.framework"
BlueprintName = "Fileable"
ReferencedContainer = "container:Fileable.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
@ -56,7 +55,6 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
@ -66,10 +64,10 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2570B5DC1F983A6200E253A0"
BuildableName = "iOSFileKit.framework"
BlueprintName = "iOSFileKit"
ReferencedContainer = "container:FileKit.xcodeproj">
BlueprintIdentifier = "D93F1C971EAEDB6E009A7474"
BuildableName = "Fileable.framework"
BlueprintName = "Fileable"
ReferencedContainer = "container:Fileable.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
@ -84,10 +82,10 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2570B5DC1F983A6200E253A0"
BuildableName = "iOSFileKit.framework"
BlueprintName = "iOSFileKit"
ReferencedContainer = "container:FileKit.xcodeproj">
BlueprintIdentifier = "D93F1C971EAEDB6E009A7474"
BuildableName = "Fileable.framework"
BlueprintName = "Fileable"
ReferencedContainer = "container:Fileable.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:Fileable.xcodeproj">
</FileRef>
</Workspace>

View File

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>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

@ -4,12 +4,12 @@
import PackageDescription
let package = Package(
name: "FileKit",
name: "Fileable",
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "FileKit",
targets: ["FileKit"]),
name: "Fileable",
targets: ["Fileable"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
@ -19,10 +19,10 @@ let package = Package(
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "FileKit",
name: "Fileable",
dependencies: []),
.testTarget(
name: "FileKitTests",
dependencies: ["FileKit"]),
name: "FileableTests",
dependencies: ["Fileable"]),
]
)

View File

@ -1,9 +0,0 @@
import Foundation
enum FileError: Error {
case NotExists
case AleardyExists
case PermissionError
case Unkown(String)
}

View File

@ -1,25 +0,0 @@
extension FileKit {
public func cd(_ path: String) throws {
if !FileKit.fm.changeCurrentDirectoryPath(path) {
if !FileKit.fm.fileExists(atPath: path) {
throw FileError.NotExists
} else {
throw FileError.Unkown("Failed to change current direcotry.")
}
}
}
public func mkdir(_ path: String) throws {
try FileKit.fm.createDirectory(atPath: path, withIntermediateDirectories: true, attributes: nil)
}
public func rm(_ target: String) throws {
try FileKit.fm.removeItem(atPath: target)
}
public func mv(from fromPath: String, to toPath: String) throws {
try FileKit.fm.moveItem(atPath: fromPath, toPath: toPath)
}
}

View File

@ -1,12 +0,0 @@
//
// Readable.swift
// FileKitPackageDescription
//
// Created by Shota Shimazu on 2017/10/23.
//
import Foundation
open class FileKitReadable {
}

View File

@ -1,12 +0,0 @@
//
// Writable.swift
// FileKitPackageDescription
//
// Created by Shota Shimazu on 2017/10/23.
//
import Foundation
open class FileKitWritable {
}

View File

@ -0,0 +1,34 @@
//
// BasicOperation+Fileable.swift
// Fileable
//
// Created by Shota Shimazu on 2017/10/25.
// Copyright © 2017 Labbiness. All rights reserved.
//
import Foundation
extension Fileable {
public func cd(_ path: String) throws {
if !Fileable.fm.changeCurrentDirectoryPath(path) {
if !Fileable.fm.fileExists(atPath: path) {
throw FileableError.NotExists
} else {
throw FileableError.Unkown("Failed to change current direcotry.")
}
}
}
public func mkdir(_ path: String) throws {
try Fileable.fm.createDirectory(atPath: path, withIntermediateDirectories: true, attributes: nil)
}
public func rm(_ target: String) throws {
try Fileable.fm.removeItem(atPath: target)
}
public func mv(from fromPath: String, to toPath: String) throws {
try Fileable.fm.moveItem(atPath: fromPath, toPath: toPath)
}
}

View File

@ -0,0 +1,17 @@
//
// Errors.swift
// Fileable
//
// Created by Shota Shimazu on 2017/10/25.
// Copyright © 2017 Labbiness. All rights reserved.
//
import Foundation
enum FileableError: Error {
case NotExists
case AleardyExists
case PermissionError
case Unkown(String)
}

View File

@ -1,22 +1,30 @@
//
// Fileable.swift
// Fileable
//
// Created by Shota Shimazu on Oct 25, 2017.
// Copyright © 2017 Labbiness. All rights reserved.
//
import Foundation
open class FileKit {
open class Fileable {
// Define typealias
public typealias Path = String
// Path
internal var path: String
// Foundational File Manager
internal static var fm = FileManager.default
// Initializers
public init() {
self.path = ""
}
public init(_ path: String) {
self.path = path
}
@ -24,8 +32,9 @@ open class FileKit {
// Internet file management
extension FileKit {
extension Fileable {
public func curlO(url: String) {
return
}
}

View File

@ -1,16 +1,25 @@
//
// Info+Fileable.swift
// Fileable
//
// Created by Shota Shimazu on 2017/10/25.
// Copyright © 2017 Labbiness. All rights reserved.
//
import Foundation
// Show file information
extension FileKit {
extension Fileable {
/// Get current working directory.
/// - returns: Return current directory path as a string.
public func pwd() -> String {
let path = FileKit.fm.currentDirectoryPath
let path = Fileable.fm.currentDirectoryPath
return path
}
/// Get home directory.
/// - returns: Return home directory path as a string.
public func home() -> String {
@ -22,17 +31,17 @@ extension FileKit {
// Check file or directory existence
extension FileKit {
extension Fileable {
/// Check existence of file
/// - returns: Return true if designated file exists.
public var isFile: Bool {
return FileKit.fm.fileExists(atPath: self.path)
return Fileable.fm.fileExists(atPath: self.path)
}
/// Check existence of directory
/// - returns: Return true if designated directory exists.
public var isDir: Bool {
return FileKit.fm.fileExists(atPath: self.path)
return Fileable.fm.fileExists(atPath: self.path)
}
}

View File

@ -1,3 +1,11 @@
//
// Linux+Fileable.swift
// Fileable
//
// Created by Shota Shimazu on 2017/10/25.
// Copyright © 2017 Labbiness. All rights reserved.
//
import Foundation

View File

@ -1,8 +1,16 @@
//
// Utils+Fileable.swift
// Fileable
//
// Created by Shota Shimazu on 2017/10/25.
// Copyright © 2017 Labbiness. All rights reserved.
//
import Foundation
// Utils
extension FileKit {
extension Fileable {
public func touch(_ path: String) throws {
let empty = ""
do {

View File

@ -1,8 +1,9 @@
//
// iOSSupport.swift
// FileKitPackageDescription
// iOS+Fileable.swift
// Fileable
//
// Created by Shota Shimazu on 2017/10/18.
// Created by Shota Shimazu on 2017/10/25.
// Copyright © 2017 Labbiness. All rights reserved.
//
import Foundation
@ -10,28 +11,28 @@ import Foundation
#if os(iOS) || os(watchOS) || os(tvOS)
extension FileKit {
extension Fileable {
static func appDocument() -> String {
return NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0]
}
static func appCache() -> String {
return NSSearchPathForDirectoriesInDomains(.cachesDirectory, .userDomainMask, true)[0]
}
//
// URL Converter
//
static func toURL(string: String) -> URL {
return URL(fileURLWithPath: string)
}
/*
static func toString(fileURL: URL) -> String {
return URL(fileURLWithPath: fileURL)
}*/
static func toString(fileURL: URL) -> String {
return URL(fileURLWithPath: fileURL)
}*/
}
#endif

View File

@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>

View File

@ -0,0 +1,61 @@
#!/bin/ruby
#
# CheckCocoaPodsQualityIndexes.rb
# by William Entriken, version 1.0.1
# Part of https://github.com/fulldecent/swift3-module-template
#
# The validates that all controllable quality metrics receive maximum score
# from CocoaPods's scoring quality algorithm
#
# Usage: ruby CheckCocoaPodsQualityIndexes.rb PODNAME
#
require "json"
require "uri"
require "net/http"
pod_name = ARGV.shift
puts "Reviewing CocoaPods's quality metrics for #{pod_name}"
puts "Metrics documentation: https://guides.cocoapods.org/making/quality-indexes.html"
puts "Modifiers from: https://cocoadocs-api-cocoapods-org.herokuapp.com/pods/#{pod_name}/stats"
puts "Raw data from: http://metrics.cocoapods.org/api/v1/pods/#{pod_name}"
puts "NOTE: You must pust a new version to CocoaPods to get new metrics!"
puts ""
uri = URI.parse('https://cocoadocs-api-cocoapods-org.herokuapp.com/pods/FDTake/stats')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true if uri.scheme == 'https'
request = Net::HTTP::Get.new uri
response = http.request(request)
if !response.is_a? Net::HTTPOK
puts "HTTP fetching error!"
exit 1
end
passing = true
for metric in JSON.parse(response.body)['metrics']
if ['Verified Owner', 'Very Popular', 'Popular'].include? metric['title']
puts "SKIPPED\tYou cannot control: " + metric['title']
next
end
if metric['modifier'] >= 0
if metric['applies_for_pod']
puts "GOOD\tEarned points for: " + metric['title']
else
puts "BAD\tMissed points for: " + metric['title']
passing = false
end
else
if metric['applies_for_pod']
puts "BAD\tLost points for: " + metric['title']
passing = false
else
puts "GOOD\tAvoided penalty for: " + metric['title']
end
end
end
exit passing ? 0 : 1

View File

@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>

View File

@ -1,18 +0,0 @@
//
// iOSFileKit.h
// iOSFileKit
//
// Created by Shota Shimazu on 2017/10/19.
//
#import <UIKit/UIKit.h>
//! Project version number for iOSFileKit.
FOUNDATION_EXPORT double iOSFileKitVersionNumber;
//! Project version string for iOSFileKit.
FOUNDATION_EXPORT const unsigned char iOSFileKitVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <iOSFileKit/PublicHeader.h>

View File

@ -1,35 +0,0 @@
//
// iOSFileKitTests.swift
// iOSFileKitTests
//
// Created by Shota Shimazu on 2017/10/19.
//
import XCTest
@testable import iOSFileKit
class iOSFileKitTests: 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.measure {
// Put the code you want to measure the time of here.
}
}
}