├── .gitignore
├── Cartfile
├── Cartfile.resolved
├── Example copy-Info.plist
├── Example
├── AppDelegate.swift
├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
├── Info.plist
└── ViewController.swift
├── LICENSE
├── Media
└── SplitRow.jpg
├── Package.swift
├── Podfile
├── Podfile.lock
├── README.md
├── SplitRow.podspec
├── SplitRow.xcodeproj
├── project.pbxproj
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
├── xcshareddata
│ └── xcschemes
│ │ ├── [Carthage] Example.xcscheme
│ │ └── [Carthage] SplitRow.xcscheme
└── xcuserdata
│ └── marbetschar.xcuserdatad
│ └── xcschemes
│ └── xcschememanagement.plist
├── SplitRow.xcworkspace
├── contents.xcworkspacedata
└── xcshareddata
│ └── IDEWorkspaceChecks.plist
├── SplitRow
├── Info.plist
├── SplitRow.h
├── SplitRow.swift
├── SplitRowCell.swift
├── SplitRowCellTableView.swift
└── SplitRowValue.swift
└── SplitRowTests
├── Info.plist
└── SplitRowTests.swift
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4 |
5 | ## Build generated
6 | build/
7 | DerivedData/
8 |
9 | ## Various settings
10 | *.pbxuser
11 | !default.pbxuser
12 | *.mode1v3
13 | !default.mode1v3
14 | *.mode2v3
15 | !default.mode2v3
16 | *.perspectivev3
17 | !default.perspectivev3
18 | xcuserdata/
19 |
20 | ## Other
21 | *.moved-aside
22 | *.xccheckout
23 | *.xcscmblueprint
24 | .DS_Store
25 |
26 | ## Obj-C/Swift specific
27 | *.hmap
28 | *.ipa
29 | *.dSYM.zip
30 | *.dSYM
31 |
32 | ## Playgrounds
33 | timeline.xctimeline
34 | playground.xcworkspace
35 |
36 | # Swift Package Manager
37 | #
38 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
39 | # Packages/
40 | # Package.pins
41 | # Package.resolved
42 | .build/
43 |
44 | # CocoaPods
45 | #
46 | # We recommend against adding the Pods directory to your .gitignore. However
47 | # you should judge for yourself, the pros and cons are mentioned at:
48 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
49 | #
50 | # Pods/
51 |
52 | # Carthage
53 | #
54 | # Add this line if you want to avoid checking in source code from Carthage dependencies.
55 | Carthage/Checkouts
56 |
57 | Carthage/Build
58 |
59 | # fastlane
60 | #
61 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
62 | # screenshots whenever they are needed.
63 | # For more information about the recommended setup visit:
64 | # https://docs.fastlane.tools/best-practices/source-control/#source-control
65 |
66 | fastlane/report.xml
67 | fastlane/Preview.html
68 | fastlane/screenshots
69 | fastlane/test_output
70 | Pods
71 |
--------------------------------------------------------------------------------
/Cartfile:
--------------------------------------------------------------------------------
1 | github "xmartlabs/Eureka" ~> 5.3.5
2 |
--------------------------------------------------------------------------------
/Cartfile.resolved:
--------------------------------------------------------------------------------
1 | github "xmartlabs/Eureka" "5.3.5"
2 |
--------------------------------------------------------------------------------
/Example copy-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 | LSRequiresIPhoneOS
22 |
23 | UILaunchStoryboardName
24 | LaunchScreen
25 | UIMainStoryboardFile
26 | Main
27 | UIRequiredDeviceCapabilities
28 |
29 | armv7
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationPortraitUpsideDown
41 | UIInterfaceOrientationLandscapeLeft
42 | UIInterfaceOrientationLandscapeRight
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/Example/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // Example
4 | //
5 | // Created by Marco Betschart on 08.12.17.
6 | // Copyright © 2017 MANDELKIND. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | @UIApplicationMain
12 | class AppDelegate: UIResponder, UIApplicationDelegate {
13 |
14 | var window: UIWindow?
15 |
16 |
17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
18 | // Override point for customization after application launch.
19 | return true
20 | }
21 |
22 | func applicationWillResignActive(_ application: UIApplication) {
23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
24 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
25 | }
26 |
27 | func applicationDidEnterBackground(_ application: UIApplication) {
28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30 | }
31 |
32 | func applicationWillEnterForeground(_ application: UIApplication) {
33 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
34 | }
35 |
36 | func applicationDidBecomeActive(_ application: UIApplication) {
37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
38 | }
39 |
40 | func applicationWillTerminate(_ application: UIApplication) {
41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42 | }
43 |
44 |
45 | }
46 |
47 |
--------------------------------------------------------------------------------
/Example/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "20x20",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "20x20",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "29x29",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "29x29",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "40x40",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "40x40",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "iphone",
35 | "size" : "60x60",
36 | "scale" : "2x"
37 | },
38 | {
39 | "idiom" : "iphone",
40 | "size" : "60x60",
41 | "scale" : "3x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "20x20",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "20x20",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "29x29",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "29x29",
61 | "scale" : "2x"
62 | },
63 | {
64 | "idiom" : "ipad",
65 | "size" : "40x40",
66 | "scale" : "1x"
67 | },
68 | {
69 | "idiom" : "ipad",
70 | "size" : "40x40",
71 | "scale" : "2x"
72 | },
73 | {
74 | "idiom" : "ipad",
75 | "size" : "76x76",
76 | "scale" : "1x"
77 | },
78 | {
79 | "idiom" : "ipad",
80 | "size" : "76x76",
81 | "scale" : "2x"
82 | },
83 | {
84 | "idiom" : "ipad",
85 | "size" : "83.5x83.5",
86 | "scale" : "2x"
87 | }
88 | ],
89 | "info" : {
90 | "version" : 1,
91 | "author" : "xcode"
92 | }
93 | }
--------------------------------------------------------------------------------
/Example/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/Example/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/Example/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 | LSRequiresIPhoneOS
22 |
23 | UILaunchStoryboardName
24 | LaunchScreen
25 | UIMainStoryboardFile
26 | Main
27 | UIRequiredDeviceCapabilities
28 |
29 | armv7
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationPortraitUpsideDown
41 | UIInterfaceOrientationLandscapeLeft
42 | UIInterfaceOrientationLandscapeRight
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/Example/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // Example
4 | //
5 | // Created by Marco Betschart on 08.12.17.
6 | // Copyright © 2017 MANDELKIND. All rights reserved.
7 | //
8 |
9 | import Eureka
10 | import SplitRow
11 |
12 | class ViewController: FormViewController{
13 |
14 | override func viewDidLoad() {
15 | super.viewDidLoad()
16 | self.title = "SplitRow Examples"
17 |
18 | form +++ Section("Phone")
19 | <<< SplitRow,PhoneRow>(){
20 | $0.rowLeft = PushRow(){
21 | $0.options = ["work","private","other"]
22 | }
23 |
24 | $0.rowRight = PhoneRow(){
25 | $0.placeholder = "Phone"
26 |
27 | }.cellUpdate{ cell, row in
28 | cell.textField?.clearButtonMode = .whileEditing
29 | cell.textField?.textAlignment = .right
30 | }
31 |
32 | }.onChange{ row in
33 | print("valueChanged:",row.valueChanged)
34 | }.onCellHighlightChanged{ _, row in
35 | print("row.isHighlighted:",row.isHighlighted)
36 | }
37 |
38 | form +++ Section("E-Mail")
39 | <<< SplitRow,EmailRow>(){
40 | $0.rowLeft = PushRow(){
41 | $0.options = ["work","private","other"]
42 | }
43 |
44 | $0.rowRight = EmailRow(){
45 | $0.placeholder = "E-Mail"
46 |
47 | }.cellUpdate{ cell, row in
48 | cell.textField?.clearButtonMode = .whileEditing
49 | cell.textField?.textAlignment = .right
50 | }
51 | }
52 |
53 | form +++ Section("URL")
54 | <<< SplitRow,URLRow>(){
55 | $0.rowLeft = PushRow(){
56 | $0.options = ["work","private","other"]
57 | }
58 |
59 | $0.rowRight = URLRow(){
60 | $0.placeholder = "URL"
61 |
62 | }.cellUpdate{ cell, row in
63 | cell.textField?.clearButtonMode = .whileEditing
64 | cell.textField?.textAlignment = .right
65 | }
66 | }
67 |
68 | form +++ Section("Social Media")
69 | <<< SplitRow, AccountRow>(){
70 | $0.rowLeft = ActionSheetRow(){
71 | $0.options = ["Facebook","Twitter","Instagram"]
72 | }
73 |
74 | $0.rowRight = AccountRow(){
75 | $0.placeholder = "Username"
76 | $0.value = "@SplitRow"
77 |
78 | }.cellUpdate{ cell, row in
79 | cell.textField?.clearButtonMode = .whileEditing
80 | cell.textField?.textAlignment = .right
81 | }
82 | }
83 |
84 | form +++ MultivaluedSection(multivaluedOptions: [.Insert,.Delete,.Reorder], header: "URLs", footer: ""){
85 | $0.multivaluedRowToInsertAt = { _ in
86 | return SplitRow,URLRow>(){
87 | $0.rowLeft = PushRow(){
88 | $0.options = ["work","private","other"]
89 | }
90 |
91 | $0.rowRight = URLRow(){
92 | $0.placeholder = "URL"
93 |
94 | }.cellUpdate{ cell, row in
95 | cell.textField?.clearButtonMode = .whileEditing
96 | cell.textField?.textAlignment = .right
97 | }
98 | }
99 | }
100 | guard let row = $0.multivaluedRowToInsertAt?(0) else{ return }
101 | $0 <<< row
102 | }
103 | }
104 | }
105 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2017 MANDELKIND
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Media/SplitRow.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EurekaCommunity/SplitRow/24de2c8309085d3fdfefcf5f99c4fe72277f78c4/Media/SplitRow.jpg
--------------------------------------------------------------------------------
/Package.swift:
--------------------------------------------------------------------------------
1 | // swift-tools-version:5.1
2 | import PackageDescription
3 |
4 | let package = Package(
5 | name: "SplitRow",
6 | platforms: [.iOS(.v9)],
7 | products: [
8 | .library(name: "SplitRow", targets: ["SplitRow"])
9 | ],
10 | dependencies: [
11 | .package(url: "https://github.com/xmartlabs/Eureka.git", from: "5.3.3")
12 | ],
13 | targets: [
14 | .target(
15 | name: "SplitRow",
16 | dependencies: ["Eureka"],
17 | path: "SplitRow"
18 | ),
19 | .testTarget(
20 | name: "SplitRowTests",
21 | dependencies: ["SplitRow"],
22 | path: "SplitRowTests"
23 | )
24 | ]
25 | )
26 |
--------------------------------------------------------------------------------
/Podfile:
--------------------------------------------------------------------------------
1 | # Uncomment the next line to define a global platform for your project
2 | platform :ios, '9.3'
3 |
4 | target '[CP] Example' do
5 | # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
6 | use_frameworks!
7 |
8 | # Pods for Example
9 |
10 | end
11 |
12 | target '[CP] SplitRow' do
13 | # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
14 | use_frameworks!
15 |
16 | # Pods for SplitRow
17 | pod 'Eureka', '~>5.3.5'
18 | target 'SplitRowTests' do
19 | inherit! :search_paths
20 | # Pods for testing
21 | end
22 |
23 | end
24 |
--------------------------------------------------------------------------------
/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - Eureka (5.3.5)
3 |
4 | DEPENDENCIES:
5 | - Eureka (~> 5.3.5)
6 |
7 | SPEC REPOS:
8 | trunk:
9 | - Eureka
10 |
11 | SPEC CHECKSUMS:
12 | Eureka: 7b39a479d074620d43028a0e2bfc3e0d667724df
13 |
14 | PODFILE CHECKSUM: 44df8e17d30ef0e953d165b7cc3ecfc45cf4c17f
15 |
16 | COCOAPODS: 1.11.2
17 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # SplitRow
2 | A row for Eureka to put two rows side by side into the same UITableViewCell.
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | ## Contents
13 | * [Introduction](#introduction)
14 | * [Installation](#Installation)
15 | * [Usage](#usage)
16 | * [Requirements](#requirements)
17 | * [Getting involved](#getting-involved)
18 |
19 | ## Introduction
20 |
21 | `SplitRow` is a custom row for Eureka designed to put two rows side by side into the same UITableViewCell.
22 |
23 |
24 |
25 | ## Installation
26 |
27 | #### CocoaPods
28 |
29 | [CocoaPods](https://cocoapods.org/) is a dependency manager for Cocoa projects.
30 |
31 | Specify Eureka into your project's `Podfile`:
32 |
33 | ```ruby
34 | source 'https://github.com/CocoaPods/Specs.git'
35 | platform :ios, '9.3'
36 | use_frameworks!
37 |
38 | pod 'SplitRow'
39 | ```
40 |
41 | Then run the following command:
42 |
43 | ```bash
44 | $ pod install
45 | ```
46 |
47 | #### Carthage
48 |
49 | [Carthage](https://github.com/Carthage/Carthage) is a simple, decentralized dependency manager for Cocoa.
50 |
51 | Specify SplitRow into your project's `Cartfile`:
52 |
53 | ```
54 | github "EurekaCommunity/SplitRow" ~> 2.1.1
55 | ```
56 |
57 | Then run the following command:
58 |
59 | ```bash
60 | $ carthage bootstrap --platform iOS
61 | ```
62 |
63 | ## Usage
64 |
65 | ```swift
66 | import Eureka
67 | import SplitRow
68 |
69 | class ViewController: FormViewController {
70 |
71 | override func viewDidLoad() {
72 | super.viewDidLoad()
73 |
74 | form +++ Section()
75 | <<< SplitRow,TextRow>(){
76 | $0.rowLeft = PushRow(){
77 | $0.selectorTitle = "E-Mail"
78 | $0.options = ["Private","Work","Others"]
79 | }
80 |
81 | $0.rowRight = TextRow(){
82 | $0.placeholder = "E-Mail"
83 | }
84 |
85 | }.onChange{
86 | print("SplitRow.onChange:","left:",$0.value?.left,"right:",$0.value?.right)
87 | }
88 | }
89 | }
90 | ```
91 |
92 | Example by changing the percentage of the row on the right
93 |
94 | ```swift
95 | import Eureka
96 | import SplitRow
97 |
98 | class ViewController: FormViewController {
99 |
100 | override func viewDidLoad() {
101 | super.viewDidLoad()
102 |
103 | form +++ Section()
104 | <<< SplitRow,TextRow>(){
105 | $0.rowLeftPercentage = 0.5
106 |
107 | $0.rowLeft = PushRow(){
108 | $0.selectorTitle = "E-Mail"
109 | $0.options = ["Private","Work","Others"]
110 | }
111 |
112 | $0.rowRight = TextRow(){
113 | $0.placeholder = "E-Mail"
114 | }
115 |
116 | }.onChange{
117 | print("SplitRow.onChange:","left:",$0.value?.left,"right:",$0.value?.right)
118 | }
119 | }
120 | }
121 | ```
122 |
123 | ## Requirements
124 |
125 | * iOS 9.3+
126 | * Xcode 9.0+
127 | * Eureka ~> 5.3.5
128 |
129 | ## Getting involved
130 |
131 | * If you **want to contribute** please feel free to **submit pull requests**.
132 | * If you **have a feature request** please **open an issue**.
133 |
134 | ## Authors
135 |
136 | A-Z
137 |
138 | * [Kate Mercer](https://github.com/kamerc)
139 | * [Marco Betschart](https://github.com/marbetschar)
140 |
--------------------------------------------------------------------------------
/SplitRow.podspec:
--------------------------------------------------------------------------------
1 | Pod::Spec.new do |s|
2 | s.name = "SplitRow"
3 | s.version = "2.3.0"
4 | s.summary = "A row for Eureka to put two rows side by side into the same UITableViewCell."
5 | s.homepage = "https://github.com/EurekaCommunity/SplitRow"
6 | s.license = { :type => "MIT", :file => "LICENSE" }
7 | s.authors = { "Marco Betschart" => "github@marco.betschart.name", "Kate Mercer" => "kate.mercer@sas.com" }
8 | s.social_media_url = "https://twitter.com/EurekaCommunity"
9 | s.platform = :ios, "9.3"
10 | s.source = { :git => "https://github.com/EurekaCommunity/SplitRow.git", :tag => "#{s.version}" }
11 | s.source_files = "SplitRow/**/*.{swift}"
12 | s.frameworks = "UIKit", "Foundation"
13 | s.requires_arc = true
14 | s.swift_version = "5.0"
15 | s.dependency "Eureka", "~> 5.3.5"
16 | end
17 |
--------------------------------------------------------------------------------
/SplitRow.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 48;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 2D3360162266338C00FE758F /* Eureka.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7983DCB620B0C50100963F05 /* Eureka.framework */; settings = {ATTRIBUTES = (Required, ); }; };
11 | 2DF6C97521C03E6B00B8749E /* Pods__CP__SplitRow.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2DF6C97421C03E6B00B8749E /* Pods__CP__SplitRow.framework */; };
12 | 750C064FE84DB87B0692EDD4 /* Pods_SplitRowTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 292265190EEB0208296B082B /* Pods_SplitRowTests.framework */; };
13 | 797710781FDAD27100917866 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 797710771FDAD27100917866 /* AppDelegate.swift */; };
14 | 7977107A1FDAD27100917866 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 797710791FDAD27100917866 /* ViewController.swift */; };
15 | 7977107D1FDAD27100917866 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 7977107B1FDAD27100917866 /* Main.storyboard */; };
16 | 7977107F1FDAD27100917866 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7977107E1FDAD27100917866 /* Assets.xcassets */; };
17 | 797710821FDAD27100917866 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 797710801FDAD27100917866 /* LaunchScreen.storyboard */; };
18 | 7983DCA720B0C44500963F05 /* SplitRowValue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79B5CB411FD4767500983E52 /* SplitRowValue.swift */; };
19 | 7983DCA820B0C44500963F05 /* SplitRowCellTableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79B5CB431FD4767500983E52 /* SplitRowCellTableView.swift */; };
20 | 7983DCA920B0C44500963F05 /* SplitRowCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79B5CB421FD4767500983E52 /* SplitRowCell.swift */; };
21 | 7983DCAA20B0C44500963F05 /* SplitRow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79B5CB401FD4767500983E52 /* SplitRow.swift */; };
22 | 7983DCAE20B0C44500963F05 /* SplitRow.h in Headers */ = {isa = PBXBuildFile; fileRef = 79B5CB291FD4756500983E52 /* SplitRow.h */; settings = {ATTRIBUTES = (Public, ); }; };
23 | 79B5CB301FD4756500983E52 /* SplitRow.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 79B5CB261FD4756500983E52 /* SplitRow.framework */; };
24 | 79B5CB351FD4756500983E52 /* SplitRowTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79B5CB341FD4756500983E52 /* SplitRowTests.swift */; };
25 | 79B5CB371FD4756500983E52 /* SplitRow.h in Headers */ = {isa = PBXBuildFile; fileRef = 79B5CB291FD4756500983E52 /* SplitRow.h */; settings = {ATTRIBUTES = (Public, ); }; };
26 | 79B5CB441FD4767600983E52 /* SplitRow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79B5CB401FD4767500983E52 /* SplitRow.swift */; };
27 | 79B5CB451FD4767600983E52 /* SplitRowValue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79B5CB411FD4767500983E52 /* SplitRowValue.swift */; };
28 | 79B5CB461FD4767600983E52 /* SplitRowCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79B5CB421FD4767500983E52 /* SplitRowCell.swift */; };
29 | 79B5CB471FD4767600983E52 /* SplitRowCellTableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79B5CB431FD4767500983E52 /* SplitRowCellTableView.swift */; };
30 | 79F3CB922371FFC300C21C3C /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 797710791FDAD27100917866 /* ViewController.swift */; };
31 | 79F3CB932371FFC300C21C3C /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 797710771FDAD27100917866 /* AppDelegate.swift */; };
32 | 79F3CB972371FFC300C21C3C /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 797710801FDAD27100917866 /* LaunchScreen.storyboard */; };
33 | 79F3CB982371FFC300C21C3C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7977107E1FDAD27100917866 /* Assets.xcassets */; };
34 | 79F3CB992371FFC300C21C3C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 7977107B1FDAD27100917866 /* Main.storyboard */; };
35 | 9032E2414134818CFB024E5F /* Pods__CP__Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 48141A6328A557B673C3A51A /* Pods__CP__Example.framework */; };
36 | /* End PBXBuildFile section */
37 |
38 | /* Begin PBXContainerItemProxy section */
39 | 7977108A1FDAD30900917866 /* PBXContainerItemProxy */ = {
40 | isa = PBXContainerItemProxy;
41 | containerPortal = 79B5CB1D1FD4756500983E52 /* Project object */;
42 | proxyType = 1;
43 | remoteGlobalIDString = 79B5CB251FD4756500983E52;
44 | remoteInfo = SplitRow;
45 | };
46 | 79B5CB311FD4756500983E52 /* PBXContainerItemProxy */ = {
47 | isa = PBXContainerItemProxy;
48 | containerPortal = 79B5CB1D1FD4756500983E52 /* Project object */;
49 | proxyType = 1;
50 | remoteGlobalIDString = 79B5CB251FD4756500983E52;
51 | remoteInfo = SplitRow;
52 | };
53 | 79C4F7E8237226BB005CB26D /* PBXContainerItemProxy */ = {
54 | isa = PBXContainerItemProxy;
55 | containerPortal = 79B5CB1D1FD4756500983E52 /* Project object */;
56 | proxyType = 1;
57 | remoteGlobalIDString = 7983DCA420B0C44500963F05;
58 | remoteInfo = "[Carthage] SplitRow";
59 | };
60 | /* End PBXContainerItemProxy section */
61 |
62 | /* Begin PBXFileReference section */
63 | 292265190EEB0208296B082B /* Pods_SplitRowTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SplitRowTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
64 | 2DF6C97421C03E6B00B8749E /* Pods__CP__SplitRow.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Pods__CP__SplitRow.framework; sourceTree = BUILT_PRODUCTS_DIR; };
65 | 2DF6C97621C03EDF00B8749E /* Eureka.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Eureka.framework; sourceTree = BUILT_PRODUCTS_DIR; };
66 | 30E75B0ECDB567A768259853 /* Pods-[CP] SplitRow.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-[CP] SplitRow.release.xcconfig"; path = "Pods/Target Support Files/Pods-[CP] SplitRow/Pods-[CP] SplitRow.release.xcconfig"; sourceTree = ""; };
67 | 48141A6328A557B673C3A51A /* Pods__CP__Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods__CP__Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
68 | 638FAE23CE9EA43635267CD7 /* Pods-SplitRowTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SplitRowTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SplitRowTests/Pods-SplitRowTests.debug.xcconfig"; sourceTree = ""; };
69 | 6933D2CC4FBAD3D15D2131C4 /* Pods-[CP] SplitRow.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-[CP] SplitRow.debug.xcconfig"; path = "Pods/Target Support Files/Pods-[CP] SplitRow/Pods-[CP] SplitRow.debug.xcconfig"; sourceTree = ""; };
70 | 797710751FDAD27100917866 /* [CP] Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "[CP] Example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
71 | 797710771FDAD27100917866 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
72 | 797710791FDAD27100917866 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
73 | 7977107C1FDAD27100917866 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
74 | 7977107E1FDAD27100917866 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
75 | 797710811FDAD27100917866 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
76 | 797710831FDAD27100917866 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
77 | 7983DCB420B0C44500963F05 /* SplitRow.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SplitRow.framework; sourceTree = BUILT_PRODUCTS_DIR; };
78 | 7983DCB620B0C50100963F05 /* Eureka.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Eureka.framework; path = Carthage/Build/iOS/Eureka.framework; sourceTree = ""; };
79 | 79B5CB261FD4756500983E52 /* SplitRow.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SplitRow.framework; sourceTree = BUILT_PRODUCTS_DIR; };
80 | 79B5CB291FD4756500983E52 /* SplitRow.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SplitRow.h; sourceTree = ""; };
81 | 79B5CB2A1FD4756500983E52 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
82 | 79B5CB2F1FD4756500983E52 /* SplitRowTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SplitRowTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
83 | 79B5CB341FD4756500983E52 /* SplitRowTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SplitRowTests.swift; sourceTree = ""; };
84 | 79B5CB361FD4756500983E52 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
85 | 79B5CB401FD4767500983E52 /* SplitRow.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SplitRow.swift; sourceTree = ""; };
86 | 79B5CB411FD4767500983E52 /* SplitRowValue.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SplitRowValue.swift; sourceTree = ""; };
87 | 79B5CB421FD4767500983E52 /* SplitRowCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SplitRowCell.swift; sourceTree = ""; };
88 | 79B5CB431FD4767500983E52 /* SplitRowCellTableView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SplitRowCellTableView.swift; sourceTree = ""; };
89 | 79B5CB4D1FD4806D00983E52 /* SplitRow.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = SplitRow.jpg; sourceTree = ""; };
90 | 79F3CB9F2371FFC300C21C3C /* [Carthage] Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "[Carthage] Example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
91 | 79F3CBA02371FFC300C21C3C /* Example copy-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "Example copy-Info.plist"; path = "/Users/marbetschar/Development/SplitRow/Example copy-Info.plist"; sourceTree = ""; };
92 | 96507E193F5205CB3720DC80 /* Pods-SplitRowTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SplitRowTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SplitRowTests/Pods-SplitRowTests.release.xcconfig"; sourceTree = ""; };
93 | A68F61C8CF74838A0D7640A4 /* Pods__CP__SplitRow.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods__CP__SplitRow.framework; sourceTree = BUILT_PRODUCTS_DIR; };
94 | B83D0DD68492E96639AB3F99 /* Pods_SplitRow.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SplitRow.framework; sourceTree = BUILT_PRODUCTS_DIR; };
95 | CFC77DA583C1A6B9ED804057 /* Pods-[CP] Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-[CP] Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-[CP] Example/Pods-[CP] Example.debug.xcconfig"; sourceTree = ""; };
96 | F5DA6DECE5D527E2A9368785 /* Pods-[CP] Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-[CP] Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-[CP] Example/Pods-[CP] Example.release.xcconfig"; sourceTree = ""; };
97 | /* End PBXFileReference section */
98 |
99 | /* Begin PBXFrameworksBuildPhase section */
100 | 797710721FDAD27100917866 /* Frameworks */ = {
101 | isa = PBXFrameworksBuildPhase;
102 | buildActionMask = 2147483647;
103 | files = (
104 | 9032E2414134818CFB024E5F /* Pods__CP__Example.framework in Frameworks */,
105 | );
106 | runOnlyForDeploymentPostprocessing = 0;
107 | };
108 | 7983DCAB20B0C44500963F05 /* Frameworks */ = {
109 | isa = PBXFrameworksBuildPhase;
110 | buildActionMask = 2147483647;
111 | files = (
112 | 2D3360162266338C00FE758F /* Eureka.framework in Frameworks */,
113 | );
114 | runOnlyForDeploymentPostprocessing = 0;
115 | };
116 | 79B5CB221FD4756500983E52 /* Frameworks */ = {
117 | isa = PBXFrameworksBuildPhase;
118 | buildActionMask = 2147483647;
119 | files = (
120 | 2DF6C97521C03E6B00B8749E /* Pods__CP__SplitRow.framework in Frameworks */,
121 | );
122 | runOnlyForDeploymentPostprocessing = 0;
123 | };
124 | 79B5CB2C1FD4756500983E52 /* Frameworks */ = {
125 | isa = PBXFrameworksBuildPhase;
126 | buildActionMask = 2147483647;
127 | files = (
128 | 79B5CB301FD4756500983E52 /* SplitRow.framework in Frameworks */,
129 | 750C064FE84DB87B0692EDD4 /* Pods_SplitRowTests.framework in Frameworks */,
130 | );
131 | runOnlyForDeploymentPostprocessing = 0;
132 | };
133 | 79F3CB942371FFC300C21C3C /* Frameworks */ = {
134 | isa = PBXFrameworksBuildPhase;
135 | buildActionMask = 2147483647;
136 | files = (
137 | );
138 | runOnlyForDeploymentPostprocessing = 0;
139 | };
140 | /* End PBXFrameworksBuildPhase section */
141 |
142 | /* Begin PBXGroup section */
143 | 75EA820112A1CA3BEC321D30 /* Pods */ = {
144 | isa = PBXGroup;
145 | children = (
146 | 638FAE23CE9EA43635267CD7 /* Pods-SplitRowTests.debug.xcconfig */,
147 | 96507E193F5205CB3720DC80 /* Pods-SplitRowTests.release.xcconfig */,
148 | 6933D2CC4FBAD3D15D2131C4 /* Pods-[CP] SplitRow.debug.xcconfig */,
149 | 30E75B0ECDB567A768259853 /* Pods-[CP] SplitRow.release.xcconfig */,
150 | CFC77DA583C1A6B9ED804057 /* Pods-[CP] Example.debug.xcconfig */,
151 | F5DA6DECE5D527E2A9368785 /* Pods-[CP] Example.release.xcconfig */,
152 | );
153 | name = Pods;
154 | sourceTree = "";
155 | };
156 | 797710761FDAD27100917866 /* Example */ = {
157 | isa = PBXGroup;
158 | children = (
159 | 797710771FDAD27100917866 /* AppDelegate.swift */,
160 | 797710791FDAD27100917866 /* ViewController.swift */,
161 | 7977107B1FDAD27100917866 /* Main.storyboard */,
162 | 7977107E1FDAD27100917866 /* Assets.xcassets */,
163 | 797710801FDAD27100917866 /* LaunchScreen.storyboard */,
164 | 797710831FDAD27100917866 /* Info.plist */,
165 | );
166 | path = Example;
167 | sourceTree = "";
168 | };
169 | 79B5CB1C1FD4756500983E52 = {
170 | isa = PBXGroup;
171 | children = (
172 | 797710761FDAD27100917866 /* Example */,
173 | 79B5CB4C1FD4805000983E52 /* Media */,
174 | 79B5CB281FD4756500983E52 /* SplitRow */,
175 | 79B5CB331FD4756500983E52 /* SplitRowTests */,
176 | 79B5CB271FD4756500983E52 /* Products */,
177 | 79B5CB481FD47B8A00983E52 /* Frameworks */,
178 | 75EA820112A1CA3BEC321D30 /* Pods */,
179 | 79F3CBA02371FFC300C21C3C /* Example copy-Info.plist */,
180 | );
181 | sourceTree = "";
182 | };
183 | 79B5CB271FD4756500983E52 /* Products */ = {
184 | isa = PBXGroup;
185 | children = (
186 | 79B5CB261FD4756500983E52 /* SplitRow.framework */,
187 | 79B5CB2F1FD4756500983E52 /* SplitRowTests.xctest */,
188 | 797710751FDAD27100917866 /* [CP] Example.app */,
189 | 7983DCB420B0C44500963F05 /* SplitRow.framework */,
190 | 79F3CB9F2371FFC300C21C3C /* [Carthage] Example.app */,
191 | );
192 | name = Products;
193 | sourceTree = "";
194 | };
195 | 79B5CB281FD4756500983E52 /* SplitRow */ = {
196 | isa = PBXGroup;
197 | children = (
198 | 79B5CB401FD4767500983E52 /* SplitRow.swift */,
199 | 79B5CB421FD4767500983E52 /* SplitRowCell.swift */,
200 | 79B5CB431FD4767500983E52 /* SplitRowCellTableView.swift */,
201 | 79B5CB411FD4767500983E52 /* SplitRowValue.swift */,
202 | 79B5CB291FD4756500983E52 /* SplitRow.h */,
203 | 79B5CB2A1FD4756500983E52 /* Info.plist */,
204 | );
205 | path = SplitRow;
206 | sourceTree = "";
207 | };
208 | 79B5CB331FD4756500983E52 /* SplitRowTests */ = {
209 | isa = PBXGroup;
210 | children = (
211 | 79B5CB341FD4756500983E52 /* SplitRowTests.swift */,
212 | 79B5CB361FD4756500983E52 /* Info.plist */,
213 | );
214 | path = SplitRowTests;
215 | sourceTree = "";
216 | };
217 | 79B5CB481FD47B8A00983E52 /* Frameworks */ = {
218 | isa = PBXGroup;
219 | children = (
220 | 2DF6C97621C03EDF00B8749E /* Eureka.framework */,
221 | 2DF6C97421C03E6B00B8749E /* Pods__CP__SplitRow.framework */,
222 | 7983DCB620B0C50100963F05 /* Eureka.framework */,
223 | B83D0DD68492E96639AB3F99 /* Pods_SplitRow.framework */,
224 | 292265190EEB0208296B082B /* Pods_SplitRowTests.framework */,
225 | A68F61C8CF74838A0D7640A4 /* Pods__CP__SplitRow.framework */,
226 | 48141A6328A557B673C3A51A /* Pods__CP__Example.framework */,
227 | );
228 | name = Frameworks;
229 | sourceTree = "";
230 | };
231 | 79B5CB4C1FD4805000983E52 /* Media */ = {
232 | isa = PBXGroup;
233 | children = (
234 | 79B5CB4D1FD4806D00983E52 /* SplitRow.jpg */,
235 | );
236 | path = Media;
237 | sourceTree = "";
238 | };
239 | /* End PBXGroup section */
240 |
241 | /* Begin PBXHeadersBuildPhase section */
242 | 7983DCAD20B0C44500963F05 /* Headers */ = {
243 | isa = PBXHeadersBuildPhase;
244 | buildActionMask = 2147483647;
245 | files = (
246 | 7983DCAE20B0C44500963F05 /* SplitRow.h in Headers */,
247 | );
248 | runOnlyForDeploymentPostprocessing = 0;
249 | };
250 | 79B5CB231FD4756500983E52 /* Headers */ = {
251 | isa = PBXHeadersBuildPhase;
252 | buildActionMask = 2147483647;
253 | files = (
254 | 79B5CB371FD4756500983E52 /* SplitRow.h in Headers */,
255 | );
256 | runOnlyForDeploymentPostprocessing = 0;
257 | };
258 | /* End PBXHeadersBuildPhase section */
259 |
260 | /* Begin PBXNativeTarget section */
261 | 797710741FDAD27100917866 /* [CP] Example */ = {
262 | isa = PBXNativeTarget;
263 | buildConfigurationList = 797710841FDAD27100917866 /* Build configuration list for PBXNativeTarget "[CP] Example" */;
264 | buildPhases = (
265 | 15E179D95BFA7FABAA0192EF /* [CP] Check Pods Manifest.lock */,
266 | 797710711FDAD27100917866 /* Sources */,
267 | 797710721FDAD27100917866 /* Frameworks */,
268 | 797710731FDAD27100917866 /* Resources */,
269 | 4CA7CD32AAC86739F5BB2947 /* [CP] Embed Pods Frameworks */,
270 | );
271 | buildRules = (
272 | );
273 | dependencies = (
274 | 7977108B1FDAD30900917866 /* PBXTargetDependency */,
275 | );
276 | name = "[CP] Example";
277 | productName = Example;
278 | productReference = 797710751FDAD27100917866 /* [CP] Example.app */;
279 | productType = "com.apple.product-type.application";
280 | };
281 | 7983DCA420B0C44500963F05 /* [Carthage] SplitRow */ = {
282 | isa = PBXNativeTarget;
283 | buildConfigurationList = 7983DCB120B0C44500963F05 /* Build configuration list for PBXNativeTarget "[Carthage] SplitRow" */;
284 | buildPhases = (
285 | 7983DCA620B0C44500963F05 /* Sources */,
286 | 7983DCAB20B0C44500963F05 /* Frameworks */,
287 | 7983DCAD20B0C44500963F05 /* Headers */,
288 | 7983DCAF20B0C44500963F05 /* Resources */,
289 | );
290 | buildRules = (
291 | );
292 | dependencies = (
293 | );
294 | name = "[Carthage] SplitRow";
295 | productName = SplitRow;
296 | productReference = 7983DCB420B0C44500963F05 /* SplitRow.framework */;
297 | productType = "com.apple.product-type.framework";
298 | };
299 | 79B5CB251FD4756500983E52 /* [CP] SplitRow */ = {
300 | isa = PBXNativeTarget;
301 | buildConfigurationList = 79B5CB3A1FD4756500983E52 /* Build configuration list for PBXNativeTarget "[CP] SplitRow" */;
302 | buildPhases = (
303 | 0BEA14AB34CD07BA3D20DFB8 /* [CP] Check Pods Manifest.lock */,
304 | 79B5CB211FD4756500983E52 /* Sources */,
305 | 79B5CB221FD4756500983E52 /* Frameworks */,
306 | 79B5CB231FD4756500983E52 /* Headers */,
307 | 79B5CB241FD4756500983E52 /* Resources */,
308 | );
309 | buildRules = (
310 | );
311 | dependencies = (
312 | );
313 | name = "[CP] SplitRow";
314 | productName = SplitRow;
315 | productReference = 79B5CB261FD4756500983E52 /* SplitRow.framework */;
316 | productType = "com.apple.product-type.framework";
317 | };
318 | 79B5CB2E1FD4756500983E52 /* SplitRowTests */ = {
319 | isa = PBXNativeTarget;
320 | buildConfigurationList = 79B5CB3D1FD4756500983E52 /* Build configuration list for PBXNativeTarget "SplitRowTests" */;
321 | buildPhases = (
322 | D31C86CC9D8AF6758786E20E /* [CP] Check Pods Manifest.lock */,
323 | 79B5CB2B1FD4756500983E52 /* Sources */,
324 | 79B5CB2C1FD4756500983E52 /* Frameworks */,
325 | 79B5CB2D1FD4756500983E52 /* Resources */,
326 | );
327 | buildRules = (
328 | );
329 | dependencies = (
330 | 79B5CB321FD4756500983E52 /* PBXTargetDependency */,
331 | );
332 | name = SplitRowTests;
333 | productName = SplitRowTests;
334 | productReference = 79B5CB2F1FD4756500983E52 /* SplitRowTests.xctest */;
335 | productType = "com.apple.product-type.bundle.unit-test";
336 | };
337 | 79F3CB8D2371FFC300C21C3C /* [Carthage] Example */ = {
338 | isa = PBXNativeTarget;
339 | buildConfigurationList = 79F3CB9C2371FFC300C21C3C /* Build configuration list for PBXNativeTarget "[Carthage] Example" */;
340 | buildPhases = (
341 | 79F3CB912371FFC300C21C3C /* Sources */,
342 | 79F3CB942371FFC300C21C3C /* Frameworks */,
343 | 79F3CB962371FFC300C21C3C /* Resources */,
344 | 79F3CB9A2371FFC300C21C3C /* Copy Carthage Frameworks */,
345 | );
346 | buildRules = (
347 | );
348 | dependencies = (
349 | 79C4F7E9237226BB005CB26D /* PBXTargetDependency */,
350 | );
351 | name = "[Carthage] Example";
352 | productName = Example;
353 | productReference = 79F3CB9F2371FFC300C21C3C /* [Carthage] Example.app */;
354 | productType = "com.apple.product-type.application";
355 | };
356 | /* End PBXNativeTarget section */
357 |
358 | /* Begin PBXProject section */
359 | 79B5CB1D1FD4756500983E52 /* Project object */ = {
360 | isa = PBXProject;
361 | attributes = {
362 | LastSwiftUpdateCheck = 0920;
363 | LastUpgradeCheck = 0930;
364 | ORGANIZATIONNAME = MANDELKIND;
365 | TargetAttributes = {
366 | 797710741FDAD27100917866 = {
367 | CreatedOnToolsVersion = 9.2;
368 | ProvisioningStyle = Automatic;
369 | };
370 | 7983DCA420B0C44500963F05 = {
371 | ProvisioningStyle = Automatic;
372 | };
373 | 79B5CB251FD4756500983E52 = {
374 | CreatedOnToolsVersion = 9.1;
375 | LastSwiftMigration = 1020;
376 | ProvisioningStyle = Automatic;
377 | };
378 | 79B5CB2E1FD4756500983E52 = {
379 | CreatedOnToolsVersion = 9.1;
380 | LastSwiftMigration = 1020;
381 | ProvisioningStyle = Automatic;
382 | };
383 | 79F3CB8D2371FFC300C21C3C = {
384 | ProvisioningStyle = Automatic;
385 | };
386 | };
387 | };
388 | buildConfigurationList = 79B5CB201FD4756500983E52 /* Build configuration list for PBXProject "SplitRow" */;
389 | compatibilityVersion = "Xcode 8.0";
390 | developmentRegion = en;
391 | hasScannedForEncodings = 0;
392 | knownRegions = (
393 | en,
394 | Base,
395 | );
396 | mainGroup = 79B5CB1C1FD4756500983E52;
397 | productRefGroup = 79B5CB271FD4756500983E52 /* Products */;
398 | projectDirPath = "";
399 | projectRoot = "";
400 | targets = (
401 | 79B5CB251FD4756500983E52 /* [CP] SplitRow */,
402 | 7983DCA420B0C44500963F05 /* [Carthage] SplitRow */,
403 | 79B5CB2E1FD4756500983E52 /* SplitRowTests */,
404 | 797710741FDAD27100917866 /* [CP] Example */,
405 | 79F3CB8D2371FFC300C21C3C /* [Carthage] Example */,
406 | );
407 | };
408 | /* End PBXProject section */
409 |
410 | /* Begin PBXResourcesBuildPhase section */
411 | 797710731FDAD27100917866 /* Resources */ = {
412 | isa = PBXResourcesBuildPhase;
413 | buildActionMask = 2147483647;
414 | files = (
415 | 797710821FDAD27100917866 /* LaunchScreen.storyboard in Resources */,
416 | 7977107F1FDAD27100917866 /* Assets.xcassets in Resources */,
417 | 7977107D1FDAD27100917866 /* Main.storyboard in Resources */,
418 | );
419 | runOnlyForDeploymentPostprocessing = 0;
420 | };
421 | 7983DCAF20B0C44500963F05 /* Resources */ = {
422 | isa = PBXResourcesBuildPhase;
423 | buildActionMask = 2147483647;
424 | files = (
425 | );
426 | runOnlyForDeploymentPostprocessing = 0;
427 | };
428 | 79B5CB241FD4756500983E52 /* Resources */ = {
429 | isa = PBXResourcesBuildPhase;
430 | buildActionMask = 2147483647;
431 | files = (
432 | );
433 | runOnlyForDeploymentPostprocessing = 0;
434 | };
435 | 79B5CB2D1FD4756500983E52 /* Resources */ = {
436 | isa = PBXResourcesBuildPhase;
437 | buildActionMask = 2147483647;
438 | files = (
439 | );
440 | runOnlyForDeploymentPostprocessing = 0;
441 | };
442 | 79F3CB962371FFC300C21C3C /* Resources */ = {
443 | isa = PBXResourcesBuildPhase;
444 | buildActionMask = 2147483647;
445 | files = (
446 | 79F3CB972371FFC300C21C3C /* LaunchScreen.storyboard in Resources */,
447 | 79F3CB982371FFC300C21C3C /* Assets.xcassets in Resources */,
448 | 79F3CB992371FFC300C21C3C /* Main.storyboard in Resources */,
449 | );
450 | runOnlyForDeploymentPostprocessing = 0;
451 | };
452 | /* End PBXResourcesBuildPhase section */
453 |
454 | /* Begin PBXShellScriptBuildPhase section */
455 | 0BEA14AB34CD07BA3D20DFB8 /* [CP] Check Pods Manifest.lock */ = {
456 | isa = PBXShellScriptBuildPhase;
457 | buildActionMask = 2147483647;
458 | files = (
459 | );
460 | inputPaths = (
461 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
462 | "${PODS_ROOT}/Manifest.lock",
463 | );
464 | name = "[CP] Check Pods Manifest.lock";
465 | outputPaths = (
466 | "$(DERIVED_FILE_DIR)/Pods-[CP] SplitRow-checkManifestLockResult.txt",
467 | );
468 | runOnlyForDeploymentPostprocessing = 0;
469 | shellPath = /bin/sh;
470 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
471 | showEnvVarsInLog = 0;
472 | };
473 | 15E179D95BFA7FABAA0192EF /* [CP] Check Pods Manifest.lock */ = {
474 | isa = PBXShellScriptBuildPhase;
475 | buildActionMask = 2147483647;
476 | files = (
477 | );
478 | inputPaths = (
479 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
480 | "${PODS_ROOT}/Manifest.lock",
481 | );
482 | name = "[CP] Check Pods Manifest.lock";
483 | outputPaths = (
484 | "$(DERIVED_FILE_DIR)/Pods-[CP] Example-checkManifestLockResult.txt",
485 | );
486 | runOnlyForDeploymentPostprocessing = 0;
487 | shellPath = /bin/sh;
488 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
489 | showEnvVarsInLog = 0;
490 | };
491 | 4CA7CD32AAC86739F5BB2947 /* [CP] Embed Pods Frameworks */ = {
492 | isa = PBXShellScriptBuildPhase;
493 | buildActionMask = 2147483647;
494 | files = (
495 | );
496 | inputPaths = (
497 | "${PODS_ROOT}/Target Support Files/Pods-[CP] Example/Pods-[CP] Example-frameworks.sh",
498 | "${BUILT_PRODUCTS_DIR}/Eureka/Eureka.framework",
499 | );
500 | name = "[CP] Embed Pods Frameworks";
501 | outputPaths = (
502 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Eureka.framework",
503 | );
504 | runOnlyForDeploymentPostprocessing = 0;
505 | shellPath = /bin/sh;
506 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-[CP] Example/Pods-[CP] Example-frameworks.sh\"\n";
507 | showEnvVarsInLog = 0;
508 | };
509 | 79F3CB9A2371FFC300C21C3C /* Copy Carthage Frameworks */ = {
510 | isa = PBXShellScriptBuildPhase;
511 | buildActionMask = 2147483647;
512 | files = (
513 | );
514 | inputPaths = (
515 | "$(SRCROOT)/Carthage/Build/iOS/Eureka.framework",
516 | );
517 | name = "Copy Carthage Frameworks";
518 | outputPaths = (
519 | "$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/Eureka.framework",
520 | );
521 | runOnlyForDeploymentPostprocessing = 0;
522 | shellPath = /bin/sh;
523 | shellScript = "/usr/local/bin/carthage copy-frameworks\n";
524 | };
525 | D31C86CC9D8AF6758786E20E /* [CP] Check Pods Manifest.lock */ = {
526 | isa = PBXShellScriptBuildPhase;
527 | buildActionMask = 2147483647;
528 | files = (
529 | );
530 | inputPaths = (
531 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
532 | "${PODS_ROOT}/Manifest.lock",
533 | );
534 | name = "[CP] Check Pods Manifest.lock";
535 | outputPaths = (
536 | "$(DERIVED_FILE_DIR)/Pods-SplitRowTests-checkManifestLockResult.txt",
537 | );
538 | runOnlyForDeploymentPostprocessing = 0;
539 | shellPath = /bin/sh;
540 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
541 | showEnvVarsInLog = 0;
542 | };
543 | /* End PBXShellScriptBuildPhase section */
544 |
545 | /* Begin PBXSourcesBuildPhase section */
546 | 797710711FDAD27100917866 /* Sources */ = {
547 | isa = PBXSourcesBuildPhase;
548 | buildActionMask = 2147483647;
549 | files = (
550 | 7977107A1FDAD27100917866 /* ViewController.swift in Sources */,
551 | 797710781FDAD27100917866 /* AppDelegate.swift in Sources */,
552 | );
553 | runOnlyForDeploymentPostprocessing = 0;
554 | };
555 | 7983DCA620B0C44500963F05 /* Sources */ = {
556 | isa = PBXSourcesBuildPhase;
557 | buildActionMask = 2147483647;
558 | files = (
559 | 7983DCA720B0C44500963F05 /* SplitRowValue.swift in Sources */,
560 | 7983DCA820B0C44500963F05 /* SplitRowCellTableView.swift in Sources */,
561 | 7983DCA920B0C44500963F05 /* SplitRowCell.swift in Sources */,
562 | 7983DCAA20B0C44500963F05 /* SplitRow.swift in Sources */,
563 | );
564 | runOnlyForDeploymentPostprocessing = 0;
565 | };
566 | 79B5CB211FD4756500983E52 /* Sources */ = {
567 | isa = PBXSourcesBuildPhase;
568 | buildActionMask = 2147483647;
569 | files = (
570 | 79B5CB451FD4767600983E52 /* SplitRowValue.swift in Sources */,
571 | 79B5CB471FD4767600983E52 /* SplitRowCellTableView.swift in Sources */,
572 | 79B5CB461FD4767600983E52 /* SplitRowCell.swift in Sources */,
573 | 79B5CB441FD4767600983E52 /* SplitRow.swift in Sources */,
574 | );
575 | runOnlyForDeploymentPostprocessing = 0;
576 | };
577 | 79B5CB2B1FD4756500983E52 /* Sources */ = {
578 | isa = PBXSourcesBuildPhase;
579 | buildActionMask = 2147483647;
580 | files = (
581 | 79B5CB351FD4756500983E52 /* SplitRowTests.swift in Sources */,
582 | );
583 | runOnlyForDeploymentPostprocessing = 0;
584 | };
585 | 79F3CB912371FFC300C21C3C /* Sources */ = {
586 | isa = PBXSourcesBuildPhase;
587 | buildActionMask = 2147483647;
588 | files = (
589 | 79F3CB922371FFC300C21C3C /* ViewController.swift in Sources */,
590 | 79F3CB932371FFC300C21C3C /* AppDelegate.swift in Sources */,
591 | );
592 | runOnlyForDeploymentPostprocessing = 0;
593 | };
594 | /* End PBXSourcesBuildPhase section */
595 |
596 | /* Begin PBXTargetDependency section */
597 | 7977108B1FDAD30900917866 /* PBXTargetDependency */ = {
598 | isa = PBXTargetDependency;
599 | target = 79B5CB251FD4756500983E52 /* [CP] SplitRow */;
600 | targetProxy = 7977108A1FDAD30900917866 /* PBXContainerItemProxy */;
601 | };
602 | 79B5CB321FD4756500983E52 /* PBXTargetDependency */ = {
603 | isa = PBXTargetDependency;
604 | target = 79B5CB251FD4756500983E52 /* [CP] SplitRow */;
605 | targetProxy = 79B5CB311FD4756500983E52 /* PBXContainerItemProxy */;
606 | };
607 | 79C4F7E9237226BB005CB26D /* PBXTargetDependency */ = {
608 | isa = PBXTargetDependency;
609 | target = 7983DCA420B0C44500963F05 /* [Carthage] SplitRow */;
610 | targetProxy = 79C4F7E8237226BB005CB26D /* PBXContainerItemProxy */;
611 | };
612 | /* End PBXTargetDependency section */
613 |
614 | /* Begin PBXVariantGroup section */
615 | 7977107B1FDAD27100917866 /* Main.storyboard */ = {
616 | isa = PBXVariantGroup;
617 | children = (
618 | 7977107C1FDAD27100917866 /* Base */,
619 | );
620 | name = Main.storyboard;
621 | sourceTree = "";
622 | };
623 | 797710801FDAD27100917866 /* LaunchScreen.storyboard */ = {
624 | isa = PBXVariantGroup;
625 | children = (
626 | 797710811FDAD27100917866 /* Base */,
627 | );
628 | name = LaunchScreen.storyboard;
629 | sourceTree = "";
630 | };
631 | /* End PBXVariantGroup section */
632 |
633 | /* Begin XCBuildConfiguration section */
634 | 797710851FDAD27100917866 /* Debug */ = {
635 | isa = XCBuildConfiguration;
636 | baseConfigurationReference = CFC77DA583C1A6B9ED804057 /* Pods-[CP] Example.debug.xcconfig */;
637 | buildSettings = {
638 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
639 | CODE_SIGN_STYLE = Automatic;
640 | FRAMEWORK_SEARCH_PATHS = (
641 | "$(inherited)",
642 | "$(PROJECT_DIR)/Carthage/Build/iOS",
643 | );
644 | INFOPLIST_FILE = Example/Info.plist;
645 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
646 | PRODUCT_BUNDLE_IDENTIFIER = swiss.mandelkind.Example;
647 | PRODUCT_NAME = "$(TARGET_NAME)";
648 | SWIFT_VERSION = 5.0;
649 | TARGETED_DEVICE_FAMILY = "1,2";
650 | };
651 | name = Debug;
652 | };
653 | 797710861FDAD27100917866 /* Release */ = {
654 | isa = XCBuildConfiguration;
655 | baseConfigurationReference = F5DA6DECE5D527E2A9368785 /* Pods-[CP] Example.release.xcconfig */;
656 | buildSettings = {
657 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
658 | CODE_SIGN_STYLE = Automatic;
659 | FRAMEWORK_SEARCH_PATHS = (
660 | "$(inherited)",
661 | "$(PROJECT_DIR)/Carthage/Build/iOS",
662 | );
663 | INFOPLIST_FILE = Example/Info.plist;
664 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
665 | PRODUCT_BUNDLE_IDENTIFIER = swiss.mandelkind.Example;
666 | PRODUCT_NAME = "$(TARGET_NAME)";
667 | SWIFT_VERSION = 5.0;
668 | TARGETED_DEVICE_FAMILY = "1,2";
669 | };
670 | name = Release;
671 | };
672 | 7983DCB220B0C44500963F05 /* Debug */ = {
673 | isa = XCBuildConfiguration;
674 | buildSettings = {
675 | CLANG_ENABLE_MODULES = YES;
676 | CODE_SIGN_IDENTITY = "";
677 | CODE_SIGN_STYLE = Automatic;
678 | DEFINES_MODULE = YES;
679 | DEVELOPMENT_TEAM = YB5VLT2EJC;
680 | DYLIB_COMPATIBILITY_VERSION = 1;
681 | DYLIB_CURRENT_VERSION = 1;
682 | DYLIB_INSTALL_NAME_BASE = "@rpath";
683 | FRAMEWORK_SEARCH_PATHS = (
684 | "$(inherited)",
685 | "$(PROJECT_DIR)/Carthage/Build/iOS",
686 | );
687 | INFOPLIST_FILE = SplitRow/Info.plist;
688 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
689 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
690 | PRODUCT_BUNDLE_IDENTIFIER = swiss.mandelkind.SplitRow;
691 | PRODUCT_NAME = SplitRow;
692 | SKIP_INSTALL = YES;
693 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
694 | SWIFT_VERSION = 5.0;
695 | TARGETED_DEVICE_FAMILY = "1,2";
696 | };
697 | name = Debug;
698 | };
699 | 7983DCB320B0C44500963F05 /* Release */ = {
700 | isa = XCBuildConfiguration;
701 | buildSettings = {
702 | CLANG_ENABLE_MODULES = YES;
703 | CODE_SIGN_IDENTITY = "";
704 | CODE_SIGN_STYLE = Automatic;
705 | DEFINES_MODULE = YES;
706 | DEVELOPMENT_TEAM = YB5VLT2EJC;
707 | DYLIB_COMPATIBILITY_VERSION = 1;
708 | DYLIB_CURRENT_VERSION = 1;
709 | DYLIB_INSTALL_NAME_BASE = "@rpath";
710 | FRAMEWORK_SEARCH_PATHS = (
711 | "$(inherited)",
712 | "$(PROJECT_DIR)/Carthage/Build/iOS",
713 | );
714 | INFOPLIST_FILE = SplitRow/Info.plist;
715 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
716 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
717 | PRODUCT_BUNDLE_IDENTIFIER = swiss.mandelkind.SplitRow;
718 | PRODUCT_NAME = SplitRow;
719 | SKIP_INSTALL = YES;
720 | SWIFT_VERSION = 5.0;
721 | TARGETED_DEVICE_FAMILY = "1,2";
722 | };
723 | name = Release;
724 | };
725 | 79B5CB381FD4756500983E52 /* Debug */ = {
726 | isa = XCBuildConfiguration;
727 | buildSettings = {
728 | ALWAYS_SEARCH_USER_PATHS = NO;
729 | CLANG_ANALYZER_NONNULL = YES;
730 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
731 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
732 | CLANG_CXX_LIBRARY = "libc++";
733 | CLANG_ENABLE_MODULES = YES;
734 | CLANG_ENABLE_OBJC_ARC = YES;
735 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
736 | CLANG_WARN_BOOL_CONVERSION = YES;
737 | CLANG_WARN_COMMA = YES;
738 | CLANG_WARN_CONSTANT_CONVERSION = YES;
739 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
740 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
741 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
742 | CLANG_WARN_EMPTY_BODY = YES;
743 | CLANG_WARN_ENUM_CONVERSION = YES;
744 | CLANG_WARN_INFINITE_RECURSION = YES;
745 | CLANG_WARN_INT_CONVERSION = YES;
746 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
747 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
748 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
749 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
750 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
751 | CLANG_WARN_STRICT_PROTOTYPES = YES;
752 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
753 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
754 | CLANG_WARN_UNREACHABLE_CODE = YES;
755 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
756 | CODE_SIGN_IDENTITY = "iPhone Developer";
757 | COPY_PHASE_STRIP = NO;
758 | CURRENT_PROJECT_VERSION = 1;
759 | DEBUG_INFORMATION_FORMAT = dwarf;
760 | ENABLE_STRICT_OBJC_MSGSEND = YES;
761 | ENABLE_TESTABILITY = YES;
762 | GCC_C_LANGUAGE_STANDARD = gnu11;
763 | GCC_DYNAMIC_NO_PIC = NO;
764 | GCC_NO_COMMON_BLOCKS = YES;
765 | GCC_OPTIMIZATION_LEVEL = 0;
766 | GCC_PREPROCESSOR_DEFINITIONS = (
767 | "DEBUG=1",
768 | "$(inherited)",
769 | );
770 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
771 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
772 | GCC_WARN_UNDECLARED_SELECTOR = YES;
773 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
774 | GCC_WARN_UNUSED_FUNCTION = YES;
775 | GCC_WARN_UNUSED_VARIABLE = YES;
776 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
777 | MTL_ENABLE_DEBUG_INFO = YES;
778 | ONLY_ACTIVE_ARCH = YES;
779 | SDKROOT = iphoneos;
780 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
781 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
782 | SWIFT_VERSION = 5.0;
783 | VERSIONING_SYSTEM = "apple-generic";
784 | VERSION_INFO_PREFIX = "";
785 | };
786 | name = Debug;
787 | };
788 | 79B5CB391FD4756500983E52 /* Release */ = {
789 | isa = XCBuildConfiguration;
790 | buildSettings = {
791 | ALWAYS_SEARCH_USER_PATHS = NO;
792 | CLANG_ANALYZER_NONNULL = YES;
793 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
794 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
795 | CLANG_CXX_LIBRARY = "libc++";
796 | CLANG_ENABLE_MODULES = YES;
797 | CLANG_ENABLE_OBJC_ARC = YES;
798 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
799 | CLANG_WARN_BOOL_CONVERSION = YES;
800 | CLANG_WARN_COMMA = YES;
801 | CLANG_WARN_CONSTANT_CONVERSION = YES;
802 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
803 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
804 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
805 | CLANG_WARN_EMPTY_BODY = YES;
806 | CLANG_WARN_ENUM_CONVERSION = YES;
807 | CLANG_WARN_INFINITE_RECURSION = YES;
808 | CLANG_WARN_INT_CONVERSION = YES;
809 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
810 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
811 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
812 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
813 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
814 | CLANG_WARN_STRICT_PROTOTYPES = YES;
815 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
816 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
817 | CLANG_WARN_UNREACHABLE_CODE = YES;
818 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
819 | CODE_SIGN_IDENTITY = "iPhone Developer";
820 | COPY_PHASE_STRIP = NO;
821 | CURRENT_PROJECT_VERSION = 1;
822 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
823 | ENABLE_NS_ASSERTIONS = NO;
824 | ENABLE_STRICT_OBJC_MSGSEND = YES;
825 | GCC_C_LANGUAGE_STANDARD = gnu11;
826 | GCC_NO_COMMON_BLOCKS = YES;
827 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
828 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
829 | GCC_WARN_UNDECLARED_SELECTOR = YES;
830 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
831 | GCC_WARN_UNUSED_FUNCTION = YES;
832 | GCC_WARN_UNUSED_VARIABLE = YES;
833 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
834 | MTL_ENABLE_DEBUG_INFO = NO;
835 | SDKROOT = iphoneos;
836 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
837 | SWIFT_VERSION = 5.0;
838 | VALIDATE_PRODUCT = YES;
839 | VERSIONING_SYSTEM = "apple-generic";
840 | VERSION_INFO_PREFIX = "";
841 | };
842 | name = Release;
843 | };
844 | 79B5CB3B1FD4756500983E52 /* Debug */ = {
845 | isa = XCBuildConfiguration;
846 | baseConfigurationReference = 6933D2CC4FBAD3D15D2131C4 /* Pods-[CP] SplitRow.debug.xcconfig */;
847 | buildSettings = {
848 | CLANG_ENABLE_MODULES = YES;
849 | CODE_SIGN_IDENTITY = "";
850 | CODE_SIGN_STYLE = Automatic;
851 | DEFINES_MODULE = YES;
852 | DEVELOPMENT_TEAM = YB5VLT2EJC;
853 | DYLIB_COMPATIBILITY_VERSION = 1;
854 | DYLIB_CURRENT_VERSION = 1;
855 | DYLIB_INSTALL_NAME_BASE = "@rpath";
856 | FRAMEWORK_SEARCH_PATHS = (
857 | "$(inherited)",
858 | "$(PROJECT_DIR)/Carthage/Build/iOS",
859 | );
860 | INFOPLIST_FILE = SplitRow/Info.plist;
861 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
862 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
863 | PRODUCT_BUNDLE_IDENTIFIER = swiss.mandelkind.SplitRow;
864 | PRODUCT_NAME = SplitRow;
865 | SKIP_INSTALL = YES;
866 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
867 | SWIFT_VERSION = 5.0;
868 | TARGETED_DEVICE_FAMILY = "1,2";
869 | };
870 | name = Debug;
871 | };
872 | 79B5CB3C1FD4756500983E52 /* Release */ = {
873 | isa = XCBuildConfiguration;
874 | baseConfigurationReference = 30E75B0ECDB567A768259853 /* Pods-[CP] SplitRow.release.xcconfig */;
875 | buildSettings = {
876 | CLANG_ENABLE_MODULES = YES;
877 | CODE_SIGN_IDENTITY = "";
878 | CODE_SIGN_STYLE = Automatic;
879 | DEFINES_MODULE = YES;
880 | DEVELOPMENT_TEAM = YB5VLT2EJC;
881 | DYLIB_COMPATIBILITY_VERSION = 1;
882 | DYLIB_CURRENT_VERSION = 1;
883 | DYLIB_INSTALL_NAME_BASE = "@rpath";
884 | FRAMEWORK_SEARCH_PATHS = (
885 | "$(inherited)",
886 | "$(PROJECT_DIR)/Carthage/Build/iOS",
887 | );
888 | INFOPLIST_FILE = SplitRow/Info.plist;
889 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
890 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
891 | PRODUCT_BUNDLE_IDENTIFIER = swiss.mandelkind.SplitRow;
892 | PRODUCT_NAME = SplitRow;
893 | SKIP_INSTALL = YES;
894 | SWIFT_VERSION = 5.0;
895 | TARGETED_DEVICE_FAMILY = "1,2";
896 | };
897 | name = Release;
898 | };
899 | 79B5CB3E1FD4756500983E52 /* Debug */ = {
900 | isa = XCBuildConfiguration;
901 | baseConfigurationReference = 638FAE23CE9EA43635267CD7 /* Pods-SplitRowTests.debug.xcconfig */;
902 | buildSettings = {
903 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
904 | CODE_SIGN_STYLE = Automatic;
905 | DEVELOPMENT_TEAM = YB5VLT2EJC;
906 | INFOPLIST_FILE = SplitRowTests/Info.plist;
907 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
908 | PRODUCT_BUNDLE_IDENTIFIER = swiss.mandelkind.SplitRowTests;
909 | PRODUCT_NAME = "$(TARGET_NAME)";
910 | SWIFT_VERSION = 5.0;
911 | TARGETED_DEVICE_FAMILY = "1,2";
912 | };
913 | name = Debug;
914 | };
915 | 79B5CB3F1FD4756500983E52 /* Release */ = {
916 | isa = XCBuildConfiguration;
917 | baseConfigurationReference = 96507E193F5205CB3720DC80 /* Pods-SplitRowTests.release.xcconfig */;
918 | buildSettings = {
919 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
920 | CODE_SIGN_STYLE = Automatic;
921 | DEVELOPMENT_TEAM = YB5VLT2EJC;
922 | INFOPLIST_FILE = SplitRowTests/Info.plist;
923 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
924 | PRODUCT_BUNDLE_IDENTIFIER = swiss.mandelkind.SplitRowTests;
925 | PRODUCT_NAME = "$(TARGET_NAME)";
926 | SWIFT_VERSION = 5.0;
927 | TARGETED_DEVICE_FAMILY = "1,2";
928 | };
929 | name = Release;
930 | };
931 | 79F3CB9D2371FFC300C21C3C /* Debug */ = {
932 | isa = XCBuildConfiguration;
933 | buildSettings = {
934 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
935 | CODE_SIGN_STYLE = Automatic;
936 | FRAMEWORK_SEARCH_PATHS = (
937 | "$(inherited)",
938 | "$(PROJECT_DIR)/Carthage/Build/iOS",
939 | );
940 | INFOPLIST_FILE = "Example copy-Info.plist";
941 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
942 | PRODUCT_BUNDLE_IDENTIFIER = swiss.mandelkind.Example;
943 | PRODUCT_NAME = "$(TARGET_NAME)";
944 | SWIFT_VERSION = 5.0;
945 | TARGETED_DEVICE_FAMILY = "1,2";
946 | };
947 | name = Debug;
948 | };
949 | 79F3CB9E2371FFC300C21C3C /* Release */ = {
950 | isa = XCBuildConfiguration;
951 | buildSettings = {
952 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
953 | CODE_SIGN_STYLE = Automatic;
954 | FRAMEWORK_SEARCH_PATHS = (
955 | "$(inherited)",
956 | "$(PROJECT_DIR)/Carthage/Build/iOS",
957 | );
958 | INFOPLIST_FILE = "Example copy-Info.plist";
959 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
960 | PRODUCT_BUNDLE_IDENTIFIER = swiss.mandelkind.Example;
961 | PRODUCT_NAME = "$(TARGET_NAME)";
962 | SWIFT_VERSION = 5.0;
963 | TARGETED_DEVICE_FAMILY = "1,2";
964 | };
965 | name = Release;
966 | };
967 | /* End XCBuildConfiguration section */
968 |
969 | /* Begin XCConfigurationList section */
970 | 797710841FDAD27100917866 /* Build configuration list for PBXNativeTarget "[CP] Example" */ = {
971 | isa = XCConfigurationList;
972 | buildConfigurations = (
973 | 797710851FDAD27100917866 /* Debug */,
974 | 797710861FDAD27100917866 /* Release */,
975 | );
976 | defaultConfigurationIsVisible = 0;
977 | defaultConfigurationName = Release;
978 | };
979 | 7983DCB120B0C44500963F05 /* Build configuration list for PBXNativeTarget "[Carthage] SplitRow" */ = {
980 | isa = XCConfigurationList;
981 | buildConfigurations = (
982 | 7983DCB220B0C44500963F05 /* Debug */,
983 | 7983DCB320B0C44500963F05 /* Release */,
984 | );
985 | defaultConfigurationIsVisible = 0;
986 | defaultConfigurationName = Release;
987 | };
988 | 79B5CB201FD4756500983E52 /* Build configuration list for PBXProject "SplitRow" */ = {
989 | isa = XCConfigurationList;
990 | buildConfigurations = (
991 | 79B5CB381FD4756500983E52 /* Debug */,
992 | 79B5CB391FD4756500983E52 /* Release */,
993 | );
994 | defaultConfigurationIsVisible = 0;
995 | defaultConfigurationName = Release;
996 | };
997 | 79B5CB3A1FD4756500983E52 /* Build configuration list for PBXNativeTarget "[CP] SplitRow" */ = {
998 | isa = XCConfigurationList;
999 | buildConfigurations = (
1000 | 79B5CB3B1FD4756500983E52 /* Debug */,
1001 | 79B5CB3C1FD4756500983E52 /* Release */,
1002 | );
1003 | defaultConfigurationIsVisible = 0;
1004 | defaultConfigurationName = Release;
1005 | };
1006 | 79B5CB3D1FD4756500983E52 /* Build configuration list for PBXNativeTarget "SplitRowTests" */ = {
1007 | isa = XCConfigurationList;
1008 | buildConfigurations = (
1009 | 79B5CB3E1FD4756500983E52 /* Debug */,
1010 | 79B5CB3F1FD4756500983E52 /* Release */,
1011 | );
1012 | defaultConfigurationIsVisible = 0;
1013 | defaultConfigurationName = Release;
1014 | };
1015 | 79F3CB9C2371FFC300C21C3C /* Build configuration list for PBXNativeTarget "[Carthage] Example" */ = {
1016 | isa = XCConfigurationList;
1017 | buildConfigurations = (
1018 | 79F3CB9D2371FFC300C21C3C /* Debug */,
1019 | 79F3CB9E2371FFC300C21C3C /* Release */,
1020 | );
1021 | defaultConfigurationIsVisible = 0;
1022 | defaultConfigurationName = Release;
1023 | };
1024 | /* End XCConfigurationList section */
1025 | };
1026 | rootObject = 79B5CB1D1FD4756500983E52 /* Project object */;
1027 | }
1028 |
--------------------------------------------------------------------------------
/SplitRow.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/SplitRow.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/SplitRow.xcodeproj/xcshareddata/xcschemes/[Carthage] Example.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
43 |
45 |
51 |
52 |
53 |
54 |
60 |
62 |
68 |
69 |
70 |
71 |
73 |
74 |
77 |
78 |
79 |
--------------------------------------------------------------------------------
/SplitRow.xcodeproj/xcshareddata/xcschemes/[Carthage] SplitRow.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
34 |
35 |
45 |
46 |
52 |
53 |
54 |
55 |
56 |
57 |
63 |
64 |
70 |
71 |
72 |
73 |
75 |
76 |
79 |
80 |
81 |
--------------------------------------------------------------------------------
/SplitRow.xcodeproj/xcuserdata/marbetschar.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | Example.xcscheme
8 |
9 | orderHint
10 | 2
11 |
12 | Example.xcscheme_^#shared#^_
13 |
14 | orderHint
15 | 5
16 |
17 | SplitRowTests.xcscheme_^#shared#^_
18 |
19 | orderHint
20 | 6
21 |
22 | [CP] Example.xcscheme_^#shared#^_
23 |
24 | orderHint
25 | 7
26 |
27 | [CP] SplitRow.xcscheme
28 |
29 | orderHint
30 | 0
31 |
32 | [Carthage] Example.xcscheme_^#shared#^_
33 |
34 | orderHint
35 | 1
36 |
37 | [Carthage] SplitRow.xcscheme_^#shared#^_
38 |
39 | orderHint
40 | 0
41 |
42 |
43 | SuppressBuildableAutocreation
44 |
45 | 79B5CB251FD4756500983E52
46 |
47 | primary
48 |
49 |
50 | 79F3CB8D2371FFC300C21C3C
51 |
52 | primary
53 |
54 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/SplitRow.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/SplitRow.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/SplitRow/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleDisplayName
8 | SplitRow
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | FMWK
19 | CFBundleShortVersionString
20 | 1.1.1
21 | CFBundleVersion
22 | $(CURRENT_PROJECT_VERSION)
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/SplitRow/SplitRow.h:
--------------------------------------------------------------------------------
1 | //
2 | // SplitRow.h
3 | // SplitRow
4 | //
5 | // Created by Marco Betschart on 03.12.17.
6 | // Copyright © 2017 MANDELKIND. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | //! Project version number for SplitRow.
12 | FOUNDATION_EXPORT double SplitRowVersionNumber;
13 |
14 | //! Project version string for SplitRow.
15 | FOUNDATION_EXPORT const unsigned char SplitRowVersionString[];
16 |
17 | // In this header, you should import all the public headers of your framework using statements like #import
18 |
19 |
20 |
--------------------------------------------------------------------------------
/SplitRow/SplitRow.swift:
--------------------------------------------------------------------------------
1 | //
2 | // SplitRow.swift
3 | // Valletti
4 | //
5 | // Created by Marco Betschart on 01.12.17.
6 | // Copyright © 2017 MANDELKIND. All rights reserved.
7 | //
8 |
9 | import Eureka
10 | import UIKit
11 |
12 | open class _SplitRow: Row> where L: BaseRow, R: BaseRow{
13 |
14 | open override var section: Section?{
15 | get{ return super.section }
16 | set{
17 | rowLeft?.section = newValue
18 | rowRight?.section = newValue
19 |
20 | super.section = newValue
21 | }
22 | }
23 |
24 | open override func validate(quietly: Bool = false) -> [ValidationError] {
25 | var errors = rowLeft?.validate(quietly: quietly) ?? []
26 | errors.append(contentsOf: rowRight?.validate(quietly: quietly) ?? [])
27 | return errors
28 | }
29 |
30 | open override func updateCell(){
31 | super.updateCell()
32 |
33 | self.rowLeft?.updateCell()
34 | self.rowLeft?.cell?.selectionStyle = .none
35 |
36 | self.rowRight?.updateCell()
37 | self.rowRight?.cell?.selectionStyle = .none
38 | }
39 |
40 | private(set) public var valueChanged = Set()
41 |
42 | open override var value: SplitRowValue?{
43 | get{ return super.value }
44 | set{
45 | valueChanged = []
46 | if super.value?.left != newValue?.left {
47 | valueChanged.insert(.left)
48 | }
49 | if super.value?.right != newValue?.right {
50 | valueChanged.insert(.right)
51 | }
52 |
53 | if self.rowLeft?.value != newValue?.left{
54 | self.rowLeft?.value = newValue?.left
55 | valueChanged.insert(.left)
56 | }
57 |
58 | if self.rowRight?.value != newValue?.right{
59 | self.rowRight?.value = newValue?.right
60 | valueChanged.insert(.right)
61 | }
62 |
63 | if false == valueChanged.isEmpty{
64 | super.value = newValue
65 | }
66 | }
67 | }
68 |
69 | public enum SplitRowTag: String{
70 | case left,right
71 | }
72 |
73 | public var rowLeft: L?{
74 | willSet{
75 | newValue?.tag = SplitRowTag.left.rawValue
76 | guard let row = newValue else{ return }
77 |
78 | var rowValue = self.value ?? SplitRowValue()
79 | rowValue.left = row.value
80 | self.value = rowValue
81 |
82 | subscribe(onChange: row)
83 | subscribe(onCellHighlightChanged: row)
84 | }
85 | }
86 |
87 | /// The left rows background color.
88 | /// - note: Use `cell.backgroundColor` to change the entire row's background color.
89 | public var rowLeftBackgroundColor: UIColor? {
90 | get { return cell.tableViewLeft.backgroundColor }
91 | set { cell.tableViewLeft.backgroundColor = newValue }
92 | }
93 |
94 | public var rowLeftPercentage: CGFloat = 0.3
95 |
96 | public var rowRight: R?{
97 | willSet{
98 | newValue?.tag = SplitRowTag.right.rawValue
99 | guard let row = newValue else{ return }
100 |
101 | var rowValue = self.value ?? SplitRowValue()
102 | rowValue.right = row.value
103 | self.value = rowValue
104 |
105 | subscribe(onChange: row)
106 | subscribe(onCellHighlightChanged: row)
107 | }
108 | }
109 |
110 | /// The right rows background color.
111 | /// - note: Use `cell.backgroundColor` to change the entire row's background color.
112 | public var rowRightBackgroundColor: UIColor? {
113 | get { return cell.tableViewRight.backgroundColor }
114 | set { cell.tableViewRight.backgroundColor = newValue }
115 | }
116 |
117 | public var rowRightPercentage: CGFloat{
118 | return 1.0 - self.rowLeftPercentage
119 | }
120 |
121 | required public init(tag: String?) {
122 | super.init(tag: tag)
123 | cellProvider = CellProvider>()
124 | }
125 |
126 | open func subscribe(onChange row: T) where T: BaseRow{
127 | row.onChange{ [weak self] row in
128 | guard let strongSelf = self, let rowTagString = row.tag, let rowTag = SplitRowTag(rawValue: rowTagString) else{ return }
129 | strongSelf.cell?.update() //TODO: This should only be done on cells which need an update. e.g. PushRow etc.
130 |
131 | var value = SplitRowValue()
132 | if rowTag == .left {
133 | value.left = row.value as? L.Cell.Value
134 | value.right = strongSelf.value?.right
135 | } else if rowTag == .right {
136 | value.right = row.value as? R.Cell.Value
137 | value.left = strongSelf.value?.left
138 | }
139 |
140 | strongSelf.value = value
141 | }
142 | }
143 |
144 | open func subscribe(onCellHighlightChanged row: T) where T: BaseRow{
145 | row.onCellHighlightChanged{ [weak self] cell, row in
146 | guard let strongSelf = self,
147 | let splitRowCell = strongSelf.cell,
148 | let formViewController = strongSelf.cell.formViewController()
149 | else { return }
150 |
151 | if cell.isHighlighted || row.isHighlighted {
152 | formViewController.beginEditing(of: splitRowCell)
153 | } else {
154 | formViewController.endEditing(of: splitRowCell)
155 | }
156 | }
157 | }
158 | }
159 |
160 | public final class SplitRow: _SplitRow, RowType where L: BaseRow, R: BaseRow{}
161 |
--------------------------------------------------------------------------------
/SplitRow/SplitRowCell.swift:
--------------------------------------------------------------------------------
1 | //
2 | // SplitRowCell.swift
3 | // Valletti
4 | //
5 | // Created by Marco Betschart on 30.11.17.
6 | // Copyright © 2017 MANDELKIND. All rights reserved.
7 | //
8 |
9 | import Eureka
10 | import UIKit
11 |
12 | open class SplitRowCell: Cell>, CellType where L: BaseRow, R: BaseRow{
13 | var tableViewLeft: SplitRowCellTableView!
14 | var tableViewRight: SplitRowCellTableView!
15 |
16 | open override var isHighlighted: Bool {
17 | get { return super.isHighlighted || (tableViewLeft.row?.cell?.isHighlighted ?? false) || (tableViewRight.row?.cell?.isHighlighted ?? false) }
18 | set { super.isHighlighted = newValue }
19 | }
20 |
21 | public required init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
22 | super.init(style: style, reuseIdentifier: reuseIdentifier)
23 |
24 | let tableViewLeft: SplitRowCellTableView = SplitRowCellTableView()
25 | self.tableViewLeft = tableViewLeft
26 | tableViewLeft.backgroundColor = .clear
27 | tableViewLeft.separatorStyle = .none
28 | tableViewLeft.leftSeparatorStyle = .none
29 | tableViewLeft.translatesAutoresizingMaskIntoConstraints = false
30 |
31 | let tableViewRight: SplitRowCellTableView = SplitRowCellTableView()
32 | self.tableViewRight = tableViewRight
33 | tableViewRight.backgroundColor = .clear
34 | tableViewRight.separatorStyle = .none
35 | tableViewRight.leftSeparatorStyle = .singleLine
36 | tableViewRight.translatesAutoresizingMaskIntoConstraints = false
37 |
38 | contentView.addSubview(tableViewLeft)
39 | contentView.addConstraint(NSLayoutConstraint(item: tableViewLeft, attribute: .leftMargin, relatedBy: .equal, toItem: contentView, attribute: .leftMargin, multiplier: 1.0, constant: 0.0))
40 |
41 | contentView.addSubview(tableViewRight)
42 | contentView.addConstraint(NSLayoutConstraint(item: tableViewRight, attribute: .rightMargin, relatedBy: .equal, toItem: contentView, attribute: .rightMargin, multiplier: 1.0, constant: 0.0))
43 | }
44 |
45 | required public init?(coder aDecoder: NSCoder) {
46 | fatalError("init(coder:) has not been implemented")
47 | }
48 |
49 | open override func setup(){
50 | selectionStyle = .none
51 |
52 | //ignore Xcode Cast warning here, it works!
53 | guard let row = self.row as? _SplitRow else{ return }
54 |
55 | //TODO: If we use UITableViewAutomaticDimension instead of 44.0 we encounter constraint errors :(
56 | let maxRowHeight = max(row.rowLeft?.cell?.height?() ?? 44.0, row.rowRight?.cell?.height?() ?? 44.0)
57 | if maxRowHeight != UITableView.automaticDimension{
58 | self.height = { maxRowHeight }
59 | row.rowLeft?.cell?.height = self.height
60 | row.rowRight?.cell?.height = self.height
61 | }
62 |
63 | tableViewLeft.row = row.rowLeft
64 | tableViewLeft.isScrollEnabled = false
65 | tableViewLeft.setup()
66 |
67 | tableViewRight.row = row.rowRight
68 | tableViewRight.isScrollEnabled = false
69 | tableViewRight.setup()
70 |
71 | setupConstraints()
72 | }
73 |
74 |
75 | open override func update(){
76 | tableViewLeft.update()
77 | tableViewRight.update()
78 | }
79 |
80 | private func setupConstraints(){
81 | guard let row = self.row as? _SplitRow else{ return }
82 | guard let tableViewLeft = tableViewLeft, let tableViewRight = tableViewRight else{ return }
83 |
84 | if let height = self.height?(){
85 | self.contentView.addConstraint(NSLayoutConstraint(item: tableViewLeft, attribute: .height, relatedBy: .greaterThanOrEqual, toItem: nil, attribute: .height, multiplier: 1.0, constant: height))
86 | self.contentView.addConstraint(NSLayoutConstraint(item: tableViewRight, attribute: .height, relatedBy: .greaterThanOrEqual, toItem: nil, attribute: .height, multiplier: 1.0, constant: height))
87 | }
88 |
89 | self.contentView.addConstraint(NSLayoutConstraint(item: tableViewLeft, attribute: .width, relatedBy: .equal, toItem: contentView, attribute: .width, multiplier: row.rowLeftPercentage, constant: 0.0))
90 | self.contentView.addConstraint(NSLayoutConstraint(item: tableViewRight, attribute: .width, relatedBy: .equal, toItem: contentView, attribute: .width, multiplier: row.rowRightPercentage, constant: 0.0))
91 | }
92 |
93 | private func rowCanBecomeFirstResponder(_ row: BaseRow?) -> Bool{
94 | guard let row = row else{ return false }
95 | return false == row.isDisabled && row.baseCell?.cellCanBecomeFirstResponder() ?? false
96 | }
97 |
98 | open override var isFirstResponder: Bool{
99 | guard let row = self.row as? _SplitRow else{ return false }
100 |
101 | let rowLeftFirstResponder = row.rowLeft?.cell.findFirstResponder()
102 | let rowRightFirstResponder = row.rowRight?.cell?.findFirstResponder()
103 |
104 | return rowLeftFirstResponder != nil || rowRightFirstResponder != nil
105 | }
106 |
107 | open override func cellCanBecomeFirstResponder() -> Bool{
108 | guard let row = self.row as? _SplitRow else{ return false }
109 | guard false == row.isDisabled else{ return false }
110 |
111 | let rowLeftFirstResponder = row.rowLeft?.cell.findFirstResponder()
112 | let rowRightFirstResponder = row.rowRight?.cell?.findFirstResponder()
113 |
114 | if rowLeftFirstResponder == nil && rowRightFirstResponder == nil{
115 | return rowCanBecomeFirstResponder(row.rowLeft) || rowCanBecomeFirstResponder(row.rowRight)
116 |
117 | } else if rowLeftFirstResponder == nil{
118 | return rowCanBecomeFirstResponder(row.rowLeft)
119 |
120 | } else if rowRightFirstResponder == nil{
121 | return rowCanBecomeFirstResponder(row.rowRight)
122 | }
123 |
124 | return false
125 | }
126 |
127 | open override func cellBecomeFirstResponder(withDirection: Direction) -> Bool {
128 | guard let row = self.row as? _SplitRow else{ return false }
129 |
130 | let rowLeftFirstResponder = row.rowLeft?.cell.findFirstResponder()
131 | let rowLeftCanBecomeFirstResponder = rowCanBecomeFirstResponder(row.rowLeft)
132 | var isFirstResponder = false
133 |
134 | let rowRightFirstResponder = row.rowRight?.cell?.findFirstResponder()
135 | let rowRightCanBecomeFirstResponder = rowCanBecomeFirstResponder(row.rowRight)
136 |
137 | if withDirection == .down{
138 | if rowLeftFirstResponder == nil, rowLeftCanBecomeFirstResponder{
139 | isFirstResponder = row.rowLeft?.cell?.cellBecomeFirstResponder(withDirection: withDirection) ?? false
140 |
141 | } else if rowRightFirstResponder == nil, rowRightCanBecomeFirstResponder{
142 | isFirstResponder = row.rowRight?.cell?.cellBecomeFirstResponder(withDirection: withDirection) ?? false
143 | }
144 |
145 | } else if withDirection == .up{
146 | if rowRightFirstResponder == nil, rowRightCanBecomeFirstResponder{
147 | isFirstResponder = row.rowRight?.cell?.cellBecomeFirstResponder(withDirection: withDirection) ?? false
148 |
149 | } else if rowLeftFirstResponder == nil, rowLeftCanBecomeFirstResponder{
150 | isFirstResponder = row.rowLeft?.cell?.cellBecomeFirstResponder(withDirection: withDirection) ?? false
151 | }
152 | }
153 |
154 | if isFirstResponder {
155 | formViewController()?.beginEditing(of: self)
156 | }
157 |
158 | return isFirstResponder
159 | }
160 |
161 | open override func cellResignFirstResponder() -> Bool{
162 | guard let row = self.row as? _SplitRow else{ return false }
163 |
164 | let rowLeftResignFirstResponder = row.rowLeft?.cell?.cellResignFirstResponder() ?? false
165 | let rowRightResignFirstResponder = row.rowRight?.cell?.cellResignFirstResponder() ?? false
166 | let resignedFirstResponder = rowLeftResignFirstResponder && rowRightResignFirstResponder
167 |
168 | if resignedFirstResponder {
169 | formViewController()?.endEditing(of: self)
170 | }
171 |
172 | return resignedFirstResponder
173 | }
174 | }
175 |
--------------------------------------------------------------------------------
/SplitRow/SplitRowCellTableView.swift:
--------------------------------------------------------------------------------
1 | //
2 | // SplitRowCellTableView.swift
3 | // Valletti
4 | //
5 | // Created by Marco Betschart on 02.12.17.
6 | // Copyright © 2017 MANDELKIND. All rights reserved.
7 | //
8 |
9 | import Eureka
10 | import UIKit
11 |
12 | class SplitRowCellTableView: UITableView, UITableViewDelegate, UITableViewDataSource{
13 |
14 | var row: T?
15 |
16 | var leftSeparatorStyle: UITableViewCell.SeparatorStyle = .none{
17 | didSet{
18 | if oldValue != self.leftSeparatorStyle{
19 | self.reloadData()
20 | }
21 | }
22 | }
23 |
24 | override init(frame: CGRect, style: UITableView.Style) {
25 | super.init(frame: frame, style: style)
26 |
27 | self.dataSource = self
28 | self.delegate = self
29 | }
30 |
31 | required init?(coder aDecoder: NSCoder) {
32 | fatalError("init(coder:) has not been implemented")
33 | }
34 |
35 | open func setup(){
36 | guard let row = self.row else{ return }
37 | if #available(iOS 13.0, *) {
38 | row.baseCell.backgroundColor = .clear
39 | }
40 | if !(row is _StepperRow) {
41 | row.baseCell.setup()
42 | }
43 | row.baseCell.selectionStyle = .none
44 | }
45 |
46 | open func update(){
47 | guard let row = self.row else{ return }
48 | row.updateCell()
49 | row.baseCell.selectionStyle = .none
50 | }
51 |
52 |
53 | // MARK: UITableViewDelegate
54 |
55 | open func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
56 | guard let row = self.row else{ return }
57 |
58 | // row.baseCell.cellBecomeFirstResponder() may be cause InlineRow collapsed then section count will be changed. Use orignal indexPath will out of section's bounds.
59 | if !row.baseCell.cellCanBecomeFirstResponder() || !row.baseCell.cellBecomeFirstResponder() {
60 | tableView.endEditing(true)
61 | }
62 | row.didSelect()
63 | }
64 |
65 | open func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
66 | guard let row = self.row else{ return tableView.rowHeight }
67 | return row.baseCell.height?() ?? tableView.rowHeight
68 | }
69 |
70 | open func tableView(_ tableView: UITableView, estimatedHeightForRowAt indexPath: IndexPath) -> CGFloat {
71 | guard let row = self.row else{ return tableView.rowHeight }
72 | return row.baseCell.height?() ?? tableView.estimatedRowHeight
73 | }
74 |
75 | open func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool {
76 | return false
77 | }
78 |
79 |
80 | // MARK: UITableViewDataSource
81 |
82 | open func numberOfSections(in tableView: UITableView) -> Int {
83 | return self.row == nil ? 0 : 1
84 | }
85 |
86 | open func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
87 | return self.row == nil ? 0 : 1
88 | }
89 |
90 | open func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
91 | guard let row = self.row else{ fatalError() }
92 |
93 | if let cell = row.baseCell, leftSeparatorStyle == .singleLine, false == cell.subviews.contains(where: { $0.backgroundColor == .groupTableViewBackground }){
94 | let separatorView = UIView()
95 | separatorView.backgroundColor = .groupTableViewBackground
96 | separatorView.translatesAutoresizingMaskIntoConstraints = false
97 |
98 | cell.addSubview(separatorView)
99 | cell.bringSubviewToFront(separatorView)
100 |
101 | cell.addConstraints(NSLayoutConstraint.constraints(withVisualFormat: "H:|[separatorView(1)]", options: [], metrics: nil, views: ["separatorView":separatorView]))
102 | cell.addConstraint(NSLayoutConstraint(item: separatorView, attribute: .top, relatedBy: .equal, toItem: cell, attribute: .top, multiplier: 1.0, constant: 11.0))
103 | cell.addConstraint(NSLayoutConstraint(item: separatorView, attribute: .bottom, relatedBy: .equal, toItem: cell, attribute: .bottom, multiplier: 1.0, constant: -11.0))
104 | }
105 |
106 | return row.baseCell
107 | }
108 | }
109 |
--------------------------------------------------------------------------------
/SplitRow/SplitRowValue.swift:
--------------------------------------------------------------------------------
1 | //
2 | // SplitRowValue.swift
3 | // Valletti
4 | //
5 | // Created by Marco Betschart on 30.11.17.
6 | // Copyright © 2017 MANDELKIND. All rights reserved.
7 | //
8 |
9 | import Eureka
10 |
11 | public struct SplitRowValue{
12 | public var left: L?
13 | public var right: R?
14 |
15 | public init(left: L?, right: R?){
16 | self.left = left
17 | self.right = right
18 | }
19 |
20 | public init(){}
21 | }
22 |
23 | extension SplitRowValue: Equatable{
24 | public static func == (lhs: SplitRowValue, rhs: SplitRowValue) -> Bool{
25 | return lhs.left == rhs.left && lhs.right == rhs.right
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/SplitRowTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 |
22 |
23 |
--------------------------------------------------------------------------------
/SplitRowTests/SplitRowTests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // SplitRowTests.swift
3 | // SplitRowTests
4 | //
5 | // Created by Marco Betschart on 03.12.17.
6 | // Copyright © 2017 MANDELKIND. All rights reserved.
7 | //
8 |
9 | import XCTest
10 | @testable import SplitRow
11 |
12 | class SplitRowTests: XCTestCase {
13 |
14 | override func setUp() {
15 | super.setUp()
16 | // Put setup code here. This method is called before the invocation of each test method in the class.
17 | }
18 |
19 | override func tearDown() {
20 | // Put teardown code here. This method is called after the invocation of each test method in the class.
21 | super.tearDown()
22 | }
23 |
24 | func testExample() {
25 | // This is an example of a functional test case.
26 | // Use XCTAssert and related functions to verify your tests produce the correct results.
27 | }
28 |
29 | func testPerformanceExample() {
30 | // This is an example of a performance test case.
31 | self.measure {
32 | // Put the code you want to measure the time of here.
33 | }
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------