diff --git a/.travis.yml b/.travis.yml index 99f321d..f57eb70 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,4 +8,4 @@ before_install: - brew reinstall --HEAD xctool - cd Tablet script: - - xctool clean build test -project Tablet.xcodeproj -scheme Tablet -sdk iphonesimulator \ No newline at end of file + - xctool clean build test -project TableKit.xcodeproj -scheme TableKit -sdk iphonesimulator \ No newline at end of file diff --git a/README.md b/README.md index c543553..c9c36fd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -![Alamofire: Elegant Networking in Swift](https://raw.githubusercontent.com/maxsokolov/tablet/assets/logo.png) +![TableKit](https://raw.githubusercontent.com/maxsokolov/tablekit/assets/logo.png) -#Tablet.swift +#TableKit

Build Status @@ -10,7 +10,7 @@ License: MIT

-Tablet is a super lightweight yet powerful generic library that handles a complexity of UITableView's datasource and delegate methods in a Swift environment. Tablet's goal is to provide an easiest way to create complex table views. With Tablet you don't have to write a messy code of `switch` or `if` statements when you deal with bunch of different cells in different sections. +TableKit is a super lightweight yet powerful generic library that handles a complexity of UITableView's datasource and delegate methods in a Swift environment. Tablet's goal is to provide an easiest way to create complex table views. With Tablet you don't have to write a messy code of `switch` or `if` statements when you deal with bunch of different cells in different sections. ## Features @@ -24,179 +24,6 @@ Tablet is a super lightweight yet powerful generic library that handles a comple - [x] Extensibility - [x] Tests -That's almost all you need to build a bunch of cells in a section: -```swift -let builder = TableRowBuilder(items: ["1", "2", "3", "4", "5"]) -``` -Tablet relies on self-sizing table view cells, respects cells reusability feature and also built with performace in mind. You don't have to worry about anything, just create your cells, setup autolayout constraints and be happy. See the Usage section to learn more. - -## Requirements - -- iOS 8.0+ -- Xcode 7.0+ -- Swift 2.2 - -## Installation - -### CocoaPods -To integrate Tablet into your Xcode project using CocoaPods, specify it in your `Podfile`: - -```ruby -source 'https://github.com/CocoaPods/Specs.git' -platform :ios, '8.0' -use_frameworks! - -pod 'Tablet' -``` - -Then, run the following command: - -```bash -$ pod install -``` - -## Usage - -### Type-safe configurable cells - -Let's say you want to put your cell configuration logic into cell itself. Say you want to pass your view model (or even model) to your cell. -You could easily do this using the `TableRowBuilder`. Your cell should conforms to `ConfigurableCell` protocol as you may see in example below: - -```swift -import Tablet - -class MyTableViewCell : UITableViewCell, ConfigurableCell { - - typealias T = User - - // this method is not required to be implemented if your cell's id equals to class name - static func reusableIdentifier() -> String { - return "reusable_id" - } - - static func estimatedHeight() -> Float { - return 255 - } - - func configure(item: T) { // item is user here - - textLabel?.text = item.username - detailTextLabel?.text = item.isActive ? "Active" : "Inactive" - } -} -``` -Once you've implemented the protocol, simply use the `TableRowBuilder` to build cells: - -```swift -import Tablet - -let rowBuilder = TableRowBuilder() -rowBuilder += users - -director = TableDirector(tableView: tableView) -tableDirector += TableSectionBuilder(rows: [rowBuilder]) -``` - -### Very basic table view - -You may want to setup a very basic table view, without any custom cells. In that case simply use the `TableBaseRowBuilder`. - -```swift -import Tablet - -let rowBuilder = TableBaseRowBuilder(items: [user1, user2, user3], id: "reusable_id") - .action(.configure) { (data) in - - data.cell?.textLabel?.text = data.item.username - data.cell?.detailTextLabel?.text = data.item.isActive ? "Active" : "Inactive" - } - -let sectionBuilder = TableSectionBuilder(headerTitle: "Users", footerTitle: nil, rows: [rowBuilder]) - -director = TableDirector(tableView: tableView) -director += sectionBuilder -``` - -### Cell actions - -Tablet provides a chaining approach to handle actions from your cells: - -```swift -import Tablet - -let rowBuilder = TableRowBuilder(items: [user1, user2, user3], id: "reusable_id") - .action(.configure) { (data) in - - } - .action(.click) { (data) in - - } - .valueAction(.shouldHighlight) { (data) in - - return false - } -``` - -### Custom cell actions -```swift -import Tablet - -struct MyCellActions { - static let ButtonClicked = "ButtonClicked" -} - -class MyTableViewCell : UITableViewCell { - - @IBAction func buttonClicked(sender: UIButton) { - - Action(key: MyCellActions.ButtonClicked, sender: self, userInfo: nil).invoke() - } -} -``` -And receive this actions with your row builder: -```swift -import Tablet - -let rowBuilder = TableRowBuilder(items: users) - .action(.click) { (data) in - - } - .action(.willDisplay) { (data) in - - } - .action(MyCellActions.ButtonClicked) { (data) in - - } -``` - -## Extensibility - -If you find that Tablet is not provide an action you need, for example you need UITableViewDelegate's `didEndDisplayingCell` method and it's not out of the box, -simply provide an extension for `TableDirector`: -```swift -import Tablet - -struct MyTableActions { - static let DidEndDisplayingCell = "DidEndDisplayingCell" -} - -extension TableDirector { - - public func tableView(tableView: UITableView, didEndDisplayingCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath) { - - invoke(action: .custom(MyTableActions.DidEndDisplayingCell), cell: cell, indexPath: indexPath) - } -} -``` -Catch your action with row builder: -```swift -let rowBuilder = TableRowBuilder(items: users) - .action(MyTableActions.DidEndDisplayingCell) { (data) -> Void in - - } -``` -You could also invoke an action that returns a value. - ## License Tablet is available under the MIT license. See LICENSE for details. \ No newline at end of file diff --git a/Tablet.podspec b/TableKit.podspec similarity index 54% rename from Tablet.podspec rename to TableKit.podspec index c5be448..cdabc6c 100644 --- a/Tablet.podspec +++ b/TableKit.podspec @@ -1,17 +1,17 @@ Pod::Spec.new do |s| - s.name = 'Tablet' - s.module_name = 'Tablet' + s.name = 'TableKit' + s.module_name = 'TableKit' - s.version = '0.5.0' + s.version = '0.6.0' - s.homepage = 'https://github.com/maxsokolov/Tablet.swift' - s.summary = 'Powerful type-safe tool for UITableView. Swift 2.2 is required.' + s.homepage = 'https://github.com/maxsokolov/TableKit' + s.summary = 'Type-safe declarative table views. Swift 2.2 is required.' s.author = { 'Max Sokolov' => 'i@maxsokolov.net' } s.license = { :type => 'MIT', :file => 'LICENSE' } s.platforms = { :ios => '8.0' } s.ios.deployment_target = '8.0' - s.source_files = 'Tablet/*.swift' - s.source = { :git => 'https://github.com/maxsokolov/Tablet.swift.git', :tag => s.version } + s.source_files = 'TableKit/*.swift' + s.source = { :git => 'https://github.com/maxsokolov/TableKit.git', :tag => s.version } end \ No newline at end of file diff --git a/Tablet.xcworkspace/contents.xcworkspacedata b/TableKit.xcworkspace/contents.xcworkspacedata similarity index 53% rename from Tablet.xcworkspace/contents.xcworkspacedata rename to TableKit.xcworkspace/contents.xcworkspacedata index 8a2fad4..134624f 100644 --- a/Tablet.xcworkspace/contents.xcworkspacedata +++ b/TableKit.xcworkspace/contents.xcworkspacedata @@ -2,9 +2,9 @@ + location = "group:TableKit/TableKit.xcodeproj"> + location = "group:TableKitDemo/TableKitDemo.xcodeproj"> diff --git a/Tablet/ConfigurableCell.swift b/TableKit/ConfigurableCell.swift similarity index 100% rename from Tablet/ConfigurableCell.swift rename to TableKit/ConfigurableCell.swift diff --git a/Tablet/HeightStrategy.swift b/TableKit/HeightStrategy.swift similarity index 100% rename from Tablet/HeightStrategy.swift rename to TableKit/HeightStrategy.swift diff --git a/Tablet/Info.plist b/TableKit/Info.plist similarity index 100% rename from Tablet/Info.plist rename to TableKit/Info.plist diff --git a/Tablet/Operators.swift b/TableKit/Operators.swift similarity index 100% rename from Tablet/Operators.swift rename to TableKit/Operators.swift diff --git a/Tablet/TableDirector.swift b/TableKit/TableDirector.swift similarity index 100% rename from Tablet/TableDirector.swift rename to TableKit/TableDirector.swift diff --git a/TableKit/TableKit.h b/TableKit/TableKit.h new file mode 100644 index 0000000..c63484c --- /dev/null +++ b/TableKit/TableKit.h @@ -0,0 +1,19 @@ +// +// TableKit.h +// TableKit +// +// Created by Max Sokolov on 11/06/16. +// Copyright © 2016 Max Sokolov. All rights reserved. +// + +#import + +//! 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 + + diff --git a/TableKit/TableKit.xcodeproj/project.pbxproj b/TableKit/TableKit.xcodeproj/project.pbxproj new file mode 100644 index 0000000..bf9dc87 --- /dev/null +++ b/TableKit/TableKit.xcodeproj/project.pbxproj @@ -0,0 +1,335 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + 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 */; }; + DA9EA7771D0B68460021F650 /* TableRowBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA76E1D0B68460021F650 /* TableRowBuilder.swift */; }; + DA9EA7781D0B68460021F650 /* TableSection.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA76F1D0B68460021F650 /* TableSection.swift */; }; + DA9EA7791D0B68460021F650 /* Tablet.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA7701D0B68460021F650 /* Tablet.swift */; }; + DA9EA7801D0B689C0021F650 /* TableKit.h in Headers */ = {isa = PBXBuildFile; fileRef = DA9EA77E1D0B689C0021F650 /* TableKit.h */; settings = {ATTRIBUTES = (Public, ); }; }; +/* End PBXBuildFile 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 = ""; }; + DA9EA7691D0B68460021F650 /* HeightStrategy.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HeightStrategy.swift; sourceTree = ""; }; + DA9EA76A1D0B68460021F650 /* Operators.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Operators.swift; sourceTree = ""; }; + DA9EA76B1D0B68460021F650 /* TableDirector.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableDirector.swift; sourceTree = ""; }; + DA9EA76C1D0B68460021F650 /* TableRow.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableRow.swift; sourceTree = ""; }; + DA9EA76D1D0B68460021F650 /* TableRowAction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableRowAction.swift; sourceTree = ""; }; + DA9EA76E1D0B68460021F650 /* TableRowBuilder.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableRowBuilder.swift; sourceTree = ""; }; + DA9EA76F1D0B68460021F650 /* TableSection.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableSection.swift; sourceTree = ""; }; + DA9EA7701D0B68460021F650 /* Tablet.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Tablet.swift; sourceTree = ""; }; + DA9EA77D1D0B689C0021F650 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + DA9EA77E1D0B689C0021F650 /* TableKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TableKit.h; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + DA9EA7521D0B679A0021F650 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + DA9EA74C1D0B679A0021F650 = { + isa = PBXGroup; + children = ( + DA9EA7671D0B68340021F650 /* Classes */, + DA9EA7571D0B679A0021F650 /* Products */, + DA9EA77C1D0B68860021F650 /* Supporting Files */, + ); + sourceTree = ""; + }; + DA9EA7571D0B679A0021F650 /* Products */ = { + isa = PBXGroup; + children = ( + DA9EA7561D0B679A0021F650 /* TableKit.framework */, + ); + name = Products; + sourceTree = ""; + }; + DA9EA7671D0B68340021F650 /* Classes */ = { + isa = PBXGroup; + children = ( + DA9EA7681D0B68460021F650 /* ConfigurableCell.swift */, + DA9EA7691D0B68460021F650 /* HeightStrategy.swift */, + DA9EA76A1D0B68460021F650 /* Operators.swift */, + DA9EA76B1D0B68460021F650 /* TableDirector.swift */, + DA9EA76C1D0B68460021F650 /* TableRow.swift */, + DA9EA76D1D0B68460021F650 /* TableRowAction.swift */, + DA9EA76E1D0B68460021F650 /* TableRowBuilder.swift */, + DA9EA76F1D0B68460021F650 /* TableSection.swift */, + DA9EA7701D0B68460021F650 /* Tablet.swift */, + ); + name = Classes; + sourceTree = ""; + }; + DA9EA77C1D0B68860021F650 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + DA9EA77D1D0B689C0021F650 /* Info.plist */, + DA9EA77E1D0B689C0021F650 /* TableKit.h */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + DA9EA7531D0B679A0021F650 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + DA9EA7801D0B689C0021F650 /* TableKit.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + DA9EA7551D0B679A0021F650 /* TableKit */ = { + isa = PBXNativeTarget; + buildConfigurationList = DA9EA75E1D0B679A0021F650 /* Build configuration list for PBXNativeTarget "TableKit" */; + buildPhases = ( + DA9EA7511D0B679A0021F650 /* Sources */, + DA9EA7521D0B679A0021F650 /* Frameworks */, + DA9EA7531D0B679A0021F650 /* Headers */, + DA9EA7541D0B679A0021F650 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = TableKit; + productName = TableKit; + productReference = DA9EA7561D0B679A0021F650 /* TableKit.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + DA9EA74D1D0B679A0021F650 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0730; + ORGANIZATIONNAME = "Max Sokolov"; + TargetAttributes = { + DA9EA7551D0B679A0021F650 = { + CreatedOnToolsVersion = 7.3; + }; + }; + }; + buildConfigurationList = DA9EA7501D0B679A0021F650 /* Build configuration list for PBXProject "TableKit" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = DA9EA74C1D0B679A0021F650; + productRefGroup = DA9EA7571D0B679A0021F650 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + DA9EA7551D0B679A0021F650 /* TableKit */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + DA9EA7541D0B679A0021F650 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + DA9EA7511D0B679A0021F650 /* Sources */ = { + 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 */, + DA9EA7771D0B68460021F650 /* TableRowBuilder.swift in Sources */, + DA9EA7791D0B68460021F650 /* Tablet.swift in Sources */, + DA9EA7731D0B68460021F650 /* Operators.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + DA9EA75C1D0B679A0021F650 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + 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_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + 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 = 9.3; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + DA9EA75D1D0B679A0021F650 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + 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_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + 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 = 9.3; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + DA9EA75F1D0B679A0021F650 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "$(SRCROOT)/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.tablekit.TableKit; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + DA9EA7601D0B679A0021F650 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "$(SRCROOT)/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.tablekit.TableKit; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DA9EA7501D0B679A0021F650 /* Build configuration list for PBXProject "TableKit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DA9EA75C1D0B679A0021F650 /* Debug */, + DA9EA75D1D0B679A0021F650 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DA9EA75E1D0B679A0021F650 /* Build configuration list for PBXNativeTarget "TableKit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DA9EA75F1D0B679A0021F650 /* Debug */, + DA9EA7601D0B679A0021F650 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DA9EA74D1D0B679A0021F650 /* Project object */; +} diff --git a/Tablet/TableRow.swift b/TableKit/TableRow.swift similarity index 100% rename from Tablet/TableRow.swift rename to TableKit/TableRow.swift diff --git a/Tablet/TableRowAction.swift b/TableKit/TableRowAction.swift similarity index 100% rename from Tablet/TableRowAction.swift rename to TableKit/TableRowAction.swift diff --git a/Tablet/TableRowBuilder.swift b/TableKit/TableRowBuilder.swift similarity index 100% rename from Tablet/TableRowBuilder.swift rename to TableKit/TableRowBuilder.swift diff --git a/Tablet/TableSection.swift b/TableKit/TableSection.swift similarity index 100% rename from Tablet/TableSection.swift rename to TableKit/TableSection.swift diff --git a/Tablet/Tablet.swift b/TableKit/Tablet.swift similarity index 100% rename from Tablet/Tablet.swift rename to TableKit/Tablet.swift diff --git a/TabletDemo/Classes/Application/AppDelegate.swift b/TableKitDemo/Classes/Application/AppDelegate.swift similarity index 100% rename from TabletDemo/Classes/Application/AppDelegate.swift rename to TableKitDemo/Classes/Application/AppDelegate.swift diff --git a/TabletDemo/Classes/Presentation/Controllers/HeaderFooterController.swift b/TableKitDemo/Classes/Presentation/Controllers/HeaderFooterController.swift similarity index 98% rename from TabletDemo/Classes/Presentation/Controllers/HeaderFooterController.swift rename to TableKitDemo/Classes/Presentation/Controllers/HeaderFooterController.swift index 47c030d..6c8d62f 100644 --- a/TabletDemo/Classes/Presentation/Controllers/HeaderFooterController.swift +++ b/TableKitDemo/Classes/Presentation/Controllers/HeaderFooterController.swift @@ -7,7 +7,7 @@ // import UIKit -import Tablet +import TableKit class HeaderFooterController: UIViewController { diff --git a/TabletDemo/Classes/Presentation/Controllers/MainController.swift b/TableKitDemo/Classes/Presentation/Controllers/MainController.swift similarity index 99% rename from TabletDemo/Classes/Presentation/Controllers/MainController.swift rename to TableKitDemo/Classes/Presentation/Controllers/MainController.swift index 0a803a5..9a2f174 100644 --- a/TabletDemo/Classes/Presentation/Controllers/MainController.swift +++ b/TableKitDemo/Classes/Presentation/Controllers/MainController.swift @@ -7,7 +7,7 @@ // import UIKit -import Tablet +import TableKit class MainController: UIViewController { diff --git a/TabletDemo/Classes/Presentation/Views/StoryboardImageTableViewCell.swift b/TableKitDemo/Classes/Presentation/Views/StoryboardImageTableViewCell.swift similarity index 98% rename from TabletDemo/Classes/Presentation/Views/StoryboardImageTableViewCell.swift rename to TableKitDemo/Classes/Presentation/Views/StoryboardImageTableViewCell.swift index 45bf5b6..c809967 100644 --- a/TabletDemo/Classes/Presentation/Views/StoryboardImageTableViewCell.swift +++ b/TableKitDemo/Classes/Presentation/Views/StoryboardImageTableViewCell.swift @@ -7,7 +7,7 @@ // import UIKit -import Tablet +import TableKit class StoryboardImageTableViewCell: UITableViewCell, ConfigurableCell { diff --git a/TabletDemo/Classes/Presentation/Views/StoryboardTableViewCell.swift b/TableKitDemo/Classes/Presentation/Views/StoryboardTableViewCell.swift similarity index 95% rename from TabletDemo/Classes/Presentation/Views/StoryboardTableViewCell.swift rename to TableKitDemo/Classes/Presentation/Views/StoryboardTableViewCell.swift index 1f06499..8180860 100644 --- a/TabletDemo/Classes/Presentation/Views/StoryboardTableViewCell.swift +++ b/TableKitDemo/Classes/Presentation/Views/StoryboardTableViewCell.swift @@ -7,7 +7,7 @@ // import UIKit -import Tablet +import TableKit class StoryboardTableViewCell: UITableViewCell, ConfigurableCell { diff --git a/TabletDemo/Resources/Assets/Assets.xcassets/AppIcon.appiconset/Contents.json b/TableKitDemo/Resources/Assets/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from TabletDemo/Resources/Assets/Assets.xcassets/AppIcon.appiconset/Contents.json rename to TableKitDemo/Resources/Assets/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/TabletDemo/Resources/Info.plist b/TableKitDemo/Resources/Info.plist similarity index 100% rename from TabletDemo/Resources/Info.plist rename to TableKitDemo/Resources/Info.plist diff --git a/TabletDemo/Resources/Storyboards/LaunchScreen.storyboard b/TableKitDemo/Resources/Storyboards/LaunchScreen.storyboard similarity index 100% rename from TabletDemo/Resources/Storyboards/LaunchScreen.storyboard rename to TableKitDemo/Resources/Storyboards/LaunchScreen.storyboard diff --git a/TabletDemo/Resources/Storyboards/Main.storyboard b/TableKitDemo/Resources/Storyboards/Main.storyboard similarity index 100% rename from TabletDemo/Resources/Storyboards/Main.storyboard rename to TableKitDemo/Resources/Storyboards/Main.storyboard diff --git a/TableKitDemo/TableKitDemo.xcodeproj/project.pbxproj b/TableKitDemo/TableKitDemo.xcodeproj/project.pbxproj new file mode 100644 index 0000000..9175ff7 --- /dev/null +++ b/TableKitDemo/TableKitDemo.xcodeproj/project.pbxproj @@ -0,0 +1,362 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* 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 */; }; + 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 */; }; + DAC2D69C1C9E75E3009E9C19 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DAC2D69B1C9E75E3009E9C19 /* Assets.xcassets */; }; + DACB71761CC2D63D00432BD3 /* MainController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DACB71751CC2D63D00432BD3 /* MainController.swift */; }; + DACB71781CC2D6ED00432BD3 /* StoryboardTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = DACB71771CC2D6ED00432BD3 /* StoryboardTableViewCell.swift */; }; + DACB717A1CC2D89D00432BD3 /* HeaderFooterController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DACB71791CC2D89D00432BD3 /* HeaderFooterController.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + DA08A0521CF4E9B500BBF1F8 /* StoryboardImageTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StoryboardImageTableViewCell.swift; sourceTree = ""; }; + 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 = ""; }; + 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 = ""; }; + DAC2D5CD1C9D30A7009E9C19 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; + DAC2D5CE1C9D30A7009E9C19 /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = ""; }; + DAC2D69B1C9E75E3009E9C19 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + DAC2D69D1C9E78B5009E9C19 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + DACB71751CC2D63D00432BD3 /* MainController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MainController.swift; sourceTree = ""; }; + DACB71771CC2D6ED00432BD3 /* StoryboardTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StoryboardTableViewCell.swift; sourceTree = ""; }; + DACB71791CC2D89D00432BD3 /* HeaderFooterController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HeaderFooterController.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + DAB7EB241BEF787300D2AD5E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + DA9EA7821D0B6B070021F650 /* TableKit.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + DA539C871CF50B1800368ACB /* Frameworks */ = { + isa = PBXGroup; + children = ( + DA9EA7811D0B6B070021F650 /* TableKit.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + DAB7EB1E1BEF787300D2AD5E = { + isa = PBXGroup; + children = ( + DAC2D5C61C9D2FE5009E9C19 /* Classes */, + DAC2D5CB1C9D3058009E9C19 /* Resources */, + DA539C871CF50B1800368ACB /* Frameworks */, + DAB7EB281BEF787300D2AD5E /* Products */, + ); + sourceTree = ""; + }; + DAB7EB281BEF787300D2AD5E /* Products */ = { + isa = PBXGroup; + children = ( + DAB7EB271BEF787300D2AD5E /* TableKitDemo.app */, + ); + name = Products; + sourceTree = ""; + }; + DAC2D5C61C9D2FE5009E9C19 /* Classes */ = { + isa = PBXGroup; + children = ( + DAC2D5C81C9D3014009E9C19 /* Application */, + DAC2D5C71C9D3005009E9C19 /* Presentation */, + ); + path = Classes; + sourceTree = ""; + }; + DAC2D5C71C9D3005009E9C19 /* Presentation */ = { + isa = PBXGroup; + children = ( + DACB71731CC2D5ED00432BD3 /* Controllers */, + DACB71741CC2D5FD00432BD3 /* Views */, + ); + path = Presentation; + sourceTree = ""; + }; + DAC2D5C81C9D3014009E9C19 /* Application */ = { + isa = PBXGroup; + children = ( + DAC2D5C91C9D303E009E9C19 /* AppDelegate.swift */, + ); + path = Application; + sourceTree = ""; + }; + DAC2D5CB1C9D3058009E9C19 /* Resources */ = { + isa = PBXGroup; + children = ( + DAC2D69D1C9E78B5009E9C19 /* Info.plist */, + DAC2D69A1C9E75BE009E9C19 /* Assets */, + DAC2D5CC1C9D306C009E9C19 /* Storyboards */, + ); + path = Resources; + sourceTree = ""; + }; + DAC2D5CC1C9D306C009E9C19 /* Storyboards */ = { + isa = PBXGroup; + children = ( + DAC2D5CD1C9D30A7009E9C19 /* Main.storyboard */, + DAC2D5CE1C9D30A7009E9C19 /* LaunchScreen.storyboard */, + ); + path = Storyboards; + sourceTree = ""; + }; + DAC2D69A1C9E75BE009E9C19 /* Assets */ = { + isa = PBXGroup; + children = ( + DAC2D69B1C9E75E3009E9C19 /* Assets.xcassets */, + ); + path = Assets; + sourceTree = ""; + }; + DACB71731CC2D5ED00432BD3 /* Controllers */ = { + isa = PBXGroup; + children = ( + DACB71751CC2D63D00432BD3 /* MainController.swift */, + DACB71791CC2D89D00432BD3 /* HeaderFooterController.swift */, + ); + path = Controllers; + sourceTree = ""; + }; + DACB71741CC2D5FD00432BD3 /* Views */ = { + isa = PBXGroup; + children = ( + DACB71771CC2D6ED00432BD3 /* StoryboardTableViewCell.swift */, + DA08A0521CF4E9B500BBF1F8 /* StoryboardImageTableViewCell.swift */, + ); + path = Views; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + DAB7EB261BEF787300D2AD5E /* TableKitDemo */ = { + isa = PBXNativeTarget; + buildConfigurationList = DAB7EB391BEF787300D2AD5E /* Build configuration list for PBXNativeTarget "TableKitDemo" */; + buildPhases = ( + DAB7EB231BEF787300D2AD5E /* Sources */, + DAB7EB241BEF787300D2AD5E /* Frameworks */, + DAB7EB251BEF787300D2AD5E /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = TableKitDemo; + productName = TabletDemo; + productReference = DAB7EB271BEF787300D2AD5E /* TableKitDemo.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + DAB7EB1F1BEF787300D2AD5E /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0720; + LastUpgradeCheck = 0700; + ORGANIZATIONNAME = Tablet; + TargetAttributes = { + DAB7EB261BEF787300D2AD5E = { + CreatedOnToolsVersion = 7.0.1; + DevelopmentTeam = Z48R734SJX; + }; + }; + }; + buildConfigurationList = DAB7EB221BEF787300D2AD5E /* Build configuration list for PBXProject "TableKitDemo" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = DAB7EB1E1BEF787300D2AD5E; + productRefGroup = DAB7EB281BEF787300D2AD5E /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + DAB7EB261BEF787300D2AD5E /* TableKitDemo */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + DAB7EB251BEF787300D2AD5E /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DAC2D5CF1C9D30A7009E9C19 /* Main.storyboard in Resources */, + DAC2D5D01C9D30A7009E9C19 /* LaunchScreen.storyboard in Resources */, + DAC2D69C1C9E75E3009E9C19 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + DAB7EB231BEF787300D2AD5E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DACB71781CC2D6ED00432BD3 /* StoryboardTableViewCell.swift in Sources */, + DACB71761CC2D63D00432BD3 /* MainController.swift in Sources */, + DAC2D5CA1C9D303E009E9C19 /* AppDelegate.swift in Sources */, + DACB717A1CC2D89D00432BD3 /* HeaderFooterController.swift in Sources */, + DA08A0531CF4E9B500BBF1F8 /* StoryboardImageTableViewCell.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + DAB7EB371BEF787300D2AD5E /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + 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_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + 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 = 8.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + DAB7EB381BEF787300D2AD5E /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + 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_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + 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 = 8.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + DAB7EB3A1BEF787300D2AD5E /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_IDENTITY = "iPhone Developer"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + INFOPLIST_FILE = Resources/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.tablekit.demo; + PRODUCT_NAME = TableKitDemo; + PROVISIONING_PROFILE = ""; + }; + name = Debug; + }; + DAB7EB3B1BEF787300D2AD5E /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_IDENTITY = "iPhone Developer"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + INFOPLIST_FILE = Resources/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.tablekit.demo; + PRODUCT_NAME = TableKitDemo; + PROVISIONING_PROFILE = ""; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DAB7EB221BEF787300D2AD5E /* Build configuration list for PBXProject "TableKitDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DAB7EB371BEF787300D2AD5E /* Debug */, + DAB7EB381BEF787300D2AD5E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DAB7EB391BEF787300D2AD5E /* Build configuration list for PBXNativeTarget "TableKitDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DAB7EB3A1BEF787300D2AD5E /* Debug */, + DAB7EB3B1BEF787300D2AD5E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DAB7EB1F1BEF787300D2AD5E /* Project object */; +} diff --git a/TabletDemo/TabletDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/TableKitDemo/TableKitDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from TabletDemo/TabletDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to TableKitDemo/TableKitDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/Tablet.xcworkspace/xcuserdata/max.xcuserdatad/UserInterfaceState.xcuserstate b/Tablet.xcworkspace/xcuserdata/max.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100644 index b905fec..0000000 Binary files a/Tablet.xcworkspace/xcuserdata/max.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ diff --git a/Tablet/Tablet.h b/Tablet/Tablet.h deleted file mode 100644 index c09efa2..0000000 --- a/Tablet/Tablet.h +++ /dev/null @@ -1,24 +0,0 @@ -// -// Copyright (c) 2015 Max Sokolov https://twitter.com/max_sokolov -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of -// this software and associated documentation files (the "Software"), to deal in -// the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -// the Software, and to permit persons to whom the Software is furnished to do so, -// subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -// 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 Foundation; - -FOUNDATION_EXPORT double TabletVersionNumber; -FOUNDATION_EXPORT const unsigned char TabletVersionString[]; \ No newline at end of file diff --git a/Tablet/Tablet.xcodeproj/project.pbxproj b/Tablet/Tablet.xcodeproj/project.pbxproj deleted file mode 100644 index f562bbc..0000000 --- a/Tablet/Tablet.xcodeproj/project.pbxproj +++ /dev/null @@ -1,443 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - DA08A04F1CF3AB0C00BBF1F8 /* ConfigurableCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA08A04E1CF3AB0C00BBF1F8 /* ConfigurableCell.swift */; }; - DA539C9F1CFB025C00368ACB /* Operators.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA539C9E1CFB025C00368ACB /* Operators.swift */; }; - DA539CC61D01D44500368ACB /* TableRow.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA539CC51D01D44500368ACB /* TableRow.swift */; }; - DA9EA7351D06155E0021F650 /* HeightStrategy.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA7341D06155E0021F650 /* HeightStrategy.swift */; }; - DA9EA73E1D08D6AA0021F650 /* TableRowAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9EA73D1D08D6AA0021F650 /* TableRowAction.swift */; }; - DAC2D6741C9D743D009E9C19 /* Tablet.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DAC2D6691C9D743D009E9C19 /* Tablet.framework */; }; - DAC2D6871C9D7517009E9C19 /* Tablet.h in Headers */ = {isa = PBXBuildFile; fileRef = DAC2D6851C9D7517009E9C19 /* Tablet.h */; settings = {ATTRIBUTES = (Public, ); }; }; - DAC2D6901C9D799E009E9C19 /* TableDirector.swift in Sources */ = {isa = PBXBuildFile; fileRef = DAC2D68C1C9D799E009E9C19 /* TableDirector.swift */; }; - DAC2D6911C9D799E009E9C19 /* TableRowBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = DAC2D68D1C9D799E009E9C19 /* TableRowBuilder.swift */; }; - DAC2D6921C9D799E009E9C19 /* TableSection.swift in Sources */ = {isa = PBXBuildFile; fileRef = DAC2D68E1C9D799E009E9C19 /* TableSection.swift */; }; - DAC2D6931C9D799E009E9C19 /* Tablet.swift in Sources */ = {isa = PBXBuildFile; fileRef = DAC2D68F1C9D799E009E9C19 /* Tablet.swift */; }; - DAC2D6991C9D7A3F009E9C19 /* TabletTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DAC2D6961C9D7A3B009E9C19 /* TabletTests.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - DAC2D6751C9D743D009E9C19 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = DAC2D6601C9D743D009E9C19 /* Project object */; - proxyType = 1; - remoteGlobalIDString = DAC2D6681C9D743D009E9C19; - remoteInfo = Tablet; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - DA08A04E1CF3AB0C00BBF1F8 /* ConfigurableCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ConfigurableCell.swift; sourceTree = ""; }; - DA539C9E1CFB025C00368ACB /* Operators.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Operators.swift; sourceTree = ""; }; - DA539CC51D01D44500368ACB /* TableRow.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableRow.swift; sourceTree = ""; }; - DA9EA7341D06155E0021F650 /* HeightStrategy.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HeightStrategy.swift; sourceTree = ""; }; - DA9EA73D1D08D6AA0021F650 /* TableRowAction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableRowAction.swift; sourceTree = ""; }; - DAC2D6691C9D743D009E9C19 /* Tablet.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Tablet.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - DAC2D6731C9D743D009E9C19 /* TabletTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TabletTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - DAC2D6841C9D7517009E9C19 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - DAC2D6851C9D7517009E9C19 /* Tablet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Tablet.h; sourceTree = ""; }; - DAC2D68C1C9D799E009E9C19 /* TableDirector.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableDirector.swift; sourceTree = ""; }; - DAC2D68D1C9D799E009E9C19 /* TableRowBuilder.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableRowBuilder.swift; sourceTree = ""; }; - DAC2D68E1C9D799E009E9C19 /* TableSection.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableSection.swift; sourceTree = ""; }; - DAC2D68F1C9D799E009E9C19 /* Tablet.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Tablet.swift; sourceTree = ""; }; - DAC2D6951C9D7A3B009E9C19 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - DAC2D6961C9D7A3B009E9C19 /* TabletTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TabletTests.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - DAC2D6651C9D743D009E9C19 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DAC2D6701C9D743D009E9C19 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - DAC2D6741C9D743D009E9C19 /* Tablet.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - DAC2D65F1C9D743D009E9C19 = { - isa = PBXGroup; - children = ( - DAC2D68B1C9D7990009E9C19 /* Classes */, - DAC2D6941C9D7A03009E9C19 /* Tests */, - DAC2D6831C9D74EE009E9C19 /* Supporting Files */, - DAC2D66A1C9D743D009E9C19 /* Products */, - ); - sourceTree = ""; - }; - DAC2D66A1C9D743D009E9C19 /* Products */ = { - isa = PBXGroup; - children = ( - DAC2D6691C9D743D009E9C19 /* Tablet.framework */, - DAC2D6731C9D743D009E9C19 /* TabletTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - DAC2D6831C9D74EE009E9C19 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - DAC2D6841C9D7517009E9C19 /* Info.plist */, - DAC2D6851C9D7517009E9C19 /* Tablet.h */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - DAC2D68B1C9D7990009E9C19 /* Classes */ = { - isa = PBXGroup; - children = ( - DAC2D68C1C9D799E009E9C19 /* TableDirector.swift */, - DA539CC51D01D44500368ACB /* TableRow.swift */, - DA9EA73D1D08D6AA0021F650 /* TableRowAction.swift */, - DAC2D68E1C9D799E009E9C19 /* TableSection.swift */, - DAC2D68D1C9D799E009E9C19 /* TableRowBuilder.swift */, - DA9EA7341D06155E0021F650 /* HeightStrategy.swift */, - DA08A04E1CF3AB0C00BBF1F8 /* ConfigurableCell.swift */, - DAC2D68F1C9D799E009E9C19 /* Tablet.swift */, - DA539C9E1CFB025C00368ACB /* Operators.swift */, - ); - name = Classes; - sourceTree = ""; - }; - DAC2D6941C9D7A03009E9C19 /* Tests */ = { - isa = PBXGroup; - children = ( - DAC2D6951C9D7A3B009E9C19 /* Info.plist */, - DAC2D6961C9D7A3B009E9C19 /* TabletTests.swift */, - ); - name = Tests; - path = ../Tests; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - DAC2D6661C9D743D009E9C19 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - DAC2D6871C9D7517009E9C19 /* Tablet.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - DAC2D6681C9D743D009E9C19 /* Tablet */ = { - isa = PBXNativeTarget; - buildConfigurationList = DAC2D67D1C9D743D009E9C19 /* Build configuration list for PBXNativeTarget "Tablet" */; - buildPhases = ( - DAC2D6641C9D743D009E9C19 /* Sources */, - DAC2D6651C9D743D009E9C19 /* Frameworks */, - DAC2D6661C9D743D009E9C19 /* Headers */, - DAC2D6671C9D743D009E9C19 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Tablet; - productName = Tablet; - productReference = DAC2D6691C9D743D009E9C19 /* Tablet.framework */; - productType = "com.apple.product-type.framework"; - }; - DAC2D6721C9D743D009E9C19 /* TabletTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = DAC2D6801C9D743D009E9C19 /* Build configuration list for PBXNativeTarget "TabletTests" */; - buildPhases = ( - DAC2D66F1C9D743D009E9C19 /* Sources */, - DAC2D6701C9D743D009E9C19 /* Frameworks */, - DAC2D6711C9D743D009E9C19 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - DAC2D6761C9D743D009E9C19 /* PBXTargetDependency */, - ); - name = TabletTests; - productName = TabletTests; - productReference = DAC2D6731C9D743D009E9C19 /* TabletTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - DAC2D6601C9D743D009E9C19 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0720; - LastUpgradeCheck = 0720; - ORGANIZATIONNAME = Tablet; - TargetAttributes = { - DAC2D6681C9D743D009E9C19 = { - CreatedOnToolsVersion = 7.2; - }; - DAC2D6721C9D743D009E9C19 = { - CreatedOnToolsVersion = 7.2; - }; - }; - }; - buildConfigurationList = DAC2D6631C9D743D009E9C19 /* Build configuration list for PBXProject "Tablet" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = DAC2D65F1C9D743D009E9C19; - productRefGroup = DAC2D66A1C9D743D009E9C19 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - DAC2D6681C9D743D009E9C19 /* Tablet */, - DAC2D6721C9D743D009E9C19 /* TabletTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - DAC2D6671C9D743D009E9C19 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DAC2D6711C9D743D009E9C19 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - DAC2D6641C9D743D009E9C19 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - DAC2D6901C9D799E009E9C19 /* TableDirector.swift in Sources */, - DAC2D6921C9D799E009E9C19 /* TableSection.swift in Sources */, - DA9EA7351D06155E0021F650 /* HeightStrategy.swift in Sources */, - DA9EA73E1D08D6AA0021F650 /* TableRowAction.swift in Sources */, - DA539CC61D01D44500368ACB /* TableRow.swift in Sources */, - DA08A04F1CF3AB0C00BBF1F8 /* ConfigurableCell.swift in Sources */, - DAC2D6911C9D799E009E9C19 /* TableRowBuilder.swift in Sources */, - DAC2D6931C9D799E009E9C19 /* Tablet.swift in Sources */, - DA539C9F1CFB025C00368ACB /* Operators.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DAC2D66F1C9D743D009E9C19 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - DAC2D6991C9D7A3F009E9C19 /* TabletTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - DAC2D6761C9D743D009E9C19 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = DAC2D6681C9D743D009E9C19 /* Tablet */; - targetProxy = DAC2D6751C9D743D009E9C19 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - DAC2D67B1C9D743D009E9C19 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - 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_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - 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 = 8.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - DAC2D67C1C9D743D009E9C19 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - 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_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - 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 = 8.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - DAC2D67E1C9D743D009E9C19 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.tablet.tablet; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - DAC2D67F1C9D743D009E9C19 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.tablet.tablet; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - }; - name = Release; - }; - DAC2D6811C9D743D009E9C19 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - INFOPLIST_FILE = ../Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.tablet.tablet.TabletTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - DAC2D6821C9D743D009E9C19 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - INFOPLIST_FILE = ../Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.tablet.tablet.TabletTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - DAC2D6631C9D743D009E9C19 /* Build configuration list for PBXProject "Tablet" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - DAC2D67B1C9D743D009E9C19 /* Debug */, - DAC2D67C1C9D743D009E9C19 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - DAC2D67D1C9D743D009E9C19 /* Build configuration list for PBXNativeTarget "Tablet" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - DAC2D67E1C9D743D009E9C19 /* Debug */, - DAC2D67F1C9D743D009E9C19 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - DAC2D6801C9D743D009E9C19 /* Build configuration list for PBXNativeTarget "TabletTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - DAC2D6811C9D743D009E9C19 /* Debug */, - DAC2D6821C9D743D009E9C19 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = DAC2D6601C9D743D009E9C19 /* Project object */; -} diff --git a/Tablet/Tablet.xcodeproj/project.xcworkspace/xcuserdata/maxsokolov.xcuserdatad/UserInterfaceState.xcuserstate b/Tablet/Tablet.xcodeproj/project.xcworkspace/xcuserdata/maxsokolov.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100644 index fbea635..0000000 Binary files a/Tablet/Tablet.xcodeproj/project.xcworkspace/xcuserdata/maxsokolov.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ diff --git a/Tablet/Tablet.xcodeproj/xcshareddata/xcschemes/Tablet.xcscheme b/Tablet/Tablet.xcodeproj/xcshareddata/xcschemes/Tablet.xcscheme deleted file mode 100644 index b6e3630..0000000 --- a/Tablet/Tablet.xcodeproj/xcshareddata/xcschemes/Tablet.xcscheme +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Tablet/Tablet.xcodeproj/xcuserdata/max.xcuserdatad/xcschemes/xcschememanagement.plist b/Tablet/Tablet.xcodeproj/xcuserdata/max.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index d54e643..0000000 --- a/Tablet/Tablet.xcodeproj/xcuserdata/max.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,19 +0,0 @@ - - - - - SuppressBuildableAutocreation - - DAC2D6681C9D743D009E9C19 - - primary - - - DAC2D6721C9D743D009E9C19 - - primary - - - - - diff --git a/Tablet/Tablet.xcodeproj/xcuserdata/maxsokolov.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/Tablet/Tablet.xcodeproj/xcuserdata/maxsokolov.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist deleted file mode 100644 index fe2b454..0000000 --- a/Tablet/Tablet.xcodeproj/xcuserdata/maxsokolov.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/Tablet/Tablet.xcodeproj/xcuserdata/maxsokolov.xcuserdatad/xcschemes/xcschememanagement.plist b/Tablet/Tablet.xcodeproj/xcuserdata/maxsokolov.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index 96dcbf8..0000000 --- a/Tablet/Tablet.xcodeproj/xcuserdata/maxsokolov.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,27 +0,0 @@ - - - - - SchemeUserState - - Tablet.xcscheme_^#shared#^_ - - orderHint - 0 - - - SuppressBuildableAutocreation - - DAC2D6681C9D743D009E9C19 - - primary - - - DAC2D6721C9D743D009E9C19 - - primary - - - - - diff --git a/TabletDemo/TabletDemo.xcodeproj/project.pbxproj b/TabletDemo/TableKitDemo.xcodeproj/project.pbxproj similarity index 95% rename from TabletDemo/TabletDemo.xcodeproj/project.pbxproj rename to TabletDemo/TableKitDemo.xcodeproj/project.pbxproj index e5a839f..dac2c73 100644 --- a/TabletDemo/TabletDemo.xcodeproj/project.pbxproj +++ b/TabletDemo/TableKitDemo.xcodeproj/project.pbxproj @@ -8,7 +8,7 @@ /* Begin PBXBuildFile section */ DA08A0531CF4E9B500BBF1F8 /* StoryboardImageTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA08A0521CF4E9B500BBF1F8 /* StoryboardImageTableViewCell.swift */; }; - DA539C941CF6610400368ACB /* Tablet.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA539C931CF6610400368ACB /* Tablet.framework */; }; + DA9EA7421D0B63E20021F650 /* TableKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA9EA7411D0B63E20021F650 /* TableKit.framework */; }; 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 */; }; @@ -21,6 +21,7 @@ /* Begin PBXFileReference section */ DA08A0521CF4E9B500BBF1F8 /* StoryboardImageTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StoryboardImageTableViewCell.swift; sourceTree = ""; }; DA539C931CF6610400368ACB /* Tablet.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Tablet.framework; path = "../../../../../Library/Developer/Xcode/DerivedData/Tablet-hgommdyxtgxijceamltarpblrbwc/Build/Products/Debug-iphoneos/Tablet.framework"; sourceTree = ""; }; + DA9EA7411D0B63E20021F650 /* TableKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = TableKit.framework; path = "../../../../../Library/Developer/Xcode/DerivedData/Tablet-hgommdyxtgxijceamltarpblrbwc/Build/Products/Debug-iphonesimulator/TableKit.framework"; sourceTree = ""; }; DAB7EB271BEF787300D2AD5E /* TabletDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TabletDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; DAC2D5C91C9D303E009E9C19 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; DAC2D5CD1C9D30A7009E9C19 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; @@ -37,7 +38,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - DA539C941CF6610400368ACB /* Tablet.framework in Frameworks */, + DA9EA7421D0B63E20021F650 /* TableKit.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -47,6 +48,7 @@ DA539C871CF50B1800368ACB /* Frameworks */ = { isa = PBXGroup; children = ( + DA9EA7411D0B63E20021F650 /* TableKit.framework */, DA539C931CF6610400368ACB /* Tablet.framework */, ); name = Frameworks; diff --git a/Tablet/Tablet.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/TabletDemo/TableKitDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 70% rename from Tablet/Tablet.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to TabletDemo/TableKitDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata index 78fd6b2..9fbb493 100644 --- a/Tablet/Tablet.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/TabletDemo/TableKitDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:TabletDemo.xcodeproj"> diff --git a/TabletDemo/TabletDemo.xcodeproj/project.xcworkspace/xcuserdata/max.xcuserdatad/UserInterfaceState.xcuserstate b/TabletDemo/TabletDemo.xcodeproj/project.xcworkspace/xcuserdata/max.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100644 index ae39eeb..0000000 Binary files a/TabletDemo/TabletDemo.xcodeproj/project.xcworkspace/xcuserdata/max.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ diff --git a/TabletDemo/TabletDemo.xcodeproj/project.xcworkspace/xcuserdata/maxsokolov.xcuserdatad/UserInterfaceState.xcuserstate b/TabletDemo/TabletDemo.xcodeproj/project.xcworkspace/xcuserdata/maxsokolov.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100644 index 6fe6130..0000000 Binary files a/TabletDemo/TabletDemo.xcodeproj/project.xcworkspace/xcuserdata/maxsokolov.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ diff --git a/TabletDemo/TabletDemo.xcodeproj/xcuserdata/max.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/TabletDemo/TabletDemo.xcodeproj/xcuserdata/max.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist deleted file mode 100644 index fe2b454..0000000 --- a/TabletDemo/TabletDemo.xcodeproj/xcuserdata/max.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/TabletDemo/TabletDemo.xcodeproj/xcuserdata/max.xcuserdatad/xcschemes/TabletDemo.xcscheme b/TabletDemo/TabletDemo.xcodeproj/xcuserdata/max.xcuserdatad/xcschemes/TabletDemo.xcscheme deleted file mode 100644 index 6db4123..0000000 --- a/TabletDemo/TabletDemo.xcodeproj/xcuserdata/max.xcuserdatad/xcschemes/TabletDemo.xcscheme +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/TabletDemo/TabletDemo.xcodeproj/xcuserdata/max.xcuserdatad/xcschemes/xcschememanagement.plist b/TabletDemo/TabletDemo.xcodeproj/xcuserdata/max.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index c382e1a..0000000 --- a/TabletDemo/TabletDemo.xcodeproj/xcuserdata/max.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - SchemeUserState - - TabletDemo.xcscheme - - orderHint - 0 - - - SuppressBuildableAutocreation - - DAB7EB261BEF787300D2AD5E - - primary - - - - - diff --git a/TabletDemo/TabletDemo.xcodeproj/xcuserdata/maxsokolov.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/TabletDemo/TabletDemo.xcodeproj/xcuserdata/maxsokolov.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist deleted file mode 100644 index fe2b454..0000000 --- a/TabletDemo/TabletDemo.xcodeproj/xcuserdata/maxsokolov.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/TabletDemo/TabletDemo.xcodeproj/xcuserdata/maxsokolov.xcuserdatad/xcschemes/TabletDemo.xcscheme b/TabletDemo/TabletDemo.xcodeproj/xcuserdata/maxsokolov.xcuserdatad/xcschemes/TabletDemo.xcscheme deleted file mode 100644 index 5b59ce8..0000000 --- a/TabletDemo/TabletDemo.xcodeproj/xcuserdata/maxsokolov.xcuserdatad/xcschemes/TabletDemo.xcscheme +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/TabletDemo/TabletDemo.xcodeproj/xcuserdata/maxsokolov.xcuserdatad/xcschemes/xcschememanagement.plist b/TabletDemo/TabletDemo.xcodeproj/xcuserdata/maxsokolov.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index 08916f9..0000000 --- a/TabletDemo/TabletDemo.xcodeproj/xcuserdata/maxsokolov.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,27 +0,0 @@ - - - - - SchemeUserState - - TabletDemo.xcscheme - - orderHint - 0 - - - SuppressBuildableAutocreation - - DAB7EB261BEF787300D2AD5E - - primary - - - DAC2D5DB1C9D6433009E9C19 - - primary - - - - -