support Swift Package Manager

This commit is contained in:
Max Sokolov 2016-06-13 13:51:02 +03:00
parent 1e018523bb
commit 6f3daa337b
30 changed files with 264 additions and 90 deletions

View File

@ -8,7 +8,8 @@
/* Begin PBXBuildFile section */
DA08A0531CF4E9B500BBF1F8 /* StoryboardImageTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA08A0521CF4E9B500BBF1F8 /* StoryboardImageTableViewCell.swift */; };
DA9EA7821D0B6B070021F650 /* TableKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA9EA7811D0B6B070021F650 /* TableKit.framework */; };
DA9EA7D91D0EC65B0021F650 /* TableKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA9EA7D61D0EC5C60021F650 /* TableKit.framework */; };
DA9EA7DA1D0EC65B0021F650 /* TableKit.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = DA9EA7D61D0EC5C60021F650 /* TableKit.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
DAC2D5CA1C9D303E009E9C19 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DAC2D5C91C9D303E009E9C19 /* AppDelegate.swift */; };
DAC2D5CF1C9D30A7009E9C19 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DAC2D5CD1C9D30A7009E9C19 /* Main.storyboard */; };
DAC2D5D01C9D30A7009E9C19 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DAC2D5CE1C9D30A7009E9C19 /* LaunchScreen.storyboard */; };
@ -18,9 +19,47 @@
DACB717A1CC2D89D00432BD3 /* HeaderFooterController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DACB71791CC2D89D00432BD3 /* HeaderFooterController.swift */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
DA9EA7D51D0EC5C60021F650 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = DA9EA7D01D0EC5C50021F650 /* TableKit.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = DA9EA7561D0B679A0021F650;
remoteInfo = TableKit;
};
DA9EA7D71D0EC5C60021F650 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = DA9EA7D01D0EC5C50021F650 /* TableKit.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = DA9EA7C41D0EC45F0021F650;
remoteInfo = TableKitTests;
};
DA9EA7DB1D0EC65B0021F650 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = DA9EA7D01D0EC5C50021F650 /* TableKit.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = DA9EA7551D0B679A0021F650;
remoteInfo = TableKit;
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
DA9EA7DD1D0EC65B0021F650 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
DA9EA7DA1D0EC65B0021F650 /* TableKit.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
DA08A0521CF4E9B500BBF1F8 /* StoryboardImageTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StoryboardImageTableViewCell.swift; sourceTree = "<group>"; };
DA9EA7811D0B6B070021F650 /* TableKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = TableKit.framework; path = "../../../../../Library/Developer/Xcode/DerivedData/TableKit-blgxvmkyvpocltgadmpliruugomo/Build/Products/Debug-iphonesimulator/TableKit.framework"; sourceTree = "<group>"; };
DA9EA7D01D0EC5C50021F650 /* TableKit.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = TableKit.xcodeproj; path = ../TableKit.xcodeproj; sourceTree = "<group>"; };
DAB7EB271BEF787300D2AD5E /* TableKitDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TableKitDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
DAC2D5C91C9D303E009E9C19 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
DAC2D5CD1C9D30A7009E9C19 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
@ -37,7 +76,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
DA9EA7821D0B6B070021F650 /* TableKit.framework in Frameworks */,
DA9EA7D91D0EC65B0021F650 /* TableKit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -47,14 +86,23 @@
DA539C871CF50B1800368ACB /* Frameworks */ = {
isa = PBXGroup;
children = (
DA9EA7811D0B6B070021F650 /* TableKit.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
DA9EA7D11D0EC5C50021F650 /* Products */ = {
isa = PBXGroup;
children = (
DA9EA7D61D0EC5C60021F650 /* TableKit.framework */,
DA9EA7D81D0EC5C60021F650 /* TableKitTests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
DAB7EB1E1BEF787300D2AD5E = {
isa = PBXGroup;
children = (
DA9EA7D01D0EC5C50021F650 /* TableKit.xcodeproj */,
DAC2D5C61C9D2FE5009E9C19 /* Classes */,
DAC2D5CB1C9D3058009E9C19 /* Resources */,
DA539C871CF50B1800368ACB /* Frameworks */,
@ -151,10 +199,12 @@
DAB7EB231BEF787300D2AD5E /* Sources */,
DAB7EB241BEF787300D2AD5E /* Frameworks */,
DAB7EB251BEF787300D2AD5E /* Resources */,
DA9EA7DD1D0EC65B0021F650 /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
DA9EA7DC1D0EC65B0021F650 /* PBXTargetDependency */,
);
name = TableKitDemo;
productName = TabletDemo;
@ -188,6 +238,12 @@
mainGroup = DAB7EB1E1BEF787300D2AD5E;
productRefGroup = DAB7EB281BEF787300D2AD5E /* Products */;
projectDirPath = "";
projectReferences = (
{
ProductGroup = DA9EA7D11D0EC5C50021F650 /* Products */;
ProjectRef = DA9EA7D01D0EC5C50021F650 /* TableKit.xcodeproj */;
},
);
projectRoot = "";
targets = (
DAB7EB261BEF787300D2AD5E /* TableKitDemo */,
@ -195,6 +251,23 @@
};
/* End PBXProject section */
/* Begin PBXReferenceProxy section */
DA9EA7D61D0EC5C60021F650 /* TableKit.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = TableKit.framework;
remoteRef = DA9EA7D51D0EC5C60021F650 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
DA9EA7D81D0EC5C60021F650 /* TableKitTests.xctest */ = {
isa = PBXReferenceProxy;
fileType = wrapper.cfbundle;
path = TableKitTests.xctest;
remoteRef = DA9EA7D71D0EC5C60021F650 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXReferenceProxy section */
/* Begin PBXResourcesBuildPhase section */
DAB7EB251BEF787300D2AD5E /* Resources */ = {
isa = PBXResourcesBuildPhase;
@ -223,6 +296,14 @@
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
DA9EA7DC1D0EC65B0021F650 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = TableKit;
targetProxy = DA9EA7DB1D0EC65B0021F650 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
DAB7EB371BEF787300D2AD5E /* Debug */ = {
isa = XCBuildConfiguration;
@ -311,6 +392,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
EMBEDDED_CONTENT_CONTAINS_SWIFT = YES;
INFOPLIST_FILE = Resources/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
@ -326,6 +408,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
EMBEDDED_CONTENT_CONTAINS_SWIFT = YES;
INFOPLIST_FILE = Resources/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";

5
Package.swift Normal file
View File

@ -0,0 +1,5 @@
import PackageDescription
let package = Package(
name: "TableKit"
)

View File

@ -18,6 +18,8 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
import UIKit
public protocol RowBuilder {
func rowItems() -> [Row]?

View File

@ -2,7 +2,7 @@ Pod::Spec.new do |s|
s.name = 'TableKit'
s.module_name = 'TableKit'
s.version = '0.6.0'
s.version = '0.7.0'
s.homepage = 'https://github.com/maxsokolov/TableKit'
s.summary = 'Type-safe declarative table views. Swift 2.2 is required.'
@ -12,6 +12,6 @@ Pod::Spec.new do |s|
s.platforms = { :ios => '8.0' }
s.ios.deployment_target = '8.0'
s.source_files = 'TableKit/*.swift'
s.source_files = 'Sources/*.swift'
s.source = { :git => 'https://github.com/maxsokolov/TableKit.git', :tag => s.version }
end

View File

@ -7,31 +7,44 @@
objects = {
/* Begin PBXBuildFile section */
DA9EA7711D0B68460021F650 /* ConfigurableCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA7681D0B68460021F650 /* ConfigurableCell.swift */; };
DA9EA7721D0B68460021F650 /* HeightStrategy.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA7691D0B68460021F650 /* HeightStrategy.swift */; };
DA9EA7731D0B68460021F650 /* Operators.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA76A1D0B68460021F650 /* Operators.swift */; };
DA9EA7741D0B68460021F650 /* TableDirector.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA76B1D0B68460021F650 /* TableDirector.swift */; };
DA9EA7751D0B68460021F650 /* TableRow.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA76C1D0B68460021F650 /* TableRow.swift */; };
DA9EA7761D0B68460021F650 /* TableRowAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA76D1D0B68460021F650 /* TableRowAction.swift */; };
DA9EA7781D0B68460021F650 /* TableSection.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA76F1D0B68460021F650 /* TableSection.swift */; };
DA9EA7791D0B68460021F650 /* TableCellAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA7701D0B68460021F650 /* TableCellAction.swift */; };
DA9EA7801D0B689C0021F650 /* TableKit.h in Headers */ = {isa = PBXBuildFile; fileRef = DA9EA77E1D0B689C0021F650 /* TableKit.h */; settings = {ATTRIBUTES = (Public, ); }; };
DA9EA7861D0DFAD60021F650 /* TableRowBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA7851D0DFAD60021F650 /* TableRowBuilder.swift */; };
DA9EA7AF1D0EC2C90021F650 /* ConfigurableCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA7A61D0EC2C90021F650 /* ConfigurableCell.swift */; };
DA9EA7B01D0EC2C90021F650 /* HeightStrategy.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA7A71D0EC2C90021F650 /* HeightStrategy.swift */; };
DA9EA7B11D0EC2C90021F650 /* Operators.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA7A81D0EC2C90021F650 /* Operators.swift */; };
DA9EA7B21D0EC2C90021F650 /* TableCellAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA7A91D0EC2C90021F650 /* TableCellAction.swift */; };
DA9EA7B31D0EC2C90021F650 /* TableDirector.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA7AA1D0EC2C90021F650 /* TableDirector.swift */; };
DA9EA7B41D0EC2C90021F650 /* TableRow.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA7AB1D0EC2C90021F650 /* TableRow.swift */; };
DA9EA7B51D0EC2C90021F650 /* TableRowAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA7AC1D0EC2C90021F650 /* TableRowAction.swift */; };
DA9EA7B61D0EC2C90021F650 /* TableRowBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA7AD1D0EC2C90021F650 /* TableRowBuilder.swift */; };
DA9EA7B71D0EC2C90021F650 /* TableSection.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA7AE1D0EC2C90021F650 /* TableSection.swift */; };
DA9EA7C91D0EC45F0021F650 /* TableKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA9EA7561D0B679A0021F650 /* TableKit.framework */; };
DA9EA7CF1D0EC4930021F650 /* TableKitTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA7BE1D0EC41D0021F650 /* TableKitTests.swift */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
DA9EA7CA1D0EC45F0021F650 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = DA9EA74D1D0B679A0021F650 /* Project object */;
proxyType = 1;
remoteGlobalIDString = DA9EA7551D0B679A0021F650;
remoteInfo = TableKit;
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
DA9EA7561D0B679A0021F650 /* TableKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = TableKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
DA9EA7681D0B68460021F650 /* ConfigurableCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ConfigurableCell.swift; sourceTree = "<group>"; };
DA9EA7691D0B68460021F650 /* HeightStrategy.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HeightStrategy.swift; sourceTree = "<group>"; };
DA9EA76A1D0B68460021F650 /* Operators.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Operators.swift; sourceTree = "<group>"; };
DA9EA76B1D0B68460021F650 /* TableDirector.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableDirector.swift; sourceTree = "<group>"; };
DA9EA76C1D0B68460021F650 /* TableRow.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableRow.swift; sourceTree = "<group>"; };
DA9EA76D1D0B68460021F650 /* TableRowAction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableRowAction.swift; sourceTree = "<group>"; };
DA9EA76F1D0B68460021F650 /* TableSection.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableSection.swift; sourceTree = "<group>"; };
DA9EA7701D0B68460021F650 /* TableCellAction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableCellAction.swift; sourceTree = "<group>"; };
DA9EA77D1D0B689C0021F650 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
DA9EA77E1D0B689C0021F650 /* TableKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TableKit.h; sourceTree = "<group>"; };
DA9EA7851D0DFAD60021F650 /* TableRowBuilder.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableRowBuilder.swift; sourceTree = "<group>"; };
DA9EA7A61D0EC2C90021F650 /* ConfigurableCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ConfigurableCell.swift; sourceTree = "<group>"; };
DA9EA7A71D0EC2C90021F650 /* HeightStrategy.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HeightStrategy.swift; sourceTree = "<group>"; };
DA9EA7A81D0EC2C90021F650 /* Operators.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Operators.swift; sourceTree = "<group>"; };
DA9EA7A91D0EC2C90021F650 /* TableCellAction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableCellAction.swift; sourceTree = "<group>"; };
DA9EA7AA1D0EC2C90021F650 /* TableDirector.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableDirector.swift; sourceTree = "<group>"; };
DA9EA7AB1D0EC2C90021F650 /* TableRow.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableRow.swift; sourceTree = "<group>"; };
DA9EA7AC1D0EC2C90021F650 /* TableRowAction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableRowAction.swift; sourceTree = "<group>"; };
DA9EA7AD1D0EC2C90021F650 /* TableRowBuilder.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableRowBuilder.swift; sourceTree = "<group>"; };
DA9EA7AE1D0EC2C90021F650 /* TableSection.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableSection.swift; sourceTree = "<group>"; };
DA9EA7B91D0EC34E0021F650 /* TableKit.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = TableKit.plist; sourceTree = "<group>"; };
DA9EA7BA1D0EC34E0021F650 /* TableKitTests.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = TableKitTests.plist; sourceTree = "<group>"; };
DA9EA7BE1D0EC41D0021F650 /* TableKitTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableKitTests.swift; sourceTree = "<group>"; };
DA9EA7C41D0EC45F0021F650 /* TableKitTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TableKitTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@ -42,15 +55,24 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
DA9EA7C11D0EC45F0021F650 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
DA9EA7C91D0EC45F0021F650 /* TableKit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
DA9EA74C1D0B679A0021F650 = {
isa = PBXGroup;
children = (
DA9EA7671D0B68340021F650 /* Classes */,
DA9EA7B81D0EC31B0021F650 /* Configs */,
DA9EA7571D0B679A0021F650 /* Products */,
DA9EA77C1D0B68860021F650 /* Supporting Files */,
DA9EA7A51D0EC2B90021F650 /* Sources */,
DA9EA7BD1D0EC3D70021F650 /* Tests */,
);
sourceTree = "<group>";
};
@ -58,33 +80,42 @@
isa = PBXGroup;
children = (
DA9EA7561D0B679A0021F650 /* TableKit.framework */,
DA9EA7C41D0EC45F0021F650 /* TableKitTests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
DA9EA7671D0B68340021F650 /* Classes */ = {
DA9EA7A51D0EC2B90021F650 /* Sources */ = {
isa = PBXGroup;
children = (
DA9EA76B1D0B68460021F650 /* TableDirector.swift */,
DA9EA76F1D0B68460021F650 /* TableSection.swift */,
DA9EA76C1D0B68460021F650 /* TableRow.swift */,
DA9EA7851D0DFAD60021F650 /* TableRowBuilder.swift */,
DA9EA76D1D0B68460021F650 /* TableRowAction.swift */,
DA9EA7701D0B68460021F650 /* TableCellAction.swift */,
DA9EA7681D0B68460021F650 /* ConfigurableCell.swift */,
DA9EA7691D0B68460021F650 /* HeightStrategy.swift */,
DA9EA76A1D0B68460021F650 /* Operators.swift */,
DA9EA7AA1D0EC2C90021F650 /* TableDirector.swift */,
DA9EA7AB1D0EC2C90021F650 /* TableRow.swift */,
DA9EA7AD1D0EC2C90021F650 /* TableRowBuilder.swift */,
DA9EA7AC1D0EC2C90021F650 /* TableRowAction.swift */,
DA9EA7AE1D0EC2C90021F650 /* TableSection.swift */,
DA9EA7A91D0EC2C90021F650 /* TableCellAction.swift */,
DA9EA7A61D0EC2C90021F650 /* ConfigurableCell.swift */,
DA9EA7A81D0EC2C90021F650 /* Operators.swift */,
DA9EA7A71D0EC2C90021F650 /* HeightStrategy.swift */,
);
name = Classes;
path = Sources;
sourceTree = "<group>";
};
DA9EA77C1D0B68860021F650 /* Supporting Files */ = {
DA9EA7B81D0EC31B0021F650 /* Configs */ = {
isa = PBXGroup;
children = (
DA9EA77D1D0B689C0021F650 /* Info.plist */,
DA9EA77E1D0B689C0021F650 /* TableKit.h */,
DA9EA7B91D0EC34E0021F650 /* TableKit.plist */,
DA9EA7BA1D0EC34E0021F650 /* TableKitTests.plist */,
);
name = "Supporting Files";
path = Configs;
sourceTree = "<group>";
};
DA9EA7BD1D0EC3D70021F650 /* Tests */ = {
isa = PBXGroup;
children = (
DA9EA7BE1D0EC41D0021F650 /* TableKitTests.swift */,
);
path = Tests;
sourceTree = "<group>";
};
/* End PBXGroup section */
@ -94,7 +125,6 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
DA9EA7801D0B689C0021F650 /* TableKit.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -119,18 +149,40 @@
productReference = DA9EA7561D0B679A0021F650 /* TableKit.framework */;
productType = "com.apple.product-type.framework";
};
DA9EA7C31D0EC45F0021F650 /* TableKitTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = DA9EA7CC1D0EC45F0021F650 /* Build configuration list for PBXNativeTarget "TableKitTests" */;
buildPhases = (
DA9EA7C01D0EC45F0021F650 /* Sources */,
DA9EA7C11D0EC45F0021F650 /* Frameworks */,
DA9EA7C21D0EC45F0021F650 /* Resources */,
);
buildRules = (
);
dependencies = (
DA9EA7CB1D0EC45F0021F650 /* PBXTargetDependency */,
);
name = TableKitTests;
productName = TableKitTests;
productReference = DA9EA7C41D0EC45F0021F650 /* TableKitTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
DA9EA74D1D0B679A0021F650 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0730;
LastUpgradeCheck = 0730;
ORGANIZATIONNAME = "Max Sokolov";
TargetAttributes = {
DA9EA7551D0B679A0021F650 = {
CreatedOnToolsVersion = 7.3;
};
DA9EA7C31D0EC45F0021F650 = {
CreatedOnToolsVersion = 7.3;
};
};
};
buildConfigurationList = DA9EA7501D0B679A0021F650 /* Build configuration list for PBXProject "TableKit" */;
@ -146,6 +198,7 @@
projectRoot = "";
targets = (
DA9EA7551D0B679A0021F650 /* TableKit */,
DA9EA7C31D0EC45F0021F650 /* TableKitTests */,
);
};
/* End PBXProject section */
@ -158,6 +211,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
DA9EA7C21D0EC45F0021F650 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
@ -165,20 +225,36 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
DA9EA7711D0B68460021F650 /* ConfigurableCell.swift in Sources */,
DA9EA7721D0B68460021F650 /* HeightStrategy.swift in Sources */,
DA9EA7781D0B68460021F650 /* TableSection.swift in Sources */,
DA9EA7751D0B68460021F650 /* TableRow.swift in Sources */,
DA9EA7761D0B68460021F650 /* TableRowAction.swift in Sources */,
DA9EA7741D0B68460021F650 /* TableDirector.swift in Sources */,
DA9EA7861D0DFAD60021F650 /* TableRowBuilder.swift in Sources */,
DA9EA7791D0B68460021F650 /* TableCellAction.swift in Sources */,
DA9EA7731D0B68460021F650 /* Operators.swift in Sources */,
DA9EA7AF1D0EC2C90021F650 /* ConfigurableCell.swift in Sources */,
DA9EA7B31D0EC2C90021F650 /* TableDirector.swift in Sources */,
DA9EA7B71D0EC2C90021F650 /* TableSection.swift in Sources */,
DA9EA7B01D0EC2C90021F650 /* HeightStrategy.swift in Sources */,
DA9EA7B51D0EC2C90021F650 /* TableRowAction.swift in Sources */,
DA9EA7B21D0EC2C90021F650 /* TableCellAction.swift in Sources */,
DA9EA7B11D0EC2C90021F650 /* Operators.swift in Sources */,
DA9EA7B41D0EC2C90021F650 /* TableRow.swift in Sources */,
DA9EA7B61D0EC2C90021F650 /* TableRowBuilder.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
DA9EA7C01D0EC45F0021F650 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
DA9EA7CF1D0EC4930021F650 /* TableKitTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
DA9EA7CB1D0EC45F0021F650 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = DA9EA7551D0B679A0021F650 /* TableKit */;
targetProxy = DA9EA7CA1D0EC45F0021F650 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
DA9EA75C1D0B679A0021F650 /* Debug */ = {
isa = XCBuildConfiguration;
@ -218,7 +294,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@ -261,7 +337,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
@ -279,7 +355,7 @@
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "$(SRCROOT)/Info.plist";
INFOPLIST_FILE = "$(SRCROOT)/Configs/TableKit.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
@ -298,7 +374,7 @@
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "$(SRCROOT)/Info.plist";
INFOPLIST_FILE = "$(SRCROOT)/Configs/TableKit.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
@ -308,6 +384,28 @@
};
name = Release;
};
DA9EA7CD1D0EC45F0021F650 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
INFOPLIST_FILE = Configs/TableKitTests.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.tablekit.TableKitTests;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
DA9EA7CE1D0EC45F0021F650 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
INFOPLIST_FILE = Configs/TableKitTests.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.tablekit.TableKitTests;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
@ -329,6 +427,14 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
DA9EA7CC1D0EC45F0021F650 /* Build configuration list for PBXNativeTarget "TableKitTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
DA9EA7CD1D0EC45F0021F650 /* Debug */,
DA9EA7CE1D0EC45F0021F650 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = DA9EA74D1D0B679A0021F650 /* Project object */;

View File

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

View File

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

View File

@ -1,19 +0,0 @@
//
// TableKit.h
// TableKit
//
// Created by Max Sokolov on 11/06/16.
// Copyright © 2016 Max Sokolov. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for TableKit.
FOUNDATION_EXPORT double TableKitVersionNumber;
//! Project version string for TableKit.
FOUNDATION_EXPORT const unsigned char TableKitVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <TableKit/PublicHeader.h>

View File

@ -19,7 +19,7 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
import XCTest
import Tablet
import TableKit
class TestController: UITableViewController {
@ -45,7 +45,7 @@ struct TestTableViewCellOptions {
static let EstimatedHeight: Float = 255
}
class TestTableViewCell: UITableViewCell, ConfigurableCell {
/*class TestTableViewCell: UITableViewCell, ConfigurableCell {
typealias T = TestData
@ -197,4 +197,4 @@ class TabletTests: XCTestCase {
waitForExpectationsWithTimeout(1.0, handler: nil)
}
}
}*/