diff --git a/BSSelectableView.podspec b/BSSelectableView.podspec index ddc3c18..0ad3e76 100644 --- a/BSSelectableView.podspec +++ b/BSSelectableView.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |s| s.name = 'BSSelectableView' - s.version = '1.0.9' + s.version = '1.1' s.summary = 'Easily manage your token along with your single or multiply select view.' s.description = "Looking for simple Swift library to manage multiply or single selection? This one is for you:)" diff --git a/BSSelectableView/Classes/BSMultiSelectableView.swift b/BSSelectableView/Classes/BSMultiSelectableView.swift index 6956abe..0054b3f 100644 --- a/BSSelectableView/Classes/BSMultiSelectableView.swift +++ b/BSSelectableView/Classes/BSMultiSelectableView.swift @@ -6,7 +6,10 @@ // Copyright (c) 2016 Bartłomiej Semańczyk. All rights reserved. // -@IBDesignable public class BSMultiSelectableView: BSSelectableView, UITableViewDataSource, UITableViewDelegate, BSTokenViewDataSource { +@IBDesignable public class BSMultiSelectableView: BSSelectableView, UITableViewDataSource, UITableViewDelegate { + + @IBInspectable public var lineHeight: CGFloat = 30 + @IBInspectable public var margin: CGFloat = 0 @IBOutlet public var tokenView: BSTokenView? @IBOutlet public var scrollTokenView: BSScrollTokenView? @@ -43,8 +46,12 @@ tableView.delegate = self tableView.dataSource = self - tokenView?.dataSource = self - scrollTokenView?.dataSource = self + + tokenView?.multiselectableView = self + scrollTokenView?.multiselectableView = self + + tokenView?.reloadData() + scrollTokenView?.reloadData() } //MARK: - Deinitialization @@ -59,6 +66,10 @@ expanded = !expanded } + func viewForTokenAtIndex(index: Int) -> UIView? { + return delegate?.multiSelectableView?(self, tokenViewForOption: selectedOptions[index], atIndex: index) + } + //MARK: - Private //MARK: - Overridden @@ -75,10 +86,11 @@ let option = options[indexPath.row] cell.titleLabel.text = option.title - cell.accessoryType = .None cell.titleLabel.font = BSSelectableView.fontForOption cell.titleLabel.textColor = BSSelectableView.titleColorForOption cell.leftPaddingConstraint.constant = CGFloat(BSSelectableView.leftPaddingForOption) + + cell.accessoryType = .None cell.layoutMargins = UIEdgeInsetsZero cell.selectionStyle = .None @@ -98,30 +110,4 @@ delegate?.multiSelectableView?(self, didSelectOption: selectedOption) } - - //MARK: - BSTokenViewDataSource - - func lineHeightForToken() -> CGFloat { - return delegate?.lineHeightForTokenInMultiSelectableView?() ?? 30 - } - - func numberOfTokens() -> Int { - return selectedOptions.count - } - - func viewForTokenAtIndex(index: Int) -> UIView? { - return delegate?.multiSelectableView?(self, tokenViewForOption: selectedOptions[index], atIndex: index) - } - - func tokenViewDidRefreshWithHeight(height: CGFloat) { - tokenViewHeightConstraint?.constant = height - } - - func textForPlaceholder() -> String { - return placeholderText - } - - func marginForToken() -> CGFloat { - return delegate?.marginForTokenInMultiSelectableView?() ?? 0 - } } diff --git a/BSSelectableView/Classes/BSScrollTokenView.swift b/BSSelectableView/Classes/BSScrollTokenView.swift index 9612907..65c9561 100644 --- a/BSSelectableView/Classes/BSScrollTokenView.swift +++ b/BSSelectableView/Classes/BSScrollTokenView.swift @@ -8,32 +8,15 @@ public class BSScrollTokenView: UIScrollView { - weak var dataSource: BSTokenViewDataSource? + var multiselectableView: BSMultiSelectableView? private var tokenViews = [UIView]() + private var placeholderLabel = UILabel() //MARK: - Class Methods //MARK: - Initialization - required public init?(coder aDecoder: NSCoder) { - super.init(coder: aDecoder) - - reloadData() - } - - override public init(frame: CGRect) { - super.init(frame: frame) - - reloadData() - } - - override public func awakeFromNib() { - super.awakeFromNib() - - reloadData() - } - //MARK: - Deinitialization //MARK: - Actions @@ -50,11 +33,11 @@ public class BSScrollTokenView: UIScrollView { tokenViews.removeAll() - let count = dataSource?.numberOfTokens() ?? 0 + let count = multiselectableView?.selectedOptions.count ?? 0 for index in 0.. Void) { var x: CGFloat = 0 - let margin = dataSource?.marginForToken() ?? 0 + let margin = multiselectableView?.margin ?? 0 for token in tokenViews { @@ -111,11 +98,11 @@ public class BSScrollTokenView: UIScrollView { override public func intrinsicContentSize() -> CGSize { - let lineHeight = dataSource?.lineHeightForToken() ?? 30 + let lineHeight = multiselectableView?.lineHeight ?? 0 if tokenViews.isEmpty { - dataSource?.tokenViewDidRefreshWithHeight(lineHeight) + multiselectableView?.tokenViewHeightConstraint?.constant = lineHeight return CGSizeZero } @@ -125,7 +112,7 @@ public class BSScrollTokenView: UIScrollView { totalRect = CGRectUnion(itemRect, totalRect) } - dataSource?.tokenViewDidRefreshWithHeight(max(totalRect.size.height, lineHeight)) + multiselectableView?.tokenViewHeightConstraint?.constant = max(totalRect.size.height, lineHeight) contentSize = CGSizeMake(totalRect.size.width, totalRect.size.height) return totalRect.size diff --git a/BSSelectableView/Classes/BSSelectableView.swift b/BSSelectableView/Classes/BSSelectableView.swift index 8a7d207..432c7bb 100644 --- a/BSSelectableView/Classes/BSSelectableView.swift +++ b/BSSelectableView/Classes/BSSelectableView.swift @@ -23,13 +23,10 @@ public class BSSelectableOption: NSObject { @objc public protocol BSSelectableViewDelegate { - optional func selectableOptionsForSelectableViewWithIdentifier(identifier: String) -> [BSSelectableOption] optional func multiSelectableView(view: BSMultiSelectableView, tokenViewForOption option: BSSelectableOption, atIndex index: Int) -> UIView optional func singleSelectableView(view: BSSingleSelectableView, didSelectOption option: BSSelectableOption) optional func multiSelectableView(view: BSMultiSelectableView, didSelectOption option: BSSelectableOption) - optional func lineHeightForTokenInMultiSelectableView() -> CGFloat - optional func marginForTokenInMultiSelectableView() -> CGFloat optional func selectableViewToggledOptionsWithButton(button: UIButton, expanded: Bool) } @@ -37,20 +34,31 @@ let BSSelectableTableViewCellIdentifier = "SelectableTableViewCellIdentifier" public class BSSelectableView: UIView { - static public var tintColorForSelectedOption = UIColor.blueColor() - static public var titleColorForSelectedOption = UIColor.greenColor() - static public var titleColorForOption = UIColor.blackColor() static public var fontForOption = UIFont.systemFontOfSize(16) + static public var fontForPlaceholderText = UIFont.systemFontOfSize(14) + + static public var leftPaddingForPlaceholderText = 0 static public var leftPaddingForOption = 20 static public var heightForOption = 40 - static public var leftPaddingForPlaceholderText = 0 - static public var fontForPlaceholderText = UIFont.systemFontOfSize(14) + + static public var tintColorForSelectedOption = UIColor.blueColor() + static public var titleColorForSelectedOption = UIColor.greenColor() + static public var titleColorForOption = UIColor.blackColor() static public var textColorForPlaceholderText = UIColor.grayColor() @IBInspectable public var identifier: String = "" @IBInspectable public var tableViewAccessibilityIdentifier: String = "" @IBInspectable public var maxNumberOfRows: Int = 6 - @IBInspectable public var placeholderText: String = "" + @IBInspectable public var placeholder: String = "" { + + didSet { + + (self as? BSMultiSelectableView)?.tokenView?.setupPlaceholderLabel() + (self as? BSMultiSelectableView)?.scrollTokenView?.setupPlaceholderLabel() + (self as? BSSingleSelectableView)?.setupLabel() + } + } + @IBInspectable public var cornerRadius: CGFloat = 3 { didSet { @@ -64,16 +72,7 @@ public class BSSelectableView: UIView { @IBOutlet public var contentOptionsHeightConstraint: NSLayoutConstraint? @IBOutlet public var contentOptionsView: UIView? - weak public var delegate: BSSelectableViewDelegate? { - - didSet { - - options = delegate?.selectableOptionsForSelectableViewWithIdentifier?(identifier) ?? options - (self as? BSMultiSelectableView)?.tokenView?.reloadData() - (self as? BSMultiSelectableView)?.scrollTokenView?.reloadData() - (self as? BSSingleSelectableView)?.setupLabel() - } - } + weak public var delegate: BSSelectableViewDelegate? public var options = [BSSelectableOption]() { @@ -127,6 +126,10 @@ public class BSSelectableView: UIView { contentOptionsView.addConstraints([topConstraint, trailingConstraint, bottomConstraint, leadingConstraint]) contentOptionsView.layoutIfNeeded() } + + (self as? BSMultiSelectableView)?.tokenView?.reloadData() + (self as? BSMultiSelectableView)?.scrollTokenView?.reloadData() + (self as? BSSingleSelectableView)?.setupLabel() } //MARK: - Deinitialization diff --git a/BSSelectableView/Classes/BSSingleSelectableView.swift b/BSSelectableView/Classes/BSSingleSelectableView.swift index 6227eb9..ca2d730 100644 --- a/BSSelectableView/Classes/BSSingleSelectableView.swift +++ b/BSSelectableView/Classes/BSSingleSelectableView.swift @@ -28,7 +28,6 @@ tableView.delegate = self tableView.dataSource = self - options = delegate?.selectableOptionsForSelectableViewWithIdentifier?(identifier) ?? options } //MARK: - Deinitialization @@ -52,15 +51,15 @@ if selectedOption == nil { - selectedOptionLabel?.text = placeholderText + selectedOptionLabel?.text = placeholder selectedOptionLabel?.font = BSSelectableView.fontForPlaceholderText selectedOptionLabel?.textColor = BSSelectableView.textColorForPlaceholderText } else { selectedOptionLabel?.text = selectedOption?.title - selectedOptionLabel?.textColor = BSSelectableView.titleColorForOption selectedOptionLabel?.font = BSSelectableView.fontForOption + selectedOptionLabel?.textColor = BSSelectableView.titleColorForOption } } @@ -80,11 +79,12 @@ let option = options[indexPath.row] cell.titleLabel.text = option.title - cell.accessoryType = option.identifier == selectedOption?.identifier ? .Checkmark : .None - cell.tintColor = BSSelectableView.tintColorForSelectedOption cell.titleLabel.font = BSSelectableView.fontForOption cell.titleLabel.textColor = option.identifier == selectedOption?.identifier ? BSSelectableView.titleColorForSelectedOption : BSSelectableView.titleColorForOption cell.leftPaddingConstraint.constant = CGFloat(BSSelectableView.leftPaddingForOption) + + cell.accessoryType = option.identifier == selectedOption?.identifier ? .Checkmark : .None + cell.tintColor = BSSelectableView.tintColorForSelectedOption cell.layoutMargins = UIEdgeInsetsZero cell.selectionStyle = .None diff --git a/BSSelectableView/Classes/BSTokenView.swift b/BSSelectableView/Classes/BSTokenView.swift index 91b9eae..22feaad 100644 --- a/BSSelectableView/Classes/BSTokenView.swift +++ b/BSSelectableView/Classes/BSTokenView.swift @@ -7,44 +7,17 @@ // Copyright (c) 2016 Bartłomiej Semańczyk. All rights reserved. // -@objc protocol BSTokenViewDataSource: class { - - func marginForToken() -> CGFloat - func lineHeightForToken() -> CGFloat - func numberOfTokens() -> Int - func viewForTokenAtIndex(index: Int) -> UIView? - func tokenViewDidRefreshWithHeight(height: CGFloat) - func textForPlaceholder() -> String -} - public class BSTokenView: UIControl { - weak var dataSource: BSTokenViewDataSource? + var multiselectableView: BSMultiSelectableView? private var tokenViews = [UIView]() + private var placeholderLabel = UILabel() //MARK: - Class Methods //MARK: - Initialization - required public init?(coder aDecoder: NSCoder) { - super.init(coder: aDecoder) - - reloadData() - } - - override public init(frame: CGRect) { - super.init(frame: frame) - - reloadData() - } - - override public func awakeFromNib() { - super.awakeFromNib() - - reloadData() - } - //MARK: - Deinitialization //MARK: - Actions @@ -61,11 +34,11 @@ public class BSTokenView: UIControl { tokenViews.removeAll() - let count = dataSource?.numberOfTokens() ?? 0 + let count = multiselectableView?.selectedOptions.count ?? 0 for index in 0.. CGSize { - let lineHeight = dataSource?.lineHeightForToken() ?? 30 + let lineHeight = multiselectableView?.lineHeight ?? 0 if tokenViews.isEmpty { - dataSource?.tokenViewDidRefreshWithHeight(lineHeight) + multiselectableView?.tokenViewHeightConstraint?.constant = lineHeight return CGSizeZero } @@ -147,7 +123,7 @@ public class BSTokenView: UIControl { totalRect = CGRectUnion(itemRect, totalRect) } - dataSource?.tokenViewDidRefreshWithHeight(max(totalRect.size.height, lineHeight)) + multiselectableView?.tokenViewHeightConstraint?.constant = max(totalRect.size.height, lineHeight) return totalRect.size } diff --git a/Example/BSSelectableView.xcworkspace/xcuserdata/kuna.xcuserdatad/UserInterfaceState.xcuserstate b/Example/BSSelectableView.xcworkspace/xcuserdata/kuna.xcuserdatad/UserInterfaceState.xcuserstate index ea8ec61..44b4c78 100644 Binary files a/Example/BSSelectableView.xcworkspace/xcuserdata/kuna.xcuserdatad/UserInterfaceState.xcuserstate and b/Example/BSSelectableView.xcworkspace/xcuserdata/kuna.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Example/BSSelectableView/BSSelectedTokenFieldView.xib b/Example/BSSelectableView/BSSelectedTokenFieldView.xib index 5d4dea8..c1dfbbc 100644 --- a/Example/BSSelectableView/BSSelectedTokenFieldView.xib +++ b/Example/BSSelectableView/BSSelectedTokenFieldView.xib @@ -1,5 +1,5 @@ - + diff --git a/Example/BSSelectableView/Base.lproj/Main.storyboard b/Example/BSSelectableView/Base.lproj/Main.storyboard index 66356ac..85d35db 100644 --- a/Example/BSSelectableView/Base.lproj/Main.storyboard +++ b/Example/BSSelectableView/Base.lproj/Main.storyboard @@ -1,5 +1,5 @@ - + @@ -63,7 +63,7 @@ - + @@ -124,7 +124,13 @@ - + + + + + + + @@ -184,7 +190,7 @@ - + diff --git a/Example/BSSelectableView/ViewController.swift b/Example/BSSelectableView/ViewController.swift index aa91c25..77e1bd5 100644 --- a/Example/BSSelectableView/ViewController.swift +++ b/Example/BSSelectableView/ViewController.swift @@ -36,19 +36,19 @@ class ViewController: UIViewController, BSSelectableViewDelegate { BSSelectableView.titleColorForSelectedOption = UIColor.redColor() BSSelectableView.leftPaddingForOption = 10 + selectableView.options = options selectableView.delegate = self + multiselectableView.delegate = self + multiselectableView.options = options + multiscrollselectableView.options = options - multiscrollselectableView.delegate = self + multiscrollselectableView.delegate = self // selectableView.selectedOption = BSSelectableOption(index: 0, title: "First title", identifier: "a") multiselectableView.selectedOptions = [BSSelectableOption(index: 0, title: "First title", identifier: "a"), BSSelectableOption(index: 1, title: "aaa", identifier: "b")] } - func selectableOptionsForSelectableViewWithIdentifier(identifier: String) -> [BSSelectableOption] { - return options - } - func multiSelectableView(view: BSMultiSelectableView, tokenViewForOption option: BSSelectableOption, atIndex index: Int) -> UIView { let tokenView = NSBundle.mainBundle().loadNibNamed("BSSelectedTokenFieldView", owner: self, options: nil).first as! BSSelectedTokenFieldView diff --git a/Example/Pods/Local Podspecs/BSSelectableView.podspec.json b/Example/Pods/Local Podspecs/BSSelectableView.podspec.json new file mode 100644 index 0000000..176a22d --- /dev/null +++ b/Example/Pods/Local Podspecs/BSSelectableView.podspec.json @@ -0,0 +1,22 @@ +{ + "name": "BSSelectableView", + "version": "1.0.2", + "summary": "Easily manage your token along with your single or multiply select view.", + "description": "Looking for simple Swift library to manage multiply or single selection? This one is for you:)", + "homepage": "https://github.com/kunass2/BSSelectableView", + "license": { + "type": "MIT", + "file": "LICENSE" + }, + "authors": { + "Bartłomiej Semańczyk": "bartekss2@icloud.com" + }, + "source": { + "git": "https://github.com/kunass2/BSSelectableView.git", + "tag": "1.0.2" + }, + "platforms": { + "ios": "8.0" + }, + "source_files": "BSSelectableView/Classes/**/*" +} diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock new file mode 100644 index 0000000..35e5e89 --- /dev/null +++ b/Example/Pods/Manifest.lock @@ -0,0 +1,16 @@ +PODS: + - BSSelectableView (1.0.2) + +DEPENDENCIES: + - BSSelectableView (from `../`) + +EXTERNAL SOURCES: + BSSelectableView: + :path: "../" + +SPEC CHECKSUMS: + BSSelectableView: 58db0848eb7b7705d416cc7d1301b7d1bd1801e6 + +PODFILE CHECKSUM: 6dcbfa8252dd7d102d8fd6775bd61a8ddfff7eb6 + +COCOAPODS: 1.0.1 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj new file mode 100644 index 0000000..3138790 --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -0,0 +1,711 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 1E9E0C0D345E76442D142F50A47E2D47 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; + 4B6B0D639D871492E31B9C8445688D40 /* Pods-BSSelectableView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 62F2F1B6B46684D8BAB56B6EF3962677 /* Pods-BSSelectableView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 578DF6E506381895266EA7617034FFC6 /* BSSelectableTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = A37CF0976A28D8910A1F7618D671271E /* BSSelectableTableViewCell.swift */; }; + 644695385078FB36BC288A5ADD12B45E /* BSMultiSelectableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 36BDDB21B5741EA799D04645D4D56039 /* BSMultiSelectableView.swift */; }; + 724B76212DFE6ECFE20A0BF43AF6E4C5 /* Pods-BSSelectableView_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C8039D1AE0D3BBFDCE5E3E835007D810 /* Pods-BSSelectableView_Tests-dummy.m */; }; + 7C9D3FCEC9E3DAB027AD10C6B28E3ED4 /* Pods-BSSelectableView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5EF3E1517E1936FD83B92887B706912E /* Pods-BSSelectableView_Example-dummy.m */; }; + 7F85FA332833CE4D2A3A5E829BEAFC44 /* BSTokenView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7A673919A39FB1E9AD72301B71719BE1 /* BSTokenView.swift */; }; + 8DF748587F2D9F0C75E2BDD15288507D /* Pods-BSSelectableView_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F9755F3122B234EFC47251CF4ED4C709 /* Pods-BSSelectableView_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 93585C7D87A64B1C32B9FF2A82314015 /* BSSelectableView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 74C87044F7792D949664E854B9CEB967 /* BSSelectableView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 96A4FD8E6E6FE82F7D157BD40E2C7CC7 /* BSSelectableView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B9F81F63DB99BD57F4FB9A7BCC587418 /* BSSelectableView-dummy.m */; }; + A13FC3AE14107276756B2425BC438B73 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; + A523EE04AF36B5A5B87418EA2310524B /* BSSingleSelectableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 319B0E6F92CDAD259ED1FC4BA2D191E9 /* BSSingleSelectableView.swift */; }; + ABA06173D74DE867265999EEBCEBFD7B /* BSSelectableTableViewCell.xib in Sources */ = {isa = PBXBuildFile; fileRef = 45FD4F096284AE5AF5C1627E6454C0E9 /* BSSelectableTableViewCell.xib */; }; + BC2E69B91D2BD1630034E485 /* BSScrollTokenView.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC2E69B81D2BD1630034E485 /* BSScrollTokenView.swift */; }; + BE62CE1F9EB3A1558A19D6AAFC3E3A0B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; + C3ED4FF137886BBE32C9A7D89D95140B /* BSSelectableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7ED60F0D97F35587FEF29113D752872F /* BSSelectableView.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 799D6B6BF8362BCB0AE9D9DA50397A0A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 32E40E6CDBF475EBE9E372CC5386FE68; + remoteInfo = BSSelectableView; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 0939AEF4756D16C2D560B1FE0E21C080 /* Pods-BSSelectableView_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-BSSelectableView_Tests-acknowledgements.markdown"; sourceTree = ""; }; + 094360D13DCAA8C207F4C057DF9A8FA6 /* Pods-BSSelectableView_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-BSSelectableView_Tests-resources.sh"; sourceTree = ""; }; + 0EA8E87775AC07DF6A7A66217228571D /* Pods-BSSelectableView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-BSSelectableView_Example-acknowledgements.markdown"; sourceTree = ""; }; + 22E62B5E9900E1111423C1C759084128 /* Pods-BSSelectableView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-BSSelectableView_Example-resources.sh"; sourceTree = ""; }; + 2582D471090A951482A18140CC33CC1E /* BSSelectableView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = BSSelectableView.modulemap; sourceTree = ""; }; + 293048C1F00E1DFC42FBE34FD2B9A73E /* BSSelectableView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = BSSelectableView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 30FC7CA707230A62B06C89F74E07F92D /* Pods-BSSelectableView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-BSSelectableView_Tests.release.xcconfig"; sourceTree = ""; }; + 319B0E6F92CDAD259ED1FC4BA2D191E9 /* BSSingleSelectableView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = BSSingleSelectableView.swift; sourceTree = ""; }; + 36BDDB21B5741EA799D04645D4D56039 /* BSMultiSelectableView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = BSMultiSelectableView.swift; sourceTree = ""; }; + 39F3D16A9D1AA0C7CB0737E0F441D32B /* Pods-BSSelectableView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-BSSelectableView_Example-acknowledgements.plist"; sourceTree = ""; }; + 431B4C445A78C2F1844982C7A05546F7 /* Pods-BSSelectableView_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-BSSelectableView_Tests-acknowledgements.plist"; sourceTree = ""; }; + 45FD4F096284AE5AF5C1627E6454C0E9 /* BSSelectableTableViewCell.xib */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file.xib; path = BSSelectableTableViewCell.xib; sourceTree = ""; }; + 583BCE5C78815836E8508D2CC7A0E985 /* Pods-BSSelectableView_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-BSSelectableView_Tests.modulemap"; sourceTree = ""; }; + 5B25ED49F346EA219923270D0EF34944 /* Pods_BSSelectableView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_BSSelectableView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 5EF3E1517E1936FD83B92887B706912E /* Pods-BSSelectableView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-BSSelectableView_Example-dummy.m"; sourceTree = ""; }; + 62F2F1B6B46684D8BAB56B6EF3962677 /* Pods-BSSelectableView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-BSSelectableView_Example-umbrella.h"; sourceTree = ""; }; + 6B45A03407FB92B644C06EAEEBF5C659 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 74C87044F7792D949664E854B9CEB967 /* BSSelectableView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "BSSelectableView-umbrella.h"; sourceTree = ""; }; + 7A673919A39FB1E9AD72301B71719BE1 /* BSTokenView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = BSTokenView.swift; sourceTree = ""; }; + 7C267D8D2840594895A23E6DF09EFB54 /* Pods-BSSelectableView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-BSSelectableView_Example.debug.xcconfig"; sourceTree = ""; }; + 7ED60F0D97F35587FEF29113D752872F /* BSSelectableView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = BSSelectableView.swift; sourceTree = ""; }; + 8D75BA576FBA56E69125E781573A910E /* BSSelectableView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "BSSelectableView-prefix.pch"; sourceTree = ""; }; + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + A37CF0976A28D8910A1F7618D671271E /* BSSelectableTableViewCell.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = BSSelectableTableViewCell.swift; sourceTree = ""; }; + AAB6A7BC23457D91C11E9881232F20E6 /* Pods-BSSelectableView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-BSSelectableView_Example.modulemap"; sourceTree = ""; }; + AEF03B371B3999E92E5BD81ABE31897F /* Pods_BSSelectableView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_BSSelectableView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + B35AAD452178FC98DAACBF53E693F065 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B441AE3A15568D97136C8244CE16ED6C /* Pods-BSSelectableView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-BSSelectableView_Tests.debug.xcconfig"; sourceTree = ""; }; + B9F81F63DB99BD57F4FB9A7BCC587418 /* BSSelectableView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "BSSelectableView-dummy.m"; sourceTree = ""; }; + BC2E69B81D2BD1630034E485 /* BSScrollTokenView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BSScrollTokenView.swift; sourceTree = ""; }; + C8039D1AE0D3BBFDCE5E3E835007D810 /* Pods-BSSelectableView_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-BSSelectableView_Tests-dummy.m"; sourceTree = ""; }; + CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + D18458EB140F19B4E70148B6B4ACE09E /* Pods-BSSelectableView_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-BSSelectableView_Tests-frameworks.sh"; sourceTree = ""; }; + D4BA258AEC587982469F958361F1DBDC /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + E00FB1D18005FAF3BA0AAB4553A4EFC0 /* Pods-BSSelectableView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-BSSelectableView_Example-frameworks.sh"; sourceTree = ""; }; + EBB03C2147205B4D603F0209785C3314 /* Pods-BSSelectableView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-BSSelectableView_Example.release.xcconfig"; sourceTree = ""; }; + F9755F3122B234EFC47251CF4ED4C709 /* Pods-BSSelectableView_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-BSSelectableView_Tests-umbrella.h"; sourceTree = ""; }; + FC36B1C0070747116B30653675B2BA02 /* BSSelectableView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = BSSelectableView.xcconfig; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 0206A853A42B205B69DC4F3989F1860C /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BE62CE1F9EB3A1558A19D6AAFC3E3A0B /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 66302F46309F257A126E5794823F067D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + A13FC3AE14107276756B2425BC438B73 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E1FB7C60E92156C9C4345753BD024905 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1E9E0C0D345E76442D142F50A47E2D47 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 0AAB08E22AE312E310FDB5A2CEE52909 /* BSSelectableView */ = { + isa = PBXGroup; + children = ( + 3D9726A9AEEE27F367C246762C5E90F2 /* Classes */, + ); + path = BSSelectableView; + sourceTree = ""; + }; + 283A2BADD661080C31BB5FFC2999B35E /* Development Pods */ = { + isa = PBXGroup; + children = ( + C0842C53447E57AC4903A0D6BC9E01BF /* BSSelectableView */, + ); + name = "Development Pods"; + sourceTree = ""; + }; + 2CFB36AF1DCD8E2CDC82DFD64F5B2C49 /* Pods-BSSelectableView_Tests */ = { + isa = PBXGroup; + children = ( + 6B45A03407FB92B644C06EAEEBF5C659 /* Info.plist */, + 583BCE5C78815836E8508D2CC7A0E985 /* Pods-BSSelectableView_Tests.modulemap */, + 0939AEF4756D16C2D560B1FE0E21C080 /* Pods-BSSelectableView_Tests-acknowledgements.markdown */, + 431B4C445A78C2F1844982C7A05546F7 /* Pods-BSSelectableView_Tests-acknowledgements.plist */, + C8039D1AE0D3BBFDCE5E3E835007D810 /* Pods-BSSelectableView_Tests-dummy.m */, + D18458EB140F19B4E70148B6B4ACE09E /* Pods-BSSelectableView_Tests-frameworks.sh */, + 094360D13DCAA8C207F4C057DF9A8FA6 /* Pods-BSSelectableView_Tests-resources.sh */, + F9755F3122B234EFC47251CF4ED4C709 /* Pods-BSSelectableView_Tests-umbrella.h */, + B441AE3A15568D97136C8244CE16ED6C /* Pods-BSSelectableView_Tests.debug.xcconfig */, + 30FC7CA707230A62B06C89F74E07F92D /* Pods-BSSelectableView_Tests.release.xcconfig */, + ); + name = "Pods-BSSelectableView_Tests"; + path = "Target Support Files/Pods-BSSelectableView_Tests"; + sourceTree = ""; + }; + 3D9726A9AEEE27F367C246762C5E90F2 /* Classes */ = { + isa = PBXGroup; + children = ( + 7ED60F0D97F35587FEF29113D752872F /* BSSelectableView.swift */, + 36BDDB21B5741EA799D04645D4D56039 /* BSMultiSelectableView.swift */, + 319B0E6F92CDAD259ED1FC4BA2D191E9 /* BSSingleSelectableView.swift */, + A37CF0976A28D8910A1F7618D671271E /* BSSelectableTableViewCell.swift */, + 45FD4F096284AE5AF5C1627E6454C0E9 /* BSSelectableTableViewCell.xib */, + 7A673919A39FB1E9AD72301B71719BE1 /* BSTokenView.swift */, + BC2E69B81D2BD1630034E485 /* BSScrollTokenView.swift */, + ); + path = Classes; + sourceTree = ""; + }; + 3DCAB2B7CDE207B3958B6CB957FCC758 /* iOS */ = { + isa = PBXGroup; + children = ( + CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */, + ); + name = iOS; + sourceTree = ""; + }; + 46C9EDFC356A7668077442468AB068C6 /* Targets Support Files */ = { + isa = PBXGroup; + children = ( + C02378C38BD6BFED754757E5369E003B /* Pods-BSSelectableView_Example */, + 2CFB36AF1DCD8E2CDC82DFD64F5B2C49 /* Pods-BSSelectableView_Tests */, + ); + name = "Targets Support Files"; + sourceTree = ""; + }; + 548936786E1BA18FD6652302FAB10C56 /* Support Files */ = { + isa = PBXGroup; + children = ( + 2582D471090A951482A18140CC33CC1E /* BSSelectableView.modulemap */, + FC36B1C0070747116B30653675B2BA02 /* BSSelectableView.xcconfig */, + B9F81F63DB99BD57F4FB9A7BCC587418 /* BSSelectableView-dummy.m */, + 8D75BA576FBA56E69125E781573A910E /* BSSelectableView-prefix.pch */, + 74C87044F7792D949664E854B9CEB967 /* BSSelectableView-umbrella.h */, + D4BA258AEC587982469F958361F1DBDC /* Info.plist */, + ); + name = "Support Files"; + path = "Example/Pods/Target Support Files/BSSelectableView"; + sourceTree = ""; + }; + 7DB346D0F39D3F0E887471402A8071AB = { + isa = PBXGroup; + children = ( + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, + 283A2BADD661080C31BB5FFC2999B35E /* Development Pods */, + BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, + C4ED820B52006EA7B26907DD95D51ED6 /* Products */, + 46C9EDFC356A7668077442468AB068C6 /* Targets Support Files */, + ); + sourceTree = ""; + }; + BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { + isa = PBXGroup; + children = ( + 3DCAB2B7CDE207B3958B6CB957FCC758 /* iOS */, + ); + name = Frameworks; + sourceTree = ""; + }; + C02378C38BD6BFED754757E5369E003B /* Pods-BSSelectableView_Example */ = { + isa = PBXGroup; + children = ( + B35AAD452178FC98DAACBF53E693F065 /* Info.plist */, + AAB6A7BC23457D91C11E9881232F20E6 /* Pods-BSSelectableView_Example.modulemap */, + 0EA8E87775AC07DF6A7A66217228571D /* Pods-BSSelectableView_Example-acknowledgements.markdown */, + 39F3D16A9D1AA0C7CB0737E0F441D32B /* Pods-BSSelectableView_Example-acknowledgements.plist */, + 5EF3E1517E1936FD83B92887B706912E /* Pods-BSSelectableView_Example-dummy.m */, + E00FB1D18005FAF3BA0AAB4553A4EFC0 /* Pods-BSSelectableView_Example-frameworks.sh */, + 22E62B5E9900E1111423C1C759084128 /* Pods-BSSelectableView_Example-resources.sh */, + 62F2F1B6B46684D8BAB56B6EF3962677 /* Pods-BSSelectableView_Example-umbrella.h */, + 7C267D8D2840594895A23E6DF09EFB54 /* Pods-BSSelectableView_Example.debug.xcconfig */, + EBB03C2147205B4D603F0209785C3314 /* Pods-BSSelectableView_Example.release.xcconfig */, + ); + name = "Pods-BSSelectableView_Example"; + path = "Target Support Files/Pods-BSSelectableView_Example"; + sourceTree = ""; + }; + C0842C53447E57AC4903A0D6BC9E01BF /* BSSelectableView */ = { + isa = PBXGroup; + children = ( + 0AAB08E22AE312E310FDB5A2CEE52909 /* BSSelectableView */, + 548936786E1BA18FD6652302FAB10C56 /* Support Files */, + ); + name = BSSelectableView; + path = ../..; + sourceTree = ""; + }; + C4ED820B52006EA7B26907DD95D51ED6 /* Products */ = { + isa = PBXGroup; + children = ( + 293048C1F00E1DFC42FBE34FD2B9A73E /* BSSelectableView.framework */, + 5B25ED49F346EA219923270D0EF34944 /* Pods_BSSelectableView_Example.framework */, + AEF03B371B3999E92E5BD81ABE31897F /* Pods_BSSelectableView_Tests.framework */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 0C8085DDAA0B45A1C38F646FDA5BAD25 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 4B6B0D639D871492E31B9C8445688D40 /* Pods-BSSelectableView_Example-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 47B62A8C8D39119078E46D670D7DF891 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 8DF748587F2D9F0C75E2BDD15288507D /* Pods-BSSelectableView_Tests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7397C42B6FC65F8EBF6B327DCDCBCF30 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 93585C7D87A64B1C32B9FF2A82314015 /* BSSelectableView-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 32E40E6CDBF475EBE9E372CC5386FE68 /* BSSelectableView */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4CB970213F7B1DF4A3504EA0D9DF2335 /* Build configuration list for PBXNativeTarget "BSSelectableView" */; + buildPhases = ( + 0D702956CF55A0BD10220FFB30B0D9FC /* Sources */, + 0206A853A42B205B69DC4F3989F1860C /* Frameworks */, + 7397C42B6FC65F8EBF6B327DCDCBCF30 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = BSSelectableView; + productName = BSSelectableView; + productReference = 293048C1F00E1DFC42FBE34FD2B9A73E /* BSSelectableView.framework */; + productType = "com.apple.product-type.framework"; + }; + C072295B891057D4BCA46F1C27562FB4 /* Pods-BSSelectableView_Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5BEDD4662DAA36261D6B3FAB95164658 /* Build configuration list for PBXNativeTarget "Pods-BSSelectableView_Example" */; + buildPhases = ( + 207CD5948303BBC167A3EF1B05F39BFC /* Sources */, + E1FB7C60E92156C9C4345753BD024905 /* Frameworks */, + 0C8085DDAA0B45A1C38F646FDA5BAD25 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + 3C4B8158C8A65DFB11649386CF027155 /* PBXTargetDependency */, + ); + name = "Pods-BSSelectableView_Example"; + productName = "Pods-BSSelectableView_Example"; + productReference = 5B25ED49F346EA219923270D0EF34944 /* Pods_BSSelectableView_Example.framework */; + productType = "com.apple.product-type.framework"; + }; + C2D37095DBF7FA8FE3B2211DA502D42A /* Pods-BSSelectableView_Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = CFFACC074C4F0FC736D413DE6CEF20B7 /* Build configuration list for PBXNativeTarget "Pods-BSSelectableView_Tests" */; + buildPhases = ( + 28C534FED6A9ADD5A9B0D2481817211A /* Sources */, + 66302F46309F257A126E5794823F067D /* Frameworks */, + 47B62A8C8D39119078E46D670D7DF891 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Pods-BSSelectableView_Tests"; + productName = "Pods-BSSelectableView_Tests"; + productReference = AEF03B371B3999E92E5BD81ABE31897F /* Pods_BSSelectableView_Tests.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0730; + LastUpgradeCheck = 0700; + }; + buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 7DB346D0F39D3F0E887471402A8071AB; + productRefGroup = C4ED820B52006EA7B26907DD95D51ED6 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 32E40E6CDBF475EBE9E372CC5386FE68 /* BSSelectableView */, + C072295B891057D4BCA46F1C27562FB4 /* Pods-BSSelectableView_Example */, + C2D37095DBF7FA8FE3B2211DA502D42A /* Pods-BSSelectableView_Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 0D702956CF55A0BD10220FFB30B0D9FC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 644695385078FB36BC288A5ADD12B45E /* BSMultiSelectableView.swift in Sources */, + 578DF6E506381895266EA7617034FFC6 /* BSSelectableTableViewCell.swift in Sources */, + BC2E69B91D2BD1630034E485 /* BSScrollTokenView.swift in Sources */, + ABA06173D74DE867265999EEBCEBFD7B /* BSSelectableTableViewCell.xib in Sources */, + 96A4FD8E6E6FE82F7D157BD40E2C7CC7 /* BSSelectableView-dummy.m in Sources */, + C3ED4FF137886BBE32C9A7D89D95140B /* BSSelectableView.swift in Sources */, + A523EE04AF36B5A5B87418EA2310524B /* BSSingleSelectableView.swift in Sources */, + 7F85FA332833CE4D2A3A5E829BEAFC44 /* BSTokenView.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 207CD5948303BBC167A3EF1B05F39BFC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 7C9D3FCEC9E3DAB027AD10C6B28E3ED4 /* Pods-BSSelectableView_Example-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 28C534FED6A9ADD5A9B0D2481817211A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724B76212DFE6ECFE20A0BF43AF6E4C5 /* Pods-BSSelectableView_Tests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 3C4B8158C8A65DFB11649386CF027155 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = BSSelectableView; + target = 32E40E6CDBF475EBE9E372CC5386FE68 /* BSSelectableView */; + targetProxy = 799D6B6BF8362BCB0AE9D9DA50397A0A /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 0ACDCBCB0B6796575F46FFA2F5410C6B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_RELEASE=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + STRIP_INSTALLED_PRODUCT = NO; + SYMROOT = "${SRCROOT}/../build"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 1156657F69062F48BC5DB4F7B23D2BBE /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = FC36B1C0070747116B30653675B2BA02 /* BSSelectableView.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREFIX_HEADER = "Target Support Files/BSSelectableView/BSSelectableView-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/BSSelectableView/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/BSSelectableView/BSSelectableView.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = BSSelectableView; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 2C9DB8A23CF94D4AE95949D533917767 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7C267D8D2840594895A23E6DF09EFB54 /* Pods-BSSelectableView_Example.debug.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-BSSelectableView_Example/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_BSSelectableView_Example; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 51848CBA68F508FB267334AF9E865D5F /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B441AE3A15568D97136C8244CE16ED6C /* Pods-BSSelectableView_Tests.debug.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-BSSelectableView_Tests/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_BSSelectableView_Tests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 7793ACB5268CABC23A4BB9C032792C92 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = EBB03C2147205B4D603F0209785C3314 /* Pods-BSSelectableView_Example.release.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-BSSelectableView_Example/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_BSSelectableView_Example; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 8E027BE9B743F5BDD666870DE94486C2 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = FC36B1C0070747116B30653675B2BA02 /* BSSelectableView.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREFIX_HEADER = "Target Support Files/BSSelectableView/BSSelectableView-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/BSSelectableView/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/BSSelectableView/BSSelectableView.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = BSSelectableView; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + D3E3D092A3FF7311A98E44BBA36FFD12 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_DEBUG=1", + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + ONLY_ACTIVE_ARCH = YES; + STRIP_INSTALLED_PRODUCT = NO; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Debug; + }; + F7D372F311CB54A19409AF958451D5BF /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 30FC7CA707230A62B06C89F74E07F92D /* Pods-BSSelectableView_Tests.release.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-BSSelectableView_Tests/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_BSSelectableView_Tests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D3E3D092A3FF7311A98E44BBA36FFD12 /* Debug */, + 0ACDCBCB0B6796575F46FFA2F5410C6B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4CB970213F7B1DF4A3504EA0D9DF2335 /* Build configuration list for PBXNativeTarget "BSSelectableView" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 8E027BE9B743F5BDD666870DE94486C2 /* Debug */, + 1156657F69062F48BC5DB4F7B23D2BBE /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 5BEDD4662DAA36261D6B3FAB95164658 /* Build configuration list for PBXNativeTarget "Pods-BSSelectableView_Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2C9DB8A23CF94D4AE95949D533917767 /* Debug */, + 7793ACB5268CABC23A4BB9C032792C92 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + CFFACC074C4F0FC736D413DE6CEF20B7 /* Build configuration list for PBXNativeTarget "Pods-BSSelectableView_Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 51848CBA68F508FB267334AF9E865D5F /* Debug */, + F7D372F311CB54A19409AF958451D5BF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; +} diff --git a/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/kuna.xcuserdatad/UserInterfaceState.xcuserstate b/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/kuna.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..dc22928 Binary files /dev/null and b/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/kuna.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/kuna.xcuserdatad/WorkspaceSettings.xcsettings b/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/kuna.xcuserdatad/WorkspaceSettings.xcsettings new file mode 100644 index 0000000..a8f6112 --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/kuna.xcuserdatad/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + BuildLocationStyle + UseTargetSettings + + diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/kuna.xcuserdatad/xcschemes/BSSelectableView.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/kuna.xcuserdatad/xcschemes/BSSelectableView.xcscheme new file mode 100644 index 0000000..fbc8eb4 --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/xcuserdata/kuna.xcuserdatad/xcschemes/BSSelectableView.xcscheme @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/kuna.xcuserdatad/xcschemes/Pods-BSSelectableView_Example.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/kuna.xcuserdatad/xcschemes/Pods-BSSelectableView_Example.xcscheme new file mode 100644 index 0000000..fb34218 --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/xcuserdata/kuna.xcuserdatad/xcschemes/Pods-BSSelectableView_Example.xcscheme @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/kuna.xcuserdatad/xcschemes/Pods-BSSelectableView_Tests.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/kuna.xcuserdatad/xcschemes/Pods-BSSelectableView_Tests.xcscheme new file mode 100644 index 0000000..aab2d49 --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/xcuserdata/kuna.xcuserdatad/xcschemes/Pods-BSSelectableView_Tests.xcscheme @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/kuna.xcuserdatad/xcschemes/xcschememanagement.plist b/Example/Pods/Pods.xcodeproj/xcuserdata/kuna.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..5099592 --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/xcuserdata/kuna.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,42 @@ + + + + + SchemeUserState + + BSSelectableView.xcscheme + + isShown + + + Pods-BSSelectableView_Example.xcscheme + + isShown + + + Pods-BSSelectableView_Tests.xcscheme + + isShown + + + + SuppressBuildableAutocreation + + 32E40E6CDBF475EBE9E372CC5386FE68 + + primary + + + C072295B891057D4BCA46F1C27562FB4 + + primary + + + C2D37095DBF7FA8FE3B2211DA502D42A + + primary + + + + + diff --git a/Example/Pods/Target Support Files/BSSelectableView/BSSelectableView-dummy.m b/Example/Pods/Target Support Files/BSSelectableView/BSSelectableView-dummy.m new file mode 100644 index 0000000..44177ae --- /dev/null +++ b/Example/Pods/Target Support Files/BSSelectableView/BSSelectableView-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_BSSelectableView : NSObject +@end +@implementation PodsDummy_BSSelectableView +@end diff --git a/Example/Pods/Target Support Files/BSSelectableView/BSSelectableView-prefix.pch b/Example/Pods/Target Support Files/BSSelectableView/BSSelectableView-prefix.pch new file mode 100644 index 0000000..aa992a4 --- /dev/null +++ b/Example/Pods/Target Support Files/BSSelectableView/BSSelectableView-prefix.pch @@ -0,0 +1,4 @@ +#ifdef __OBJC__ +#import +#endif + diff --git a/Example/Pods/Target Support Files/BSSelectableView/BSSelectableView-umbrella.h b/Example/Pods/Target Support Files/BSSelectableView/BSSelectableView-umbrella.h new file mode 100644 index 0000000..9d9a2a9 --- /dev/null +++ b/Example/Pods/Target Support Files/BSSelectableView/BSSelectableView-umbrella.h @@ -0,0 +1,6 @@ +#import + + +FOUNDATION_EXPORT double BSSelectableViewVersionNumber; +FOUNDATION_EXPORT const unsigned char BSSelectableViewVersionString[]; + diff --git a/Example/Pods/Target Support Files/BSSelectableView/BSSelectableView.modulemap b/Example/Pods/Target Support Files/BSSelectableView/BSSelectableView.modulemap new file mode 100644 index 0000000..846b634 --- /dev/null +++ b/Example/Pods/Target Support Files/BSSelectableView/BSSelectableView.modulemap @@ -0,0 +1,6 @@ +framework module BSSelectableView { + umbrella header "BSSelectableView-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/BSSelectableView/BSSelectableView.xcconfig b/Example/Pods/Target Support Files/BSSelectableView/BSSelectableView.xcconfig new file mode 100644 index 0000000..4bc32c6 --- /dev/null +++ b/Example/Pods/Target Support Files/BSSelectableView/BSSelectableView.xcconfig @@ -0,0 +1,9 @@ +CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/BSSelectableView +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/BSSelectableView/Info.plist b/Example/Pods/Target Support Files/BSSelectableView/Info.plist new file mode 100644 index 0000000..b35ab35 --- /dev/null +++ b/Example/Pods/Target Support Files/BSSelectableView/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.2 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Info.plist b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-acknowledgements.markdown new file mode 100644 index 0000000..353d5d9 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-acknowledgements.markdown @@ -0,0 +1,26 @@ +# Acknowledgements +This application makes use of the following third party libraries: + +## BSSelectableView + +Copyright (c) 2016 Bartłomiej Semańczyk + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-acknowledgements.plist new file mode 100644 index 0000000..1253154 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-acknowledgements.plist @@ -0,0 +1,56 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Copyright (c) 2016 Bartłomiej Semańczyk <bartlomiej.semanczyk@railwaymen.org> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + Title + BSSelectableView + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-dummy.m b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-dummy.m new file mode 100644 index 0000000..8cf604b --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_BSSelectableView_Example : NSObject +@end +@implementation PodsDummy_Pods_BSSelectableView_Example +@end diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-frameworks.sh new file mode 100755 index 0000000..0e7f5e1 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-frameworks.sh @@ -0,0 +1,91 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # use filter instead of exclude so missing patterns dont' throw errors + echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" + /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current file + archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi +} + + +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_framework "$BUILT_PRODUCTS_DIR/BSSelectableView/BSSelectableView.framework" +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_framework "$BUILT_PRODUCTS_DIR/BSSelectableView/BSSelectableView.framework" +fi diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-resources.sh b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-resources.sh new file mode 100755 index 0000000..0a15615 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-resources.sh @@ -0,0 +1,102 @@ +#!/bin/sh +set -e + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac + +realpath() { + DIRECTORY="$(cd "${1%/*}" && pwd)" + FILENAME="${1##*/}" + echo "$DIRECTORY/$FILENAME" +} + +install_resource() +{ + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in + *.storyboard) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.xib) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.framework) + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE=$(realpath "$RESOURCE_PATH") + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + *) + echo "$RESOURCE_PATH" + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "`realpath $PODS_ROOT`*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-umbrella.h b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-umbrella.h new file mode 100644 index 0000000..54e0f59 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example-umbrella.h @@ -0,0 +1,6 @@ +#import + + +FOUNDATION_EXPORT double Pods_BSSelectableView_ExampleVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_BSSelectableView_ExampleVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example.debug.xcconfig new file mode 100644 index 0000000..fb78339 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example.debug.xcconfig @@ -0,0 +1,10 @@ +EMBEDDED_CONTENT_CONTAINS_SWIFT = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/BSSelectableView" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/BSSelectableView/BSSelectableView.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "BSSelectableView" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example.modulemap b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example.modulemap new file mode 100644 index 0000000..60d2d56 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example.modulemap @@ -0,0 +1,6 @@ +framework module Pods_BSSelectableView_Example { + umbrella header "Pods-BSSelectableView_Example-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example.release.xcconfig new file mode 100644 index 0000000..fb78339 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Example/Pods-BSSelectableView_Example.release.xcconfig @@ -0,0 +1,10 @@ +EMBEDDED_CONTENT_CONTAINS_SWIFT = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/BSSelectableView" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/BSSelectableView/BSSelectableView.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "BSSelectableView" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Info.plist b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-acknowledgements.markdown new file mode 100644 index 0000000..102af75 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-acknowledgements.markdown @@ -0,0 +1,3 @@ +# Acknowledgements +This application makes use of the following third party libraries: +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-acknowledgements.plist new file mode 100644 index 0000000..7acbad1 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-acknowledgements.plist @@ -0,0 +1,29 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-dummy.m b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-dummy.m new file mode 100644 index 0000000..8d4dcbd --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_BSSelectableView_Tests : NSObject +@end +@implementation PodsDummy_Pods_BSSelectableView_Tests +@end diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-frameworks.sh b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-frameworks.sh new file mode 100755 index 0000000..893c16a --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-frameworks.sh @@ -0,0 +1,84 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # use filter instead of exclude so missing patterns dont' throw errors + echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" + /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current file + archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi +} + diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-resources.sh b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-resources.sh new file mode 100755 index 0000000..0a15615 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-resources.sh @@ -0,0 +1,102 @@ +#!/bin/sh +set -e + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac + +realpath() { + DIRECTORY="$(cd "${1%/*}" && pwd)" + FILENAME="${1##*/}" + echo "$DIRECTORY/$FILENAME" +} + +install_resource() +{ + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in + *.storyboard) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.xib) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.framework) + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE=$(realpath "$RESOURCE_PATH") + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + *) + echo "$RESOURCE_PATH" + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "`realpath $PODS_ROOT`*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-umbrella.h b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-umbrella.h new file mode 100644 index 0000000..33f40dc --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests-umbrella.h @@ -0,0 +1,6 @@ +#import + + +FOUNDATION_EXPORT double Pods_BSSelectableView_TestsVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_BSSelectableView_TestsVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests.debug.xcconfig new file mode 100644 index 0000000..736c459 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests.debug.xcconfig @@ -0,0 +1,7 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/BSSelectableView" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/BSSelectableView/BSSelectableView.framework/Headers" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests.modulemap b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests.modulemap new file mode 100644 index 0000000..48fc9cc --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests.modulemap @@ -0,0 +1,6 @@ +framework module Pods_BSSelectableView_Tests { + umbrella header "Pods-BSSelectableView_Tests-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests.release.xcconfig new file mode 100644 index 0000000..736c459 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-BSSelectableView_Tests/Pods-BSSelectableView_Tests.release.xcconfig @@ -0,0 +1,7 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/BSSelectableView" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/BSSelectableView/BSSelectableView.framework/Headers" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/Pods diff --git a/README.md b/README.md index a003d71..47aaf03 100644 --- a/README.md +++ b/README.md @@ -67,12 +67,10 @@ multiSelectableView.delegate = self ```Swift @objc public protocol BSSelectableViewDelegate { - optional func selectableOptionsForSelectableViewWithIdentifier(identifier: String) -> [BSSelectableOption] optional func multiSelectableView(view: BSMultiSelectableView, tokenViewForOption option: BSSelectableOption, atIndex index: Int) -> UIView optional func singleSelectableView(view: BSSingleSelectableView, didSelectOption option: BSSelectableOption) optional func multiSelectableView(view: BSMultiSelectableView, didSelectOption option: BSSelectableOption) - optional func lineHeightForTokenInMultiSelectableView() -> CGFloat //default is 30 optional func selectableViewToggledOptionsWithButton(button: UIButton, expanded: Bool) } ``` @@ -81,32 +79,26 @@ multiSelectableView.delegate = self ```Swift @IBInspectable public var identifier: String = "" //to differentiate selectable views +@IBInspectable public var tableViewAccessibilityIdentifier: String = "" @IBInspectable public var maxNumberOfRows: Int = 6 //while selecting rows +@IBInspectable public var placeholder: String = "" @IBInspectable public var cornerRadius: CGFloat = 3 //no words needed ``` #### You may also do some customizing (*the following are default*): ```Swift - BSSelectableView.tintColorForSelectedOption = UIColor.blueColor() - BSSelectableView.titleColorForSelectedOption = UIColor.greenColor() - BSSelectableView.titleColorForOption = UIColor.blackColor() BSSelectableView.fontForOption = UIFont.systemFontOfSize(16) + BSSelectableView.fontForPlaceholderText = UIFont.systemFontOfSize(14) + BSSelectableView.leftPaddingForOption = 20 BSSelectableView.heightForOption = 40 BSSelectableView.leftPaddingForPlaceholderText = 0 - BSSelectableView.fontForPlaceholderText = UIFont.systemFontOfSize(14) - BSSelectableView.textColorForPlaceholderText = UIColor.grayColor() -``` - -#### You may in case you need it, set some custom properties right into **Interface Builder**, the following are default: -```Swift - @IBInspectable public var identifier: String = "" - @IBInspectable public var tableViewAccessibilityIdentifier: String = "" - @IBInspectable public var maxNumberOfRows: Int = 6 - @IBInspectable public var placeholderText: String = "" - @IBInspectable public var cornerRadius: CGFloat = 3 + BSSelectableView.tintColorForSelectedOption = UIColor.blueColor() + BSSelectableView.titleColorForSelectedOption = UIColor.greenColor() + BSSelectableView.titleColorForOption = UIColor.blackColor() + BSSelectableView.textColorForPlaceholderText = UIColor.grayColor() ``` #### If you need you are able to call public instance methods: