├── .travis.yml ├── Endless.podspec ├── Endless ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── private │ ├── Constants.swift │ ├── Extensions │ │ ├── CALayer+Extension.swift │ │ └── UICollectionView+VisibleCells.swift │ ├── IndicatorCell.swift │ ├── IndicatorCellProtocol.swift │ └── IndicatorCellState.swift │ └── public │ ├── Configuration.swift │ ├── Indicator.swift │ ├── IndicatorProtocol.swift │ └── MaxNumberOfDots.swift ├── Example ├── Endless.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── Endless-Example.xcscheme ├── Endless.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── WorkspaceSettings.xcsettings ├── Endless │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Colors.xcassets │ │ ├── Contents.json │ │ └── Selected.colorset │ │ │ └── Contents.json │ ├── ExampleCell.swift │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── Endless.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── Endless │ │ ├── Endless-Info.plist │ │ ├── Endless-dummy.m │ │ ├── Endless-prefix.pch │ │ ├── Endless-umbrella.h │ │ ├── Endless.modulemap │ │ └── Endless.xcconfig │ │ ├── Pods-Endless_Example │ │ ├── Pods-Endless_Example-Info.plist │ │ ├── Pods-Endless_Example-acknowledgements.markdown │ │ ├── Pods-Endless_Example-acknowledgements.plist │ │ ├── Pods-Endless_Example-dummy.m │ │ ├── Pods-Endless_Example-frameworks.sh │ │ ├── Pods-Endless_Example-umbrella.h │ │ ├── Pods-Endless_Example.debug.xcconfig │ │ ├── Pods-Endless_Example.modulemap │ │ └── Pods-Endless_Example.release.xcconfig │ │ └── Pods-Endless_Tests │ │ ├── Pods-Endless_Tests-Info.plist │ │ ├── Pods-Endless_Tests-acknowledgements.markdown │ │ ├── Pods-Endless_Tests-acknowledgements.plist │ │ ├── Pods-Endless_Tests-dummy.m │ │ ├── Pods-Endless_Tests-umbrella.h │ │ ├── Pods-Endless_Tests.debug.xcconfig │ │ ├── Pods-Endless_Tests.modulemap │ │ └── Pods-Endless_Tests.release.xcconfig └── Tests │ ├── Info.plist │ └── Tests.swift ├── Github ├── banner.png ├── banner.psd └── indicator.gif ├── LICENSE ├── README.md └── _Pods.xcodeproj /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * https://www.objc.io/issues/6-build-tools/travis-ci/ 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/Endless.xcworkspace -scheme Endless-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Endless.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'Endless' 3 | s.version = '0.0.1' 4 | s.summary = 'Endless is a lighweight endless page indicator.' 5 | 6 | s.description = <<-DESC 7 | Endless is a lighweight endless page indicator. 8 | DESC 9 | 10 | s.homepage = 'https://www.sebastianboldt.com' 11 | s.author = { 'Sebastian Boldt' => 'self.dealloc@icloud.com' } 12 | s.license = { :type => 'MIT', :file => 'LICENSE' } 13 | s.source = { :git => 'https://github.com/SebastianBoldt/Endless.git', :tag => s.version.to_s } 14 | s.ios.deployment_target = '9.0' 15 | s.swift_version = '4.2' 16 | s.source_files = 'Endless/Classes/**/*' 17 | end 18 | -------------------------------------------------------------------------------- /Endless/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Endless/a425c9a83c9124f68012cb363ef27d9ff6d87baf/Endless/Assets/.gitkeep -------------------------------------------------------------------------------- /Endless/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Endless/a425c9a83c9124f68012cb363ef27d9ff6d87baf/Endless/Classes/.gitkeep -------------------------------------------------------------------------------- /Endless/Classes/private/Constants.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | struct Constants { 4 | static let indicatorCellReuseIdentifier = "IndicatorCellReuseIdentifier" 5 | } 6 | -------------------------------------------------------------------------------- /Endless/Classes/private/Extensions/CALayer+Extension.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | extension CALayer { 4 | class func performWithoutAnimation(_ actionsWithoutAnimation: () -> Void){ 5 | CATransaction.begin() 6 | CATransaction.setValue(true, forKey: kCATransactionDisableActions) 7 | actionsWithoutAnimation() 8 | CATransaction.commit() 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Endless/Classes/private/Extensions/UICollectionView+VisibleCells.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | extension UICollectionView { 4 | func getAllVisibleCellsAndPaths() -> [(cell: IndicatorCell, indexPath: IndexPath)] { 5 | let visibleCells = self.visibleCells 6 | let cellAndPaths: [(cell: IndicatorCell, indexPath: IndexPath)] = visibleCells.compactMap { cell in 7 | guard let indexPath = self.indexPath(for: cell) else { 8 | return nil 9 | } 10 | 11 | guard let indicatorCell = cell as? IndicatorCell else { 12 | return nil 13 | } 14 | 15 | return (indicatorCell, indexPath) 16 | }.sorted(by: { 17 | return $0.indexPath.row < $1.indexPath.row 18 | }) 19 | return cellAndPaths 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Endless/Classes/private/IndicatorCell.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | 3 | final class IndicatorCell: UICollectionViewCell, IndicatorCellProtocol { 4 | private var configuration: Configuration? 5 | private var state: IndicatorCellState = .unselected 6 | 7 | func set(configuration: Configuration) { 8 | self.configuration = configuration 9 | } 10 | 11 | private lazy var dotLayer: CAShapeLayer = { 12 | let dotSize = configuration?.dotSize ?? 10 13 | let dotLayer = CAShapeLayer() 14 | dotLayer.frame = CGRect(x: 0, y: 0, width: self.bounds.width, height: self.bounds.height) 15 | dotLayer.path = UIBezierPath(ovalIn: CGRect(x: 0, y: 0, width: self.bounds.width, height: self.bounds.height)).cgPath 16 | dotLayer.fillColor = UIColor.clear.cgColor 17 | dotLayer.lineWidth = 1.0 18 | return dotLayer 19 | }() 20 | 21 | override var isSelected: Bool { 22 | didSet { 23 | let newState: IndicatorCellState = isSelected ? .selected : .unselected 24 | update(state: newState) 25 | } 26 | } 27 | 28 | override init(frame: CGRect) { 29 | super.init(frame: frame) 30 | setup() 31 | } 32 | 33 | required init?(coder aDecoder: NSCoder) { 34 | super.init(coder: aDecoder) 35 | setup() 36 | } 37 | 38 | override func awakeFromNib() { 39 | super.awakeFromNib() 40 | setup() 41 | } 42 | 43 | override var reuseIdentifier: String? { 44 | return Constants.indicatorCellReuseIdentifier 45 | } 46 | 47 | override func layoutSubviews() { 48 | super.layoutSubviews() 49 | dotLayer.position = contentView.center 50 | } 51 | } 52 | 53 | extension IndicatorCell { 54 | func update(state: IndicatorCellState, animated: Bool = true) { 55 | self.state = state 56 | /** 57 | CALayer stuff is animated automatically so we need a way to disable this 58 | */ 59 | if animated { 60 | updateDotLayer(for: self.state) 61 | } else { 62 | CALayer.performWithoutAnimation { 63 | updateDotLayer(for: self.state) 64 | } 65 | } 66 | } 67 | } 68 | 69 | extension IndicatorCell { 70 | private func setup() { 71 | isUserInteractionEnabled = false 72 | backgroundColor = .clear 73 | layer.addSublayer(dotLayer) 74 | update(state: .unselected) 75 | } 76 | 77 | private func updateDotLayer(for state: IndicatorCellState) { 78 | switch self.state { 79 | case .unselected: 80 | self.dotLayer.fillColor = (configuration?.unselectedDotColor ?? .lightGray).cgColor 81 | self.dotLayer.transform = CATransform3DMakeScale(0.6, 0.6, 0.6) 82 | case .selected: 83 | self.dotLayer.fillColor = (configuration?.selectedDotColor ?? .darkGray).cgColor 84 | self.dotLayer.transform = CATransform3DMakeScale(1.0, 1.0, 1.0) 85 | case .small: 86 | self.dotLayer.fillColor = (configuration?.unselectedDotColor ?? .lightGray).cgColor 87 | self.dotLayer.transform = CATransform3DMakeScale(0.2, 0.2, 0.2) 88 | } 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /Endless/Classes/private/IndicatorCellProtocol.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | protocol IndicatorCellProtocol { 4 | var isSelected: Bool { get set } 5 | func update(state: IndicatorCellState, animated: Bool) 6 | func set(configuration: Configuration) 7 | } 8 | -------------------------------------------------------------------------------- /Endless/Classes/private/IndicatorCellState.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | enum IndicatorCellState { 4 | case small 5 | case unselected 6 | case selected 7 | } 8 | -------------------------------------------------------------------------------- /Endless/Classes/public/Configuration.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | public struct Configuration { 4 | let numberOfDots: Int 5 | let maxNumberOfDots: MaxNumberOfDots 6 | let selectedDotColor: UIColor 7 | let unselectedDotColor: UIColor 8 | let dotSize: CGFloat 9 | let spacing: CGFloat 10 | 11 | public init(numberOfDots: Int, 12 | maxNumberOfDots: MaxNumberOfDots, 13 | selectedDotColor: UIColor, 14 | unselectedDotColor: UIColor, 15 | dotSize: CGFloat, 16 | spacing: CGFloat) { 17 | self.numberOfDots = numberOfDots 18 | self.maxNumberOfDots = maxNumberOfDots 19 | self.selectedDotColor = selectedDotColor 20 | self.unselectedDotColor = unselectedDotColor 21 | self.dotSize = dotSize 22 | self.spacing = spacing 23 | } 24 | } 25 | 26 | extension Configuration: Equatable { 27 | 28 | } 29 | -------------------------------------------------------------------------------- /Endless/Classes/public/Indicator.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | 3 | public final class Indicator: UIView, IndicatorProtocol { 4 | private var configuration: Configuration? 5 | private lazy var collectionView: UICollectionView = { 6 | var collectionView = UICollectionView(frame: .zero, collectionViewLayout: UICollectionViewFlowLayout()) 7 | collectionView.showsHorizontalScrollIndicator = false 8 | collectionView.contentInset = .zero 9 | collectionView.backgroundColor = .clear 10 | collectionView.allowsMultipleSelection = false 11 | (collectionView.collectionViewLayout as? UICollectionViewFlowLayout)?.scrollDirection = .horizontal 12 | collectionView.backgroundColor = UIColor.white 13 | collectionView.register(IndicatorCell.self, forCellWithReuseIdentifier: Constants.indicatorCellReuseIdentifier) 14 | collectionView.translatesAutoresizingMaskIntoConstraints = false 15 | collectionView.isUserInteractionEnabled = false 16 | collectionView.dataSource = self 17 | collectionView.delegate = self 18 | return collectionView 19 | }() 20 | 21 | public var selectedIndex = 0 { 22 | didSet { 23 | updateIndicator(for: selectedIndex) 24 | } 25 | } 26 | 27 | public func setup(with configuration: Configuration) { 28 | self.configuration = configuration 29 | setupConstraints() 30 | setupInitialSelection() 31 | updateCells() 32 | } 33 | 34 | public override func layoutSubviews() { 35 | super.layoutSubviews() 36 | collectionView.collectionViewLayout.invalidateLayout() 37 | } 38 | } 39 | 40 | extension Indicator { 41 | private func setupConstraints() { 42 | guard let configuration = self.configuration else { 43 | return 44 | } 45 | 46 | addSubview(collectionView) 47 | collectionView.leftAnchor.constraint(equalTo: leftAnchor).isActive = true 48 | collectionView.rightAnchor.constraint(equalTo: rightAnchor).isActive = true 49 | collectionView.topAnchor.constraint(equalTo: topAnchor).isActive = true 50 | collectionView.bottomAnchor.constraint(equalTo: bottomAnchor).isActive = true 51 | let spacing = CGFloat(configuration.maxNumberOfDots.rawValue - 1) * configuration.spacing 52 | let widthOfItem = configuration.dotSize 53 | let heightOfItem = configuration.dotSize 54 | heightAnchor.constraint(equalToConstant: heightOfItem).isActive = true 55 | widthAnchor.constraint(equalToConstant: CGFloat(configuration.maxNumberOfDots.rawValue) * widthOfItem + spacing).isActive = true 56 | setNeedsLayout() 57 | layoutIfNeeded() 58 | } 59 | 60 | private func setupInitialSelection() { 61 | let selectedIndexPath = IndexPath(row: 0, section: 0) 62 | collectionView.selectItem(at: selectedIndexPath, animated: false, scrollPosition: .centeredHorizontally) 63 | } 64 | } 65 | 66 | extension Indicator: UICollectionViewDataSource { 67 | public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { 68 | return configuration?.numberOfDots ?? 0 69 | } 70 | 71 | public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { 72 | let cell = collectionView.dequeueReusableCell(withReuseIdentifier: Constants.indicatorCellReuseIdentifier, for: indexPath) 73 | if let indicatorCell = cell as? IndicatorCell, let configuration = configuration { 74 | indicatorCell.set(configuration: configuration) 75 | } 76 | return cell 77 | } 78 | } 79 | 80 | extension Indicator: UIScrollViewDelegate { 81 | public func scrollViewDidScroll(_ scrollView: UIScrollView) { 82 | updateCells() 83 | } 84 | } 85 | 86 | extension Indicator: UICollectionViewDelegateFlowLayout { 87 | public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize { 88 | return CGSize(width: configuration?.dotSize ?? 0, height: collectionView.frame.height) 89 | } 90 | 91 | public func collectionView(_ collectionView: UICollectionView, willDisplay cell: UICollectionViewCell, forItemAt indexPath: IndexPath) { 92 | (cell as? IndicatorCell)?.update(state: .small, animated: false) 93 | } 94 | 95 | public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, insetForSectionAt section: Int) -> UIEdgeInsets { 96 | return .zero 97 | } 98 | 99 | public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumLineSpacingForSectionAt section: Int) -> CGFloat { 100 | return configuration?.spacing ?? 0 101 | } 102 | } 103 | 104 | extension Indicator { 105 | private func updateIndicator(for selectedIndex: Int) { 106 | guard let configuration = configuration else { 107 | return 108 | } 109 | 110 | guard selectedIndex >= 0 else { 111 | return 112 | } 113 | 114 | guard selectedIndex < configuration.numberOfDots else { 115 | return 116 | } 117 | 118 | let selectedIndexPath = IndexPath(row: selectedIndex, section: 0) 119 | self.collectionView.selectItem(at: selectedIndexPath, animated: true, scrollPosition: .centeredHorizontally) 120 | } 121 | 122 | private func updateCells() { 123 | guard let configuration = configuration else { 124 | return 125 | } 126 | 127 | let cellAndPaths = collectionView.getAllVisibleCellsAndPaths() 128 | 129 | for (index,cellAndPath) in cellAndPaths.enumerated() { 130 | // Update the cell at the selected index 131 | if cellAndPath.indexPath.row == selectedIndex { 132 | cellAndPath.cell.update(state: .selected) 133 | } else if cellAndPath.indexPath.row == 0 || cellAndPath.indexPath.row == configuration.numberOfDots - 1 { 134 | cellAndPath.cell.update(state: .unselected) 135 | } else if index == 0 || index == cellAndPaths.count - 1 { 136 | cellAndPath.cell.update(state: .small) 137 | } else { 138 | cellAndPath.cell.update(state: .unselected) 139 | } 140 | } 141 | } 142 | } 143 | -------------------------------------------------------------------------------- /Endless/Classes/public/IndicatorProtocol.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | public protocol IndicatorProtocol { 4 | var selectedIndex: Int { get set } 5 | func setup(with configuration: Configuration) 6 | } 7 | -------------------------------------------------------------------------------- /Endless/Classes/public/MaxNumberOfDots.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | /** 4 | We need to restrict the max number at the moment because we use scrollPosition center 5 | and calculate the intrinsic size base on numberOfMaxitems and the spacing between them 6 | */ 7 | 8 | public enum MaxNumberOfDots: Int { 9 | case three = 3 10 | case five = 5 11 | case seven = 7 12 | case nine = 9 13 | case eleven = 11 14 | case thirteen = 13 15 | } 16 | -------------------------------------------------------------------------------- /Example/Endless.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 159A805E225A0E290046B195 /* ExampleCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 159A805D225A0E290046B195 /* ExampleCell.swift */; }; 11 | 159A8060225A5B470046B195 /* Colors.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 159A805F225A5B470046B195 /* Colors.xcassets */; }; 12 | 265AF1610F4FF59D7667B94D /* Pods_Endless_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 46E025AD3F4ECFEA38E28BC9 /* Pods_Endless_Tests.framework */; }; 13 | 2D3FD324833ADC2605EF1A99 /* Pods_Endless_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2A58026F57076A5D56622C5B /* Pods_Endless_Example.framework */; }; 14 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 15 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 16 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 17 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 18 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 19 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 28 | remoteInfo = Endless; 29 | }; 30 | /* End PBXContainerItemProxy section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 067896705C7C8219786C1BCE /* Pods-Endless_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Endless_Example.debug.xcconfig"; path = "Target Support Files/Pods-Endless_Example/Pods-Endless_Example.debug.xcconfig"; sourceTree = ""; }; 34 | 1552A717225A5CF300B143D1 /* Github */ = {isa = PBXFileReference; lastKnownFileType = folder; name = Github; path = ../Github; sourceTree = ""; }; 35 | 159A805D225A0E290046B195 /* ExampleCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleCell.swift; sourceTree = ""; }; 36 | 159A805F225A5B470046B195 /* Colors.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Colors.xcassets; sourceTree = ""; }; 37 | 2A58026F57076A5D56622C5B /* Pods_Endless_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Endless_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 38 | 46E025AD3F4ECFEA38E28BC9 /* Pods_Endless_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Endless_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 39 | 496ABE452EB63F17213D107F /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 40 | 4CF8CB7668FAA644C99B424E /* Pods-Endless_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Endless_Tests.release.xcconfig"; path = "Target Support Files/Pods-Endless_Tests/Pods-Endless_Tests.release.xcconfig"; sourceTree = ""; }; 41 | 5DBC0B3ABC5BCEAED27DEAA7 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 42 | 607FACD01AFB9204008FA782 /* Endless_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Endless_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 43 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 44 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 45 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 46 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 47 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 48 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 49 | 607FACE51AFB9204008FA782 /* Endless_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Endless_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 51 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 52 | 729553C631D328D618ECCF9D /* Pods-Endless_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Endless_Tests.debug.xcconfig"; path = "Target Support Files/Pods-Endless_Tests/Pods-Endless_Tests.debug.xcconfig"; sourceTree = ""; }; 53 | 7778EA7D20A13B67BEC709EC /* Endless.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Endless.podspec; path = ../Endless.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 54 | 77963CEF336043A3E9A9A1EC /* Pods-Endless_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Endless_Example.release.xcconfig"; path = "Target Support Files/Pods-Endless_Example/Pods-Endless_Example.release.xcconfig"; sourceTree = ""; }; 55 | /* End PBXFileReference section */ 56 | 57 | /* Begin PBXFrameworksBuildPhase section */ 58 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 59 | isa = PBXFrameworksBuildPhase; 60 | buildActionMask = 2147483647; 61 | files = ( 62 | 2D3FD324833ADC2605EF1A99 /* Pods_Endless_Example.framework in Frameworks */, 63 | ); 64 | runOnlyForDeploymentPostprocessing = 0; 65 | }; 66 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 67 | isa = PBXFrameworksBuildPhase; 68 | buildActionMask = 2147483647; 69 | files = ( 70 | 265AF1610F4FF59D7667B94D /* Pods_Endless_Tests.framework in Frameworks */, 71 | ); 72 | runOnlyForDeploymentPostprocessing = 0; 73 | }; 74 | /* End PBXFrameworksBuildPhase section */ 75 | 76 | /* Begin PBXGroup section */ 77 | 3402D6114B364F5AA6068195 /* Pods */ = { 78 | isa = PBXGroup; 79 | children = ( 80 | 067896705C7C8219786C1BCE /* Pods-Endless_Example.debug.xcconfig */, 81 | 77963CEF336043A3E9A9A1EC /* Pods-Endless_Example.release.xcconfig */, 82 | 729553C631D328D618ECCF9D /* Pods-Endless_Tests.debug.xcconfig */, 83 | 4CF8CB7668FAA644C99B424E /* Pods-Endless_Tests.release.xcconfig */, 84 | ); 85 | path = Pods; 86 | sourceTree = ""; 87 | }; 88 | 607FACC71AFB9204008FA782 = { 89 | isa = PBXGroup; 90 | children = ( 91 | 1552A717225A5CF300B143D1 /* Github */, 92 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 93 | 607FACD21AFB9204008FA782 /* Example for Endless */, 94 | 607FACE81AFB9204008FA782 /* Tests */, 95 | 607FACD11AFB9204008FA782 /* Products */, 96 | 3402D6114B364F5AA6068195 /* Pods */, 97 | DA9F94D66FC2E444E660931E /* Frameworks */, 98 | ); 99 | sourceTree = ""; 100 | }; 101 | 607FACD11AFB9204008FA782 /* Products */ = { 102 | isa = PBXGroup; 103 | children = ( 104 | 607FACD01AFB9204008FA782 /* Endless_Example.app */, 105 | 607FACE51AFB9204008FA782 /* Endless_Tests.xctest */, 106 | ); 107 | name = Products; 108 | sourceTree = ""; 109 | }; 110 | 607FACD21AFB9204008FA782 /* Example for Endless */ = { 111 | isa = PBXGroup; 112 | children = ( 113 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 114 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 115 | 159A805D225A0E290046B195 /* ExampleCell.swift */, 116 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 117 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 118 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 119 | 607FACD31AFB9204008FA782 /* Supporting Files */, 120 | 159A805F225A5B470046B195 /* Colors.xcassets */, 121 | ); 122 | name = "Example for Endless"; 123 | path = Endless; 124 | sourceTree = ""; 125 | }; 126 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 127 | isa = PBXGroup; 128 | children = ( 129 | 607FACD41AFB9204008FA782 /* Info.plist */, 130 | ); 131 | name = "Supporting Files"; 132 | sourceTree = ""; 133 | }; 134 | 607FACE81AFB9204008FA782 /* Tests */ = { 135 | isa = PBXGroup; 136 | children = ( 137 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 138 | 607FACE91AFB9204008FA782 /* Supporting Files */, 139 | ); 140 | path = Tests; 141 | sourceTree = ""; 142 | }; 143 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | 607FACEA1AFB9204008FA782 /* Info.plist */, 147 | ); 148 | name = "Supporting Files"; 149 | sourceTree = ""; 150 | }; 151 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 7778EA7D20A13B67BEC709EC /* Endless.podspec */, 155 | 496ABE452EB63F17213D107F /* README.md */, 156 | 5DBC0B3ABC5BCEAED27DEAA7 /* LICENSE */, 157 | ); 158 | name = "Podspec Metadata"; 159 | sourceTree = ""; 160 | }; 161 | DA9F94D66FC2E444E660931E /* Frameworks */ = { 162 | isa = PBXGroup; 163 | children = ( 164 | 2A58026F57076A5D56622C5B /* Pods_Endless_Example.framework */, 165 | 46E025AD3F4ECFEA38E28BC9 /* Pods_Endless_Tests.framework */, 166 | ); 167 | name = Frameworks; 168 | sourceTree = ""; 169 | }; 170 | /* End PBXGroup section */ 171 | 172 | /* Begin PBXNativeTarget section */ 173 | 607FACCF1AFB9204008FA782 /* Endless_Example */ = { 174 | isa = PBXNativeTarget; 175 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Endless_Example" */; 176 | buildPhases = ( 177 | 3854EE501D6F7DE55E4D61D4 /* [CP] Check Pods Manifest.lock */, 178 | 607FACCC1AFB9204008FA782 /* Sources */, 179 | 607FACCD1AFB9204008FA782 /* Frameworks */, 180 | 607FACCE1AFB9204008FA782 /* Resources */, 181 | CC287783F4B8BFDDF4921FCF /* [CP] Embed Pods Frameworks */, 182 | ); 183 | buildRules = ( 184 | ); 185 | dependencies = ( 186 | ); 187 | name = Endless_Example; 188 | productName = Endless; 189 | productReference = 607FACD01AFB9204008FA782 /* Endless_Example.app */; 190 | productType = "com.apple.product-type.application"; 191 | }; 192 | 607FACE41AFB9204008FA782 /* Endless_Tests */ = { 193 | isa = PBXNativeTarget; 194 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Endless_Tests" */; 195 | buildPhases = ( 196 | 51103B2B573E10D91C97DBB4 /* [CP] Check Pods Manifest.lock */, 197 | 607FACE11AFB9204008FA782 /* Sources */, 198 | 607FACE21AFB9204008FA782 /* Frameworks */, 199 | 607FACE31AFB9204008FA782 /* Resources */, 200 | ); 201 | buildRules = ( 202 | ); 203 | dependencies = ( 204 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 205 | ); 206 | name = Endless_Tests; 207 | productName = Tests; 208 | productReference = 607FACE51AFB9204008FA782 /* Endless_Tests.xctest */; 209 | productType = "com.apple.product-type.bundle.unit-test"; 210 | }; 211 | /* End PBXNativeTarget section */ 212 | 213 | /* Begin PBXProject section */ 214 | 607FACC81AFB9204008FA782 /* Project object */ = { 215 | isa = PBXProject; 216 | attributes = { 217 | LastSwiftUpdateCheck = 0830; 218 | LastUpgradeCheck = 1020; 219 | ORGANIZATIONNAME = CocoaPods; 220 | TargetAttributes = { 221 | 607FACCF1AFB9204008FA782 = { 222 | CreatedOnToolsVersion = 6.3.1; 223 | DevelopmentTeam = JY9STJR6M4; 224 | LastSwiftMigration = 0900; 225 | }; 226 | 607FACE41AFB9204008FA782 = { 227 | CreatedOnToolsVersion = 6.3.1; 228 | LastSwiftMigration = 0900; 229 | TestTargetID = 607FACCF1AFB9204008FA782; 230 | }; 231 | }; 232 | }; 233 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "Endless" */; 234 | compatibilityVersion = "Xcode 3.2"; 235 | developmentRegion = en; 236 | hasScannedForEncodings = 0; 237 | knownRegions = ( 238 | en, 239 | Base, 240 | ); 241 | mainGroup = 607FACC71AFB9204008FA782; 242 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 243 | projectDirPath = ""; 244 | projectRoot = ""; 245 | targets = ( 246 | 607FACCF1AFB9204008FA782 /* Endless_Example */, 247 | 607FACE41AFB9204008FA782 /* Endless_Tests */, 248 | ); 249 | }; 250 | /* End PBXProject section */ 251 | 252 | /* Begin PBXResourcesBuildPhase section */ 253 | 607FACCE1AFB9204008FA782 /* Resources */ = { 254 | isa = PBXResourcesBuildPhase; 255 | buildActionMask = 2147483647; 256 | files = ( 257 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 258 | 159A8060225A5B470046B195 /* Colors.xcassets in Resources */, 259 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 260 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 261 | ); 262 | runOnlyForDeploymentPostprocessing = 0; 263 | }; 264 | 607FACE31AFB9204008FA782 /* Resources */ = { 265 | isa = PBXResourcesBuildPhase; 266 | buildActionMask = 2147483647; 267 | files = ( 268 | ); 269 | runOnlyForDeploymentPostprocessing = 0; 270 | }; 271 | /* End PBXResourcesBuildPhase section */ 272 | 273 | /* Begin PBXShellScriptBuildPhase section */ 274 | 3854EE501D6F7DE55E4D61D4 /* [CP] Check Pods Manifest.lock */ = { 275 | isa = PBXShellScriptBuildPhase; 276 | buildActionMask = 2147483647; 277 | files = ( 278 | ); 279 | inputFileListPaths = ( 280 | ); 281 | inputPaths = ( 282 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 283 | "${PODS_ROOT}/Manifest.lock", 284 | ); 285 | name = "[CP] Check Pods Manifest.lock"; 286 | outputFileListPaths = ( 287 | ); 288 | outputPaths = ( 289 | "$(DERIVED_FILE_DIR)/Pods-Endless_Example-checkManifestLockResult.txt", 290 | ); 291 | runOnlyForDeploymentPostprocessing = 0; 292 | shellPath = /bin/sh; 293 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 294 | showEnvVarsInLog = 0; 295 | }; 296 | 51103B2B573E10D91C97DBB4 /* [CP] Check Pods Manifest.lock */ = { 297 | isa = PBXShellScriptBuildPhase; 298 | buildActionMask = 2147483647; 299 | files = ( 300 | ); 301 | inputFileListPaths = ( 302 | ); 303 | inputPaths = ( 304 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 305 | "${PODS_ROOT}/Manifest.lock", 306 | ); 307 | name = "[CP] Check Pods Manifest.lock"; 308 | outputFileListPaths = ( 309 | ); 310 | outputPaths = ( 311 | "$(DERIVED_FILE_DIR)/Pods-Endless_Tests-checkManifestLockResult.txt", 312 | ); 313 | runOnlyForDeploymentPostprocessing = 0; 314 | shellPath = /bin/sh; 315 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 316 | showEnvVarsInLog = 0; 317 | }; 318 | CC287783F4B8BFDDF4921FCF /* [CP] Embed Pods Frameworks */ = { 319 | isa = PBXShellScriptBuildPhase; 320 | buildActionMask = 2147483647; 321 | files = ( 322 | ); 323 | inputFileListPaths = ( 324 | ); 325 | inputPaths = ( 326 | "${PODS_ROOT}/Target Support Files/Pods-Endless_Example/Pods-Endless_Example-frameworks.sh", 327 | "${BUILT_PRODUCTS_DIR}/Endless/Endless.framework", 328 | ); 329 | name = "[CP] Embed Pods Frameworks"; 330 | outputFileListPaths = ( 331 | ); 332 | outputPaths = ( 333 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Endless.framework", 334 | ); 335 | runOnlyForDeploymentPostprocessing = 0; 336 | shellPath = /bin/sh; 337 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Endless_Example/Pods-Endless_Example-frameworks.sh\"\n"; 338 | showEnvVarsInLog = 0; 339 | }; 340 | /* End PBXShellScriptBuildPhase section */ 341 | 342 | /* Begin PBXSourcesBuildPhase section */ 343 | 607FACCC1AFB9204008FA782 /* Sources */ = { 344 | isa = PBXSourcesBuildPhase; 345 | buildActionMask = 2147483647; 346 | files = ( 347 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 348 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 349 | 159A805E225A0E290046B195 /* ExampleCell.swift in Sources */, 350 | ); 351 | runOnlyForDeploymentPostprocessing = 0; 352 | }; 353 | 607FACE11AFB9204008FA782 /* Sources */ = { 354 | isa = PBXSourcesBuildPhase; 355 | buildActionMask = 2147483647; 356 | files = ( 357 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 358 | ); 359 | runOnlyForDeploymentPostprocessing = 0; 360 | }; 361 | /* End PBXSourcesBuildPhase section */ 362 | 363 | /* Begin PBXTargetDependency section */ 364 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 365 | isa = PBXTargetDependency; 366 | target = 607FACCF1AFB9204008FA782 /* Endless_Example */; 367 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 368 | }; 369 | /* End PBXTargetDependency section */ 370 | 371 | /* Begin PBXVariantGroup section */ 372 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 373 | isa = PBXVariantGroup; 374 | children = ( 375 | 607FACDA1AFB9204008FA782 /* Base */, 376 | ); 377 | name = Main.storyboard; 378 | sourceTree = ""; 379 | }; 380 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 381 | isa = PBXVariantGroup; 382 | children = ( 383 | 607FACDF1AFB9204008FA782 /* Base */, 384 | ); 385 | name = LaunchScreen.xib; 386 | sourceTree = ""; 387 | }; 388 | /* End PBXVariantGroup section */ 389 | 390 | /* Begin XCBuildConfiguration section */ 391 | 607FACED1AFB9204008FA782 /* Debug */ = { 392 | isa = XCBuildConfiguration; 393 | buildSettings = { 394 | ALWAYS_SEARCH_USER_PATHS = NO; 395 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 396 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 397 | CLANG_CXX_LIBRARY = "libc++"; 398 | CLANG_ENABLE_MODULES = YES; 399 | CLANG_ENABLE_OBJC_ARC = YES; 400 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 401 | CLANG_WARN_BOOL_CONVERSION = YES; 402 | CLANG_WARN_COMMA = YES; 403 | CLANG_WARN_CONSTANT_CONVERSION = YES; 404 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 405 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 406 | CLANG_WARN_EMPTY_BODY = YES; 407 | CLANG_WARN_ENUM_CONVERSION = YES; 408 | CLANG_WARN_INFINITE_RECURSION = YES; 409 | CLANG_WARN_INT_CONVERSION = YES; 410 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 411 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 412 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 413 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 414 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 415 | CLANG_WARN_STRICT_PROTOTYPES = YES; 416 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 417 | CLANG_WARN_UNREACHABLE_CODE = YES; 418 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 419 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 420 | COPY_PHASE_STRIP = NO; 421 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 422 | ENABLE_STRICT_OBJC_MSGSEND = YES; 423 | ENABLE_TESTABILITY = YES; 424 | GCC_C_LANGUAGE_STANDARD = gnu99; 425 | GCC_DYNAMIC_NO_PIC = NO; 426 | GCC_NO_COMMON_BLOCKS = YES; 427 | GCC_OPTIMIZATION_LEVEL = 0; 428 | GCC_PREPROCESSOR_DEFINITIONS = ( 429 | "DEBUG=1", 430 | "$(inherited)", 431 | ); 432 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 433 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 434 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 435 | GCC_WARN_UNDECLARED_SELECTOR = YES; 436 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 437 | GCC_WARN_UNUSED_FUNCTION = YES; 438 | GCC_WARN_UNUSED_VARIABLE = YES; 439 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 440 | MTL_ENABLE_DEBUG_INFO = YES; 441 | ONLY_ACTIVE_ARCH = YES; 442 | SDKROOT = iphoneos; 443 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 444 | }; 445 | name = Debug; 446 | }; 447 | 607FACEE1AFB9204008FA782 /* Release */ = { 448 | isa = XCBuildConfiguration; 449 | buildSettings = { 450 | ALWAYS_SEARCH_USER_PATHS = NO; 451 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 452 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 453 | CLANG_CXX_LIBRARY = "libc++"; 454 | CLANG_ENABLE_MODULES = YES; 455 | CLANG_ENABLE_OBJC_ARC = YES; 456 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 457 | CLANG_WARN_BOOL_CONVERSION = YES; 458 | CLANG_WARN_COMMA = YES; 459 | CLANG_WARN_CONSTANT_CONVERSION = YES; 460 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 461 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 462 | CLANG_WARN_EMPTY_BODY = YES; 463 | CLANG_WARN_ENUM_CONVERSION = YES; 464 | CLANG_WARN_INFINITE_RECURSION = YES; 465 | CLANG_WARN_INT_CONVERSION = YES; 466 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 467 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 468 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 469 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 470 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 471 | CLANG_WARN_STRICT_PROTOTYPES = YES; 472 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 473 | CLANG_WARN_UNREACHABLE_CODE = YES; 474 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 475 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 476 | COPY_PHASE_STRIP = NO; 477 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 478 | ENABLE_NS_ASSERTIONS = NO; 479 | ENABLE_STRICT_OBJC_MSGSEND = YES; 480 | GCC_C_LANGUAGE_STANDARD = gnu99; 481 | GCC_NO_COMMON_BLOCKS = YES; 482 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 483 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 484 | GCC_WARN_UNDECLARED_SELECTOR = YES; 485 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 486 | GCC_WARN_UNUSED_FUNCTION = YES; 487 | GCC_WARN_UNUSED_VARIABLE = YES; 488 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 489 | MTL_ENABLE_DEBUG_INFO = NO; 490 | SDKROOT = iphoneos; 491 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 492 | VALIDATE_PRODUCT = YES; 493 | }; 494 | name = Release; 495 | }; 496 | 607FACF01AFB9204008FA782 /* Debug */ = { 497 | isa = XCBuildConfiguration; 498 | baseConfigurationReference = 067896705C7C8219786C1BCE /* Pods-Endless_Example.debug.xcconfig */; 499 | buildSettings = { 500 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 501 | DEVELOPMENT_TEAM = JY9STJR6M4; 502 | INFOPLIST_FILE = Endless/Info.plist; 503 | IPHONEOS_DEPLOYMENT_TARGET = 11.1; 504 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 505 | MODULE_NAME = ExampleApp; 506 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 507 | PRODUCT_NAME = "$(TARGET_NAME)"; 508 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 509 | SWIFT_VERSION = 4.0; 510 | }; 511 | name = Debug; 512 | }; 513 | 607FACF11AFB9204008FA782 /* Release */ = { 514 | isa = XCBuildConfiguration; 515 | baseConfigurationReference = 77963CEF336043A3E9A9A1EC /* Pods-Endless_Example.release.xcconfig */; 516 | buildSettings = { 517 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 518 | DEVELOPMENT_TEAM = JY9STJR6M4; 519 | INFOPLIST_FILE = Endless/Info.plist; 520 | IPHONEOS_DEPLOYMENT_TARGET = 11.1; 521 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 522 | MODULE_NAME = ExampleApp; 523 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 524 | PRODUCT_NAME = "$(TARGET_NAME)"; 525 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 526 | SWIFT_VERSION = 4.0; 527 | }; 528 | name = Release; 529 | }; 530 | 607FACF31AFB9204008FA782 /* Debug */ = { 531 | isa = XCBuildConfiguration; 532 | baseConfigurationReference = 729553C631D328D618ECCF9D /* Pods-Endless_Tests.debug.xcconfig */; 533 | buildSettings = { 534 | FRAMEWORK_SEARCH_PATHS = ( 535 | "$(SDKROOT)/Developer/Library/Frameworks", 536 | "$(inherited)", 537 | ); 538 | GCC_PREPROCESSOR_DEFINITIONS = ( 539 | "DEBUG=1", 540 | "$(inherited)", 541 | ); 542 | INFOPLIST_FILE = Tests/Info.plist; 543 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 544 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 545 | PRODUCT_NAME = "$(TARGET_NAME)"; 546 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 547 | SWIFT_VERSION = 4.0; 548 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Endless_Example.app/Endless_Example"; 549 | }; 550 | name = Debug; 551 | }; 552 | 607FACF41AFB9204008FA782 /* Release */ = { 553 | isa = XCBuildConfiguration; 554 | baseConfigurationReference = 4CF8CB7668FAA644C99B424E /* Pods-Endless_Tests.release.xcconfig */; 555 | buildSettings = { 556 | FRAMEWORK_SEARCH_PATHS = ( 557 | "$(SDKROOT)/Developer/Library/Frameworks", 558 | "$(inherited)", 559 | ); 560 | INFOPLIST_FILE = Tests/Info.plist; 561 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 562 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 563 | PRODUCT_NAME = "$(TARGET_NAME)"; 564 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 565 | SWIFT_VERSION = 4.0; 566 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Endless_Example.app/Endless_Example"; 567 | }; 568 | name = Release; 569 | }; 570 | /* End XCBuildConfiguration section */ 571 | 572 | /* Begin XCConfigurationList section */ 573 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "Endless" */ = { 574 | isa = XCConfigurationList; 575 | buildConfigurations = ( 576 | 607FACED1AFB9204008FA782 /* Debug */, 577 | 607FACEE1AFB9204008FA782 /* Release */, 578 | ); 579 | defaultConfigurationIsVisible = 0; 580 | defaultConfigurationName = Release; 581 | }; 582 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Endless_Example" */ = { 583 | isa = XCConfigurationList; 584 | buildConfigurations = ( 585 | 607FACF01AFB9204008FA782 /* Debug */, 586 | 607FACF11AFB9204008FA782 /* Release */, 587 | ); 588 | defaultConfigurationIsVisible = 0; 589 | defaultConfigurationName = Release; 590 | }; 591 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Endless_Tests" */ = { 592 | isa = XCConfigurationList; 593 | buildConfigurations = ( 594 | 607FACF31AFB9204008FA782 /* Debug */, 595 | 607FACF41AFB9204008FA782 /* Release */, 596 | ); 597 | defaultConfigurationIsVisible = 0; 598 | defaultConfigurationName = Release; 599 | }; 600 | /* End XCConfigurationList section */ 601 | }; 602 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 603 | } 604 | -------------------------------------------------------------------------------- /Example/Endless.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Endless.xcodeproj/xcshareddata/xcschemes/Endless-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /Example/Endless.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/Endless.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Endless.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildSystemType 6 | Original 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Endless/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // Endless 4 | // 5 | // Created by self.dealloc@protonmail.com on 04/04/2019. 6 | // Copyright (c) 2019 self.dealloc@protonmail.com. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/Endless/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Example/Endless/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /Example/Endless/Colors.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/Endless/Colors.xcassets/Selected.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "224", 13 | "alpha" : "1.000", 14 | "blue" : "104", 15 | "green" : "76" 16 | } 17 | } 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /Example/Endless/ExampleCell.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | 3 | final class ExampleCell: UICollectionViewCell { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /Example/Endless/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Example/Endless/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/Endless/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/Endless/ViewController.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Endless 3 | 4 | class ViewController: UIViewController { 5 | @IBOutlet weak private var indicator: Endless.Indicator! 6 | @IBOutlet weak var exampleCollectionView: UICollectionView? 7 | 8 | override func viewDidLoad() { 9 | super.viewDidLoad() 10 | exampleCollectionView?.delegate = self 11 | exampleCollectionView?.dataSource = self 12 | let configuration = Endless.Configuration(numberOfDots: 10, 13 | maxNumberOfDots: .five, 14 | selectedDotColor: UIColor(named: "Selected")!, 15 | unselectedDotColor: .lightGray, 16 | dotSize: 10, 17 | spacing: 10) 18 | indicator?.setup(with: configuration) 19 | exampleCollectionView?.reloadData() 20 | } 21 | } 22 | 23 | extension ViewController: UICollectionViewDataSource { 24 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { 25 | let exampleCell = collectionView.dequeueReusableCell(withReuseIdentifier: "ExampleCell", for: indexPath) 26 | exampleCell.contentView.backgroundColor = UIColor.random() 27 | return exampleCell 28 | } 29 | 30 | func numberOfSections(in collectionView: UICollectionView) -> Int { 31 | return 1 32 | } 33 | 34 | func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { 35 | return 10 36 | } 37 | } 38 | 39 | extension ViewController: UICollectionViewDelegate { 40 | 41 | } 42 | 43 | extension ViewController: UIScrollViewDelegate { 44 | func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) { 45 | let offSet = scrollView.contentOffset.x 46 | let width = scrollView.frame.width 47 | let horizontalCenter = width / 2 48 | indicator.selectedIndex = Int(offSet + horizontalCenter) / Int(width) 49 | } 50 | } 51 | 52 | extension ViewController: UICollectionViewDelegateFlowLayout { 53 | func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize { 54 | return collectionView.bounds.size 55 | } 56 | 57 | func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumInteritemSpacingForSectionAt section: Int) -> CGFloat { 58 | return 0 59 | } 60 | 61 | func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumLineSpacingForSectionAt section: Int) -> CGFloat { 62 | return 0 63 | } 64 | } 65 | 66 | extension UIColor { 67 | static func random () -> UIColor { 68 | return UIColor( 69 | red: CGFloat.random(in: 0...1), 70 | green: CGFloat.random(in: 0...1), 71 | blue: CGFloat.random(in: 0...1), 72 | alpha: 1.0) 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'Endless_Example' do 4 | pod 'Endless', :path => '../' 5 | 6 | target 'Endless_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Endless (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - Endless (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | Endless: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | Endless: d5a14f136dbfb292f0b7a7b03ca00d1d10331e53 13 | 14 | PODFILE CHECKSUM: 8ed792516f054f04cca90dc2a5cac7857a5b12ec 15 | 16 | COCOAPODS: 1.6.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/Endless.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Endless", 3 | "version": "0.1.0", 4 | "summary": "Endless is a lighweight endless page indicator.", 5 | "description": "Endless is a lighweight endless page indicator.", 6 | "homepage": "https://github.com/self.dealloc@protonmail.com/Endless", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "self.dealloc@protonmail.com": "self.dealloc@googlemail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/self.dealloc@protonmail.com/Endless.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "9.0" 20 | }, 21 | "source_files": "Endless/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Endless (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - Endless (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | Endless: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | Endless: d5a14f136dbfb292f0b7a7b03ca00d1d10331e53 13 | 14 | PODFILE CHECKSUM: 8ed792516f054f04cca90dc2a5cac7857a5b12ec 15 | 16 | COCOAPODS: 1.6.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 013D0177EA6830764D89FE8470DF9553 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; }; 11 | 1502BA9C2259F81C0013A149 /* CALayer+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1502BA9B2259F81C0013A149 /* CALayer+Extension.swift */; }; 12 | 1502BA9E2259FD5B0013A149 /* MaxNumberOfDots.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1502BA9D2259FD5B0013A149 /* MaxNumberOfDots.swift */; }; 13 | 1502BAA0225A041F0013A149 /* Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1502BA9F225A041F0013A149 /* Constants.swift */; }; 14 | 1502BAA2225A057A0013A149 /* UICollectionView+VisibleCells.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1502BAA1225A057A0013A149 /* UICollectionView+VisibleCells.swift */; }; 15 | 159A805A225A074E0046B195 /* IndicatorProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 159A8059225A074E0046B195 /* IndicatorProtocol.swift */; }; 16 | 159A805C225A085C0046B195 /* IndicatorCellProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 159A805B225A085C0046B195 /* IndicatorCellProtocol.swift */; }; 17 | 26786E6B6CF1001A9F225FD31E5B1716 /* Configuration.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC00CF88448BFE2EC07228B8F5578EF0 /* Configuration.swift */; }; 18 | 33DB749BCB8F986BE7BB7DB4D140613B /* Endless-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 9639851AD93081396716527EDA7949B0 /* Endless-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 19 | 3695B880338E9F23F4A46E17FD98E283 /* Pods-Endless_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C1CC2F4569251B91C91A4B962A6104CF /* Pods-Endless_Tests-dummy.m */; }; 20 | 3895920380311B63436CD875CAF4ABF2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; }; 21 | 4A8E543229372E3E051018C2EE2F33E5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; }; 22 | 77C2E2EEC1A2EC3DB0425C10DBDEF560 /* Pods-Endless_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A12CC839B216919C6C4AA6B9B8E9D77E /* Pods-Endless_Example-dummy.m */; }; 23 | 7DD044BDCB80C24E13BD5AC9357B2406 /* Endless-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 989E0E3C2301E3CF925F58F9D10F6E80 /* Endless-dummy.m */; }; 24 | 95B81D233CA8C76F27EFEF341B17DB4C /* IndicatorCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3576575055C96328F5A8FEBFD2E82C40 /* IndicatorCell.swift */; }; 25 | 989E85E803C12AF1DB89C7C82A5D8811 /* IndicatorCellState.swift in Sources */ = {isa = PBXBuildFile; fileRef = 115F58AB98EAA756EDD74A5C3C10BF99 /* IndicatorCellState.swift */; }; 26 | 99467DB675B00ACC19454328EC9C1A01 /* Pods-Endless_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = A74C16C0647457F44EE41ED8296989DA /* Pods-Endless_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 27 | BF46FDBA2A290A28A6B434DA4F3D8CC9 /* Pods-Endless_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B99AF101FD55886DBBFD73A7AE69965A /* Pods-Endless_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 28 | F84340F11129282DDE3D14AF20F18C82 /* Indicator.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3BA0250867B64346D973B40D6914796 /* Indicator.swift */; }; 29 | /* End PBXBuildFile section */ 30 | 31 | /* Begin PBXContainerItemProxy section */ 32 | 4173C27B4D97CA2D792D4194E9A2AF19 /* PBXContainerItemProxy */ = { 33 | isa = PBXContainerItemProxy; 34 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 35 | proxyType = 1; 36 | remoteGlobalIDString = 76F60D32109FB8DF4B7848547DE32AEB; 37 | remoteInfo = Endless; 38 | }; 39 | 4E4373E07388AE50DB64D428D967E937 /* PBXContainerItemProxy */ = { 40 | isa = PBXContainerItemProxy; 41 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 42 | proxyType = 1; 43 | remoteGlobalIDString = 721BCE4BCC414E2A9EB42BA5BF83A81D; 44 | remoteInfo = "Pods-Endless_Example"; 45 | }; 46 | /* End PBXContainerItemProxy section */ 47 | 48 | /* Begin PBXFileReference section */ 49 | 115F58AB98EAA756EDD74A5C3C10BF99 /* IndicatorCellState.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = IndicatorCellState.swift; sourceTree = ""; }; 50 | 1502BA9B2259F81C0013A149 /* CALayer+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "CALayer+Extension.swift"; sourceTree = ""; }; 51 | 1502BA9D2259FD5B0013A149 /* MaxNumberOfDots.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MaxNumberOfDots.swift; sourceTree = ""; }; 52 | 1502BA9F225A041F0013A149 /* Constants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Constants.swift; sourceTree = ""; }; 53 | 1502BAA1225A057A0013A149 /* UICollectionView+VisibleCells.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UICollectionView+VisibleCells.swift"; sourceTree = ""; }; 54 | 159A8059225A074E0046B195 /* IndicatorProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IndicatorProtocol.swift; sourceTree = ""; }; 55 | 159A805B225A085C0046B195 /* IndicatorCellProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IndicatorCellProtocol.swift; sourceTree = ""; }; 56 | 1778199D5A60A3129E68A8DCB50DF817 /* Pods-Endless_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-Endless_Tests.modulemap"; sourceTree = ""; }; 57 | 1806796D17E1E0095353E06B2E709E84 /* Pods-Endless_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Endless_Example.release.xcconfig"; sourceTree = ""; }; 58 | 1A6349BE51C5B8BF1AE555400E4D28F5 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 59 | 1F532558D343E1F2C653571702CCFE3F /* Pods-Endless_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Endless_Example-acknowledgements.plist"; sourceTree = ""; }; 60 | 2B03AFF001DF6D1EDFF948519376913D /* Pods-Endless_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Endless_Example-Info.plist"; sourceTree = ""; }; 61 | 3576575055C96328F5A8FEBFD2E82C40 /* IndicatorCell.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = IndicatorCell.swift; sourceTree = ""; }; 62 | 3DCAB722D9D827A58CEE6F09EA3C8CC5 /* Endless-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Endless-prefix.pch"; sourceTree = ""; }; 63 | 46167DBB9185F42AA14AED73FD31B69A /* Pods-Endless_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Endless_Example-acknowledgements.markdown"; sourceTree = ""; }; 64 | 4F9D4DBE28AD7CC392704A281B9BC8AE /* Pods-Endless_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Endless_Tests-acknowledgements.plist"; sourceTree = ""; }; 65 | 5AB041E0A1D2AFC66B3805F76B7BA4FB /* Endless-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Endless-Info.plist"; sourceTree = ""; }; 66 | 5F863B5C6ED6A7A2AF342FAC3CA65D72 /* Pods-Endless_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-Endless_Example.modulemap"; sourceTree = ""; }; 67 | 757A4BACD277CED1BB1D8E2A1A09083A /* Pods-Endless_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Endless_Tests.release.xcconfig"; sourceTree = ""; }; 68 | 8009DDBFDB0629D7D046BD9628A067A8 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 69 | 9639851AD93081396716527EDA7949B0 /* Endless-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Endless-umbrella.h"; sourceTree = ""; }; 70 | 989E0E3C2301E3CF925F58F9D10F6E80 /* Endless-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Endless-dummy.m"; sourceTree = ""; }; 71 | 98BA584802764FEA4886CFEA9BD51568 /* Pods_Endless_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Endless_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 72 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 73 | 9DC2C6B8809A5FD19DD78147BD707070 /* Endless.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = Endless.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 74 | 9F0D54C0D9FADA0037E83C5A6883F24B /* Endless.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Endless.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 75 | A12CC839B216919C6C4AA6B9B8E9D77E /* Pods-Endless_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Endless_Example-dummy.m"; sourceTree = ""; }; 76 | A74C16C0647457F44EE41ED8296989DA /* Pods-Endless_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Endless_Tests-umbrella.h"; sourceTree = ""; }; 77 | B3BA0250867B64346D973B40D6914796 /* Indicator.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Indicator.swift; sourceTree = ""; }; 78 | B99AF101FD55886DBBFD73A7AE69965A /* Pods-Endless_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Endless_Example-umbrella.h"; sourceTree = ""; }; 79 | C1CC2F4569251B91C91A4B962A6104CF /* Pods-Endless_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Endless_Tests-dummy.m"; sourceTree = ""; }; 80 | C5DF478F8CFBDE51A47FD4D70DC99DD2 /* Pods-Endless_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Endless_Tests-Info.plist"; sourceTree = ""; }; 81 | C5EE462A0268AA1F6BAB7C20CAF1D9C9 /* Endless.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Endless.xcconfig; sourceTree = ""; }; 82 | C8F8CE2A6E7A6D45F2EC4F89A1DE91C0 /* Pods-Endless_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Endless_Tests.debug.xcconfig"; sourceTree = ""; }; 83 | CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 84 | D4BDF5CD643A016C40FA683E15ABAD48 /* Pods-Endless_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Endless_Tests-acknowledgements.markdown"; sourceTree = ""; }; 85 | DB87393C588838BCC201D4D368BFA0F1 /* Pods-Endless_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Endless_Example-frameworks.sh"; sourceTree = ""; }; 86 | DC00CF88448BFE2EC07228B8F5578EF0 /* Configuration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Configuration.swift; sourceTree = ""; }; 87 | E148C9523B23A3E42C0C8A00918CB6E0 /* Endless.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = Endless.modulemap; sourceTree = ""; }; 88 | E23EA5D890327E8039B5D8A0C5B1E8C7 /* Pods_Endless_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Endless_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 89 | FE5E7F680683D33B69D2F581210A8DA2 /* Pods-Endless_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Endless_Example.debug.xcconfig"; sourceTree = ""; }; 90 | /* End PBXFileReference section */ 91 | 92 | /* Begin PBXFrameworksBuildPhase section */ 93 | 3163440F58FEFF6D39FE36F05369628F /* Frameworks */ = { 94 | isa = PBXFrameworksBuildPhase; 95 | buildActionMask = 2147483647; 96 | files = ( 97 | 013D0177EA6830764D89FE8470DF9553 /* Foundation.framework in Frameworks */, 98 | ); 99 | runOnlyForDeploymentPostprocessing = 0; 100 | }; 101 | 51BF036866617D5B86FC073A9690982C /* Frameworks */ = { 102 | isa = PBXFrameworksBuildPhase; 103 | buildActionMask = 2147483647; 104 | files = ( 105 | 3895920380311B63436CD875CAF4ABF2 /* Foundation.framework in Frameworks */, 106 | ); 107 | runOnlyForDeploymentPostprocessing = 0; 108 | }; 109 | C208DE6C5C04BE1DF337638F76D7F1E6 /* Frameworks */ = { 110 | isa = PBXFrameworksBuildPhase; 111 | buildActionMask = 2147483647; 112 | files = ( 113 | 4A8E543229372E3E051018C2EE2F33E5 /* Foundation.framework in Frameworks */, 114 | ); 115 | runOnlyForDeploymentPostprocessing = 0; 116 | }; 117 | /* End PBXFrameworksBuildPhase section */ 118 | 119 | /* Begin PBXGroup section */ 120 | 1502BA9A2259F8000013A149 /* Extensions */ = { 121 | isa = PBXGroup; 122 | children = ( 123 | 1502BA9B2259F81C0013A149 /* CALayer+Extension.swift */, 124 | 1502BAA1225A057A0013A149 /* UICollectionView+VisibleCells.swift */, 125 | ); 126 | path = Extensions; 127 | sourceTree = ""; 128 | }; 129 | 1785F931DA2A84042116586B66A315AE /* Pods-Endless_Example */ = { 130 | isa = PBXGroup; 131 | children = ( 132 | 5F863B5C6ED6A7A2AF342FAC3CA65D72 /* Pods-Endless_Example.modulemap */, 133 | 46167DBB9185F42AA14AED73FD31B69A /* Pods-Endless_Example-acknowledgements.markdown */, 134 | 1F532558D343E1F2C653571702CCFE3F /* Pods-Endless_Example-acknowledgements.plist */, 135 | A12CC839B216919C6C4AA6B9B8E9D77E /* Pods-Endless_Example-dummy.m */, 136 | DB87393C588838BCC201D4D368BFA0F1 /* Pods-Endless_Example-frameworks.sh */, 137 | 2B03AFF001DF6D1EDFF948519376913D /* Pods-Endless_Example-Info.plist */, 138 | B99AF101FD55886DBBFD73A7AE69965A /* Pods-Endless_Example-umbrella.h */, 139 | FE5E7F680683D33B69D2F581210A8DA2 /* Pods-Endless_Example.debug.xcconfig */, 140 | 1806796D17E1E0095353E06B2E709E84 /* Pods-Endless_Example.release.xcconfig */, 141 | ); 142 | name = "Pods-Endless_Example"; 143 | path = "Target Support Files/Pods-Endless_Example"; 144 | sourceTree = ""; 145 | }; 146 | 1B7CA0FB520DB670BFB501F1EE08C327 /* Products */ = { 147 | isa = PBXGroup; 148 | children = ( 149 | 9F0D54C0D9FADA0037E83C5A6883F24B /* Endless.framework */, 150 | E23EA5D890327E8039B5D8A0C5B1E8C7 /* Pods_Endless_Example.framework */, 151 | 98BA584802764FEA4886CFEA9BD51568 /* Pods_Endless_Tests.framework */, 152 | ); 153 | name = Products; 154 | sourceTree = ""; 155 | }; 156 | 2DBA40D0C61BCB46434F7115500DAEC1 /* Pods-Endless_Tests */ = { 157 | isa = PBXGroup; 158 | children = ( 159 | 1778199D5A60A3129E68A8DCB50DF817 /* Pods-Endless_Tests.modulemap */, 160 | D4BDF5CD643A016C40FA683E15ABAD48 /* Pods-Endless_Tests-acknowledgements.markdown */, 161 | 4F9D4DBE28AD7CC392704A281B9BC8AE /* Pods-Endless_Tests-acknowledgements.plist */, 162 | C1CC2F4569251B91C91A4B962A6104CF /* Pods-Endless_Tests-dummy.m */, 163 | C5DF478F8CFBDE51A47FD4D70DC99DD2 /* Pods-Endless_Tests-Info.plist */, 164 | A74C16C0647457F44EE41ED8296989DA /* Pods-Endless_Tests-umbrella.h */, 165 | C8F8CE2A6E7A6D45F2EC4F89A1DE91C0 /* Pods-Endless_Tests.debug.xcconfig */, 166 | 757A4BACD277CED1BB1D8E2A1A09083A /* Pods-Endless_Tests.release.xcconfig */, 167 | ); 168 | name = "Pods-Endless_Tests"; 169 | path = "Target Support Files/Pods-Endless_Tests"; 170 | sourceTree = ""; 171 | }; 172 | 49EABE8F13966CE745F6AD03CA7589F5 /* private */ = { 173 | isa = PBXGroup; 174 | children = ( 175 | 1502BA9F225A041F0013A149 /* Constants.swift */, 176 | 115F58AB98EAA756EDD74A5C3C10BF99 /* IndicatorCellState.swift */, 177 | 3576575055C96328F5A8FEBFD2E82C40 /* IndicatorCell.swift */, 178 | 159A805B225A085C0046B195 /* IndicatorCellProtocol.swift */, 179 | 1502BA9A2259F8000013A149 /* Extensions */, 180 | ); 181 | name = private; 182 | path = Endless/Classes/private; 183 | sourceTree = ""; 184 | }; 185 | 63C14E418B44B67CB58413CD95726760 /* Targets Support Files */ = { 186 | isa = PBXGroup; 187 | children = ( 188 | 1785F931DA2A84042116586B66A315AE /* Pods-Endless_Example */, 189 | 2DBA40D0C61BCB46434F7115500DAEC1 /* Pods-Endless_Tests */, 190 | ); 191 | name = "Targets Support Files"; 192 | sourceTree = ""; 193 | }; 194 | 7DA114B8C460B6C176D401468ED41494 /* Support Files */ = { 195 | isa = PBXGroup; 196 | children = ( 197 | E148C9523B23A3E42C0C8A00918CB6E0 /* Endless.modulemap */, 198 | C5EE462A0268AA1F6BAB7C20CAF1D9C9 /* Endless.xcconfig */, 199 | 989E0E3C2301E3CF925F58F9D10F6E80 /* Endless-dummy.m */, 200 | 5AB041E0A1D2AFC66B3805F76B7BA4FB /* Endless-Info.plist */, 201 | 3DCAB722D9D827A58CEE6F09EA3C8CC5 /* Endless-prefix.pch */, 202 | 9639851AD93081396716527EDA7949B0 /* Endless-umbrella.h */, 203 | ); 204 | name = "Support Files"; 205 | path = "Example/Pods/Target Support Files/Endless"; 206 | sourceTree = ""; 207 | }; 208 | 82368BE60990A1F09EB9B671BE6904D9 /* public */ = { 209 | isa = PBXGroup; 210 | children = ( 211 | B3BA0250867B64346D973B40D6914796 /* Indicator.swift */, 212 | 159A8059225A074E0046B195 /* IndicatorProtocol.swift */, 213 | DC00CF88448BFE2EC07228B8F5578EF0 /* Configuration.swift */, 214 | 1502BA9D2259FD5B0013A149 /* MaxNumberOfDots.swift */, 215 | ); 216 | name = public; 217 | path = Endless/Classes/public; 218 | sourceTree = ""; 219 | }; 220 | 9B055D0CFEA43187E72B03DED11F5662 /* iOS */ = { 221 | isa = PBXGroup; 222 | children = ( 223 | CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */, 224 | ); 225 | name = iOS; 226 | sourceTree = ""; 227 | }; 228 | BB80649F060A6464BAB01A61DC78DC88 /* Pod */ = { 229 | isa = PBXGroup; 230 | children = ( 231 | 9DC2C6B8809A5FD19DD78147BD707070 /* Endless.podspec */, 232 | 8009DDBFDB0629D7D046BD9628A067A8 /* LICENSE */, 233 | 1A6349BE51C5B8BF1AE555400E4D28F5 /* README.md */, 234 | ); 235 | name = Pod; 236 | sourceTree = ""; 237 | }; 238 | CF1408CF629C7361332E53B88F7BD30C = { 239 | isa = PBXGroup; 240 | children = ( 241 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 242 | F597808E1FC53AD092AC065DCE872600 /* Development Pods */, 243 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, 244 | 1B7CA0FB520DB670BFB501F1EE08C327 /* Products */, 245 | 63C14E418B44B67CB58413CD95726760 /* Targets Support Files */, 246 | ); 247 | sourceTree = ""; 248 | }; 249 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { 250 | isa = PBXGroup; 251 | children = ( 252 | 9B055D0CFEA43187E72B03DED11F5662 /* iOS */, 253 | ); 254 | name = Frameworks; 255 | sourceTree = ""; 256 | }; 257 | E2A041C08338B7333BF8432E9F1E96BB /* Endless */ = { 258 | isa = PBXGroup; 259 | children = ( 260 | BB80649F060A6464BAB01A61DC78DC88 /* Pod */, 261 | 49EABE8F13966CE745F6AD03CA7589F5 /* private */, 262 | 82368BE60990A1F09EB9B671BE6904D9 /* public */, 263 | 7DA114B8C460B6C176D401468ED41494 /* Support Files */, 264 | ); 265 | name = Endless; 266 | path = ../..; 267 | sourceTree = ""; 268 | }; 269 | F597808E1FC53AD092AC065DCE872600 /* Development Pods */ = { 270 | isa = PBXGroup; 271 | children = ( 272 | E2A041C08338B7333BF8432E9F1E96BB /* Endless */, 273 | ); 274 | name = "Development Pods"; 275 | sourceTree = ""; 276 | }; 277 | /* End PBXGroup section */ 278 | 279 | /* Begin PBXHeadersBuildPhase section */ 280 | 082DC28F4C417FB18498878BA710C362 /* Headers */ = { 281 | isa = PBXHeadersBuildPhase; 282 | buildActionMask = 2147483647; 283 | files = ( 284 | BF46FDBA2A290A28A6B434DA4F3D8CC9 /* Pods-Endless_Example-umbrella.h in Headers */, 285 | ); 286 | runOnlyForDeploymentPostprocessing = 0; 287 | }; 288 | 45E8E4CAADFBCE349C4ACBF666B6370E /* Headers */ = { 289 | isa = PBXHeadersBuildPhase; 290 | buildActionMask = 2147483647; 291 | files = ( 292 | 99467DB675B00ACC19454328EC9C1A01 /* Pods-Endless_Tests-umbrella.h in Headers */, 293 | ); 294 | runOnlyForDeploymentPostprocessing = 0; 295 | }; 296 | 7BDDBA0A76E85F6BD718D19691101A8E /* Headers */ = { 297 | isa = PBXHeadersBuildPhase; 298 | buildActionMask = 2147483647; 299 | files = ( 300 | 33DB749BCB8F986BE7BB7DB4D140613B /* Endless-umbrella.h in Headers */, 301 | ); 302 | runOnlyForDeploymentPostprocessing = 0; 303 | }; 304 | /* End PBXHeadersBuildPhase section */ 305 | 306 | /* Begin PBXNativeTarget section */ 307 | 721BCE4BCC414E2A9EB42BA5BF83A81D /* Pods-Endless_Example */ = { 308 | isa = PBXNativeTarget; 309 | buildConfigurationList = 22173DFAE4AC14580565483EDCB75AE0 /* Build configuration list for PBXNativeTarget "Pods-Endless_Example" */; 310 | buildPhases = ( 311 | 082DC28F4C417FB18498878BA710C362 /* Headers */, 312 | FCED064017C3F27E525CB75DB5D9945C /* Sources */, 313 | 51BF036866617D5B86FC073A9690982C /* Frameworks */, 314 | CC96B72C93CEDEF33AA721E7705E4768 /* Resources */, 315 | ); 316 | buildRules = ( 317 | ); 318 | dependencies = ( 319 | 4C6F03545D8255413AB84C931F87D02C /* PBXTargetDependency */, 320 | ); 321 | name = "Pods-Endless_Example"; 322 | productName = "Pods-Endless_Example"; 323 | productReference = E23EA5D890327E8039B5D8A0C5B1E8C7 /* Pods_Endless_Example.framework */; 324 | productType = "com.apple.product-type.framework"; 325 | }; 326 | 75C8B8B65B9DFCE06F060A40C241C1AB /* Pods-Endless_Tests */ = { 327 | isa = PBXNativeTarget; 328 | buildConfigurationList = E3AC95614B36FF1DF15D100DC13AF5C7 /* Build configuration list for PBXNativeTarget "Pods-Endless_Tests" */; 329 | buildPhases = ( 330 | 45E8E4CAADFBCE349C4ACBF666B6370E /* Headers */, 331 | 9AEF107ACE098D93B33C10748197DC64 /* Sources */, 332 | 3163440F58FEFF6D39FE36F05369628F /* Frameworks */, 333 | 5AF10B6767BBB1D85517D693ED90E6D2 /* Resources */, 334 | ); 335 | buildRules = ( 336 | ); 337 | dependencies = ( 338 | 22D746BF70908E542452845F09D85508 /* PBXTargetDependency */, 339 | ); 340 | name = "Pods-Endless_Tests"; 341 | productName = "Pods-Endless_Tests"; 342 | productReference = 98BA584802764FEA4886CFEA9BD51568 /* Pods_Endless_Tests.framework */; 343 | productType = "com.apple.product-type.framework"; 344 | }; 345 | 76F60D32109FB8DF4B7848547DE32AEB /* Endless */ = { 346 | isa = PBXNativeTarget; 347 | buildConfigurationList = F379566BFF376080EFBE1CCB08EE0D54 /* Build configuration list for PBXNativeTarget "Endless" */; 348 | buildPhases = ( 349 | 7BDDBA0A76E85F6BD718D19691101A8E /* Headers */, 350 | C7B048EAC2219449EFE944737BE1C78C /* Sources */, 351 | C208DE6C5C04BE1DF337638F76D7F1E6 /* Frameworks */, 352 | E8B574C92CF8D48DBA8751C9C0FA2723 /* Resources */, 353 | ); 354 | buildRules = ( 355 | ); 356 | dependencies = ( 357 | ); 358 | name = Endless; 359 | productName = Endless; 360 | productReference = 9F0D54C0D9FADA0037E83C5A6883F24B /* Endless.framework */; 361 | productType = "com.apple.product-type.framework"; 362 | }; 363 | /* End PBXNativeTarget section */ 364 | 365 | /* Begin PBXProject section */ 366 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 367 | isa = PBXProject; 368 | attributes = { 369 | LastSwiftUpdateCheck = 0930; 370 | LastUpgradeCheck = 0930; 371 | }; 372 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 373 | compatibilityVersion = "Xcode 3.2"; 374 | developmentRegion = English; 375 | hasScannedForEncodings = 0; 376 | knownRegions = ( 377 | English, 378 | en, 379 | ); 380 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 381 | productRefGroup = 1B7CA0FB520DB670BFB501F1EE08C327 /* Products */; 382 | projectDirPath = ""; 383 | projectRoot = ""; 384 | targets = ( 385 | 76F60D32109FB8DF4B7848547DE32AEB /* Endless */, 386 | 721BCE4BCC414E2A9EB42BA5BF83A81D /* Pods-Endless_Example */, 387 | 75C8B8B65B9DFCE06F060A40C241C1AB /* Pods-Endless_Tests */, 388 | ); 389 | }; 390 | /* End PBXProject section */ 391 | 392 | /* Begin PBXResourcesBuildPhase section */ 393 | 5AF10B6767BBB1D85517D693ED90E6D2 /* Resources */ = { 394 | isa = PBXResourcesBuildPhase; 395 | buildActionMask = 2147483647; 396 | files = ( 397 | ); 398 | runOnlyForDeploymentPostprocessing = 0; 399 | }; 400 | CC96B72C93CEDEF33AA721E7705E4768 /* Resources */ = { 401 | isa = PBXResourcesBuildPhase; 402 | buildActionMask = 2147483647; 403 | files = ( 404 | ); 405 | runOnlyForDeploymentPostprocessing = 0; 406 | }; 407 | E8B574C92CF8D48DBA8751C9C0FA2723 /* Resources */ = { 408 | isa = PBXResourcesBuildPhase; 409 | buildActionMask = 2147483647; 410 | files = ( 411 | ); 412 | runOnlyForDeploymentPostprocessing = 0; 413 | }; 414 | /* End PBXResourcesBuildPhase section */ 415 | 416 | /* Begin PBXSourcesBuildPhase section */ 417 | 9AEF107ACE098D93B33C10748197DC64 /* Sources */ = { 418 | isa = PBXSourcesBuildPhase; 419 | buildActionMask = 2147483647; 420 | files = ( 421 | 3695B880338E9F23F4A46E17FD98E283 /* Pods-Endless_Tests-dummy.m in Sources */, 422 | ); 423 | runOnlyForDeploymentPostprocessing = 0; 424 | }; 425 | C7B048EAC2219449EFE944737BE1C78C /* Sources */ = { 426 | isa = PBXSourcesBuildPhase; 427 | buildActionMask = 2147483647; 428 | files = ( 429 | 26786E6B6CF1001A9F225FD31E5B1716 /* Configuration.swift in Sources */, 430 | 7DD044BDCB80C24E13BD5AC9357B2406 /* Endless-dummy.m in Sources */, 431 | 1502BA9C2259F81C0013A149 /* CALayer+Extension.swift in Sources */, 432 | F84340F11129282DDE3D14AF20F18C82 /* Indicator.swift in Sources */, 433 | 95B81D233CA8C76F27EFEF341B17DB4C /* IndicatorCell.swift in Sources */, 434 | 159A805A225A074E0046B195 /* IndicatorProtocol.swift in Sources */, 435 | 159A805C225A085C0046B195 /* IndicatorCellProtocol.swift in Sources */, 436 | 989E85E803C12AF1DB89C7C82A5D8811 /* IndicatorCellState.swift in Sources */, 437 | 1502BA9E2259FD5B0013A149 /* MaxNumberOfDots.swift in Sources */, 438 | 1502BAA0225A041F0013A149 /* Constants.swift in Sources */, 439 | 1502BAA2225A057A0013A149 /* UICollectionView+VisibleCells.swift in Sources */, 440 | ); 441 | runOnlyForDeploymentPostprocessing = 0; 442 | }; 443 | FCED064017C3F27E525CB75DB5D9945C /* Sources */ = { 444 | isa = PBXSourcesBuildPhase; 445 | buildActionMask = 2147483647; 446 | files = ( 447 | 77C2E2EEC1A2EC3DB0425C10DBDEF560 /* Pods-Endless_Example-dummy.m in Sources */, 448 | ); 449 | runOnlyForDeploymentPostprocessing = 0; 450 | }; 451 | /* End PBXSourcesBuildPhase section */ 452 | 453 | /* Begin PBXTargetDependency section */ 454 | 22D746BF70908E542452845F09D85508 /* PBXTargetDependency */ = { 455 | isa = PBXTargetDependency; 456 | name = "Pods-Endless_Example"; 457 | target = 721BCE4BCC414E2A9EB42BA5BF83A81D /* Pods-Endless_Example */; 458 | targetProxy = 4E4373E07388AE50DB64D428D967E937 /* PBXContainerItemProxy */; 459 | }; 460 | 4C6F03545D8255413AB84C931F87D02C /* PBXTargetDependency */ = { 461 | isa = PBXTargetDependency; 462 | name = Endless; 463 | target = 76F60D32109FB8DF4B7848547DE32AEB /* Endless */; 464 | targetProxy = 4173C27B4D97CA2D792D4194E9A2AF19 /* PBXContainerItemProxy */; 465 | }; 466 | /* End PBXTargetDependency section */ 467 | 468 | /* Begin XCBuildConfiguration section */ 469 | 64614036EEE28CDD5392903B2469CE33 /* Release */ = { 470 | isa = XCBuildConfiguration; 471 | baseConfigurationReference = 757A4BACD277CED1BB1D8E2A1A09083A /* Pods-Endless_Tests.release.xcconfig */; 472 | buildSettings = { 473 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 474 | CODE_SIGN_IDENTITY = ""; 475 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 476 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 477 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 478 | CURRENT_PROJECT_VERSION = 1; 479 | DEFINES_MODULE = YES; 480 | DYLIB_COMPATIBILITY_VERSION = 1; 481 | DYLIB_CURRENT_VERSION = 1; 482 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 483 | INFOPLIST_FILE = "Target Support Files/Pods-Endless_Tests/Pods-Endless_Tests-Info.plist"; 484 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 485 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 486 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 487 | MACH_O_TYPE = staticlib; 488 | MODULEMAP_FILE = "Target Support Files/Pods-Endless_Tests/Pods-Endless_Tests.modulemap"; 489 | OTHER_LDFLAGS = ""; 490 | OTHER_LIBTOOLFLAGS = ""; 491 | PODS_ROOT = "$(SRCROOT)"; 492 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 493 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 494 | SDKROOT = iphoneos; 495 | SKIP_INSTALL = YES; 496 | TARGETED_DEVICE_FAMILY = "1,2"; 497 | VALIDATE_PRODUCT = YES; 498 | VERSIONING_SYSTEM = "apple-generic"; 499 | VERSION_INFO_PREFIX = ""; 500 | }; 501 | name = Release; 502 | }; 503 | 65C163C8437F4B010A60A544DA3625CB /* Debug */ = { 504 | isa = XCBuildConfiguration; 505 | baseConfigurationReference = C8F8CE2A6E7A6D45F2EC4F89A1DE91C0 /* Pods-Endless_Tests.debug.xcconfig */; 506 | buildSettings = { 507 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 508 | CODE_SIGN_IDENTITY = ""; 509 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 510 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 511 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 512 | CURRENT_PROJECT_VERSION = 1; 513 | DEFINES_MODULE = YES; 514 | DYLIB_COMPATIBILITY_VERSION = 1; 515 | DYLIB_CURRENT_VERSION = 1; 516 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 517 | INFOPLIST_FILE = "Target Support Files/Pods-Endless_Tests/Pods-Endless_Tests-Info.plist"; 518 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 519 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 520 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 521 | MACH_O_TYPE = staticlib; 522 | MODULEMAP_FILE = "Target Support Files/Pods-Endless_Tests/Pods-Endless_Tests.modulemap"; 523 | OTHER_LDFLAGS = ""; 524 | OTHER_LIBTOOLFLAGS = ""; 525 | PODS_ROOT = "$(SRCROOT)"; 526 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 527 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 528 | SDKROOT = iphoneos; 529 | SKIP_INSTALL = YES; 530 | TARGETED_DEVICE_FAMILY = "1,2"; 531 | VERSIONING_SYSTEM = "apple-generic"; 532 | VERSION_INFO_PREFIX = ""; 533 | }; 534 | name = Debug; 535 | }; 536 | 7E2A1558DEFEC3C1C38B2181BD990A2F /* Release */ = { 537 | isa = XCBuildConfiguration; 538 | baseConfigurationReference = C5EE462A0268AA1F6BAB7C20CAF1D9C9 /* Endless.xcconfig */; 539 | buildSettings = { 540 | CODE_SIGN_IDENTITY = ""; 541 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 542 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 543 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 544 | CURRENT_PROJECT_VERSION = 1; 545 | DEFINES_MODULE = YES; 546 | DYLIB_COMPATIBILITY_VERSION = 1; 547 | DYLIB_CURRENT_VERSION = 1; 548 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 549 | GCC_PREFIX_HEADER = "Target Support Files/Endless/Endless-prefix.pch"; 550 | INFOPLIST_FILE = "Target Support Files/Endless/Endless-Info.plist"; 551 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 552 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 553 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 554 | MODULEMAP_FILE = "Target Support Files/Endless/Endless.modulemap"; 555 | PRODUCT_MODULE_NAME = Endless; 556 | PRODUCT_NAME = Endless; 557 | SDKROOT = iphoneos; 558 | SKIP_INSTALL = YES; 559 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 560 | SWIFT_VERSION = 4.0; 561 | TARGETED_DEVICE_FAMILY = "1,2"; 562 | VALIDATE_PRODUCT = YES; 563 | VERSIONING_SYSTEM = "apple-generic"; 564 | VERSION_INFO_PREFIX = ""; 565 | }; 566 | name = Release; 567 | }; 568 | AB4D69770D8ACE3A05E80BB3502666F6 /* Debug */ = { 569 | isa = XCBuildConfiguration; 570 | buildSettings = { 571 | ALWAYS_SEARCH_USER_PATHS = NO; 572 | CLANG_ANALYZER_NONNULL = YES; 573 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 574 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 575 | CLANG_CXX_LIBRARY = "libc++"; 576 | CLANG_ENABLE_MODULES = YES; 577 | CLANG_ENABLE_OBJC_ARC = YES; 578 | CLANG_ENABLE_OBJC_WEAK = YES; 579 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 580 | CLANG_WARN_BOOL_CONVERSION = YES; 581 | CLANG_WARN_COMMA = YES; 582 | CLANG_WARN_CONSTANT_CONVERSION = YES; 583 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 584 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 585 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 586 | CLANG_WARN_EMPTY_BODY = YES; 587 | CLANG_WARN_ENUM_CONVERSION = YES; 588 | CLANG_WARN_INFINITE_RECURSION = YES; 589 | CLANG_WARN_INT_CONVERSION = YES; 590 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 591 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 592 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 593 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 594 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 595 | CLANG_WARN_STRICT_PROTOTYPES = YES; 596 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 597 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 598 | CLANG_WARN_UNREACHABLE_CODE = YES; 599 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 600 | COPY_PHASE_STRIP = NO; 601 | DEBUG_INFORMATION_FORMAT = dwarf; 602 | ENABLE_STRICT_OBJC_MSGSEND = YES; 603 | ENABLE_TESTABILITY = YES; 604 | GCC_C_LANGUAGE_STANDARD = gnu11; 605 | GCC_DYNAMIC_NO_PIC = NO; 606 | GCC_NO_COMMON_BLOCKS = YES; 607 | GCC_OPTIMIZATION_LEVEL = 0; 608 | GCC_PREPROCESSOR_DEFINITIONS = ( 609 | "POD_CONFIGURATION_DEBUG=1", 610 | "DEBUG=1", 611 | "$(inherited)", 612 | ); 613 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 614 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 615 | GCC_WARN_UNDECLARED_SELECTOR = YES; 616 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 617 | GCC_WARN_UNUSED_FUNCTION = YES; 618 | GCC_WARN_UNUSED_VARIABLE = YES; 619 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 620 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 621 | MTL_FAST_MATH = YES; 622 | ONLY_ACTIVE_ARCH = YES; 623 | PRODUCT_NAME = "$(TARGET_NAME)"; 624 | STRIP_INSTALLED_PRODUCT = NO; 625 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 626 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 627 | SWIFT_VERSION = 4.2; 628 | SYMROOT = "${SRCROOT}/../build"; 629 | }; 630 | name = Debug; 631 | }; 632 | D589200B28619AA23C403E63A6A75D8C /* Debug */ = { 633 | isa = XCBuildConfiguration; 634 | baseConfigurationReference = FE5E7F680683D33B69D2F581210A8DA2 /* Pods-Endless_Example.debug.xcconfig */; 635 | buildSettings = { 636 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 637 | CODE_SIGN_IDENTITY = ""; 638 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 639 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 640 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 641 | CURRENT_PROJECT_VERSION = 1; 642 | DEFINES_MODULE = YES; 643 | DYLIB_COMPATIBILITY_VERSION = 1; 644 | DYLIB_CURRENT_VERSION = 1; 645 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 646 | INFOPLIST_FILE = "Target Support Files/Pods-Endless_Example/Pods-Endless_Example-Info.plist"; 647 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 648 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 649 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 650 | MACH_O_TYPE = staticlib; 651 | MODULEMAP_FILE = "Target Support Files/Pods-Endless_Example/Pods-Endless_Example.modulemap"; 652 | OTHER_LDFLAGS = ""; 653 | OTHER_LIBTOOLFLAGS = ""; 654 | PODS_ROOT = "$(SRCROOT)"; 655 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 656 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 657 | SDKROOT = iphoneos; 658 | SKIP_INSTALL = YES; 659 | TARGETED_DEVICE_FAMILY = "1,2"; 660 | VERSIONING_SYSTEM = "apple-generic"; 661 | VERSION_INFO_PREFIX = ""; 662 | }; 663 | name = Debug; 664 | }; 665 | DF4D8130DDF5CBEBF29DBE7B7D172CF1 /* Debug */ = { 666 | isa = XCBuildConfiguration; 667 | baseConfigurationReference = C5EE462A0268AA1F6BAB7C20CAF1D9C9 /* Endless.xcconfig */; 668 | buildSettings = { 669 | CODE_SIGN_IDENTITY = ""; 670 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 671 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 672 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 673 | CURRENT_PROJECT_VERSION = 1; 674 | DEFINES_MODULE = YES; 675 | DYLIB_COMPATIBILITY_VERSION = 1; 676 | DYLIB_CURRENT_VERSION = 1; 677 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 678 | GCC_PREFIX_HEADER = "Target Support Files/Endless/Endless-prefix.pch"; 679 | INFOPLIST_FILE = "Target Support Files/Endless/Endless-Info.plist"; 680 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 681 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 682 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 683 | MODULEMAP_FILE = "Target Support Files/Endless/Endless.modulemap"; 684 | PRODUCT_MODULE_NAME = Endless; 685 | PRODUCT_NAME = Endless; 686 | SDKROOT = iphoneos; 687 | SKIP_INSTALL = YES; 688 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 689 | SWIFT_VERSION = 4.0; 690 | TARGETED_DEVICE_FAMILY = "1,2"; 691 | VERSIONING_SYSTEM = "apple-generic"; 692 | VERSION_INFO_PREFIX = ""; 693 | }; 694 | name = Debug; 695 | }; 696 | F232B5ECA11A71BFA199A229B323F454 /* Release */ = { 697 | isa = XCBuildConfiguration; 698 | buildSettings = { 699 | ALWAYS_SEARCH_USER_PATHS = NO; 700 | CLANG_ANALYZER_NONNULL = YES; 701 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 702 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 703 | CLANG_CXX_LIBRARY = "libc++"; 704 | CLANG_ENABLE_MODULES = YES; 705 | CLANG_ENABLE_OBJC_ARC = YES; 706 | CLANG_ENABLE_OBJC_WEAK = YES; 707 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 708 | CLANG_WARN_BOOL_CONVERSION = YES; 709 | CLANG_WARN_COMMA = YES; 710 | CLANG_WARN_CONSTANT_CONVERSION = YES; 711 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 712 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 713 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 714 | CLANG_WARN_EMPTY_BODY = YES; 715 | CLANG_WARN_ENUM_CONVERSION = YES; 716 | CLANG_WARN_INFINITE_RECURSION = YES; 717 | CLANG_WARN_INT_CONVERSION = YES; 718 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 719 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 720 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 721 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 722 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 723 | CLANG_WARN_STRICT_PROTOTYPES = YES; 724 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 725 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 726 | CLANG_WARN_UNREACHABLE_CODE = YES; 727 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 728 | COPY_PHASE_STRIP = NO; 729 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 730 | ENABLE_NS_ASSERTIONS = NO; 731 | ENABLE_STRICT_OBJC_MSGSEND = YES; 732 | GCC_C_LANGUAGE_STANDARD = gnu11; 733 | GCC_NO_COMMON_BLOCKS = YES; 734 | GCC_PREPROCESSOR_DEFINITIONS = ( 735 | "POD_CONFIGURATION_RELEASE=1", 736 | "$(inherited)", 737 | ); 738 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 739 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 740 | GCC_WARN_UNDECLARED_SELECTOR = YES; 741 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 742 | GCC_WARN_UNUSED_FUNCTION = YES; 743 | GCC_WARN_UNUSED_VARIABLE = YES; 744 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 745 | MTL_ENABLE_DEBUG_INFO = NO; 746 | MTL_FAST_MATH = YES; 747 | PRODUCT_NAME = "$(TARGET_NAME)"; 748 | STRIP_INSTALLED_PRODUCT = NO; 749 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 750 | SWIFT_VERSION = 4.2; 751 | SYMROOT = "${SRCROOT}/../build"; 752 | }; 753 | name = Release; 754 | }; 755 | F2ED6120F29EE30C7FBA9AAE8FD398CA /* Release */ = { 756 | isa = XCBuildConfiguration; 757 | baseConfigurationReference = 1806796D17E1E0095353E06B2E709E84 /* Pods-Endless_Example.release.xcconfig */; 758 | buildSettings = { 759 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 760 | CODE_SIGN_IDENTITY = ""; 761 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 762 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 763 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 764 | CURRENT_PROJECT_VERSION = 1; 765 | DEFINES_MODULE = YES; 766 | DYLIB_COMPATIBILITY_VERSION = 1; 767 | DYLIB_CURRENT_VERSION = 1; 768 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 769 | INFOPLIST_FILE = "Target Support Files/Pods-Endless_Example/Pods-Endless_Example-Info.plist"; 770 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 771 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 772 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 773 | MACH_O_TYPE = staticlib; 774 | MODULEMAP_FILE = "Target Support Files/Pods-Endless_Example/Pods-Endless_Example.modulemap"; 775 | OTHER_LDFLAGS = ""; 776 | OTHER_LIBTOOLFLAGS = ""; 777 | PODS_ROOT = "$(SRCROOT)"; 778 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 779 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 780 | SDKROOT = iphoneos; 781 | SKIP_INSTALL = YES; 782 | TARGETED_DEVICE_FAMILY = "1,2"; 783 | VALIDATE_PRODUCT = YES; 784 | VERSIONING_SYSTEM = "apple-generic"; 785 | VERSION_INFO_PREFIX = ""; 786 | }; 787 | name = Release; 788 | }; 789 | /* End XCBuildConfiguration section */ 790 | 791 | /* Begin XCConfigurationList section */ 792 | 22173DFAE4AC14580565483EDCB75AE0 /* Build configuration list for PBXNativeTarget "Pods-Endless_Example" */ = { 793 | isa = XCConfigurationList; 794 | buildConfigurations = ( 795 | D589200B28619AA23C403E63A6A75D8C /* Debug */, 796 | F2ED6120F29EE30C7FBA9AAE8FD398CA /* Release */, 797 | ); 798 | defaultConfigurationIsVisible = 0; 799 | defaultConfigurationName = Release; 800 | }; 801 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 802 | isa = XCConfigurationList; 803 | buildConfigurations = ( 804 | AB4D69770D8ACE3A05E80BB3502666F6 /* Debug */, 805 | F232B5ECA11A71BFA199A229B323F454 /* Release */, 806 | ); 807 | defaultConfigurationIsVisible = 0; 808 | defaultConfigurationName = Release; 809 | }; 810 | E3AC95614B36FF1DF15D100DC13AF5C7 /* Build configuration list for PBXNativeTarget "Pods-Endless_Tests" */ = { 811 | isa = XCConfigurationList; 812 | buildConfigurations = ( 813 | 65C163C8437F4B010A60A544DA3625CB /* Debug */, 814 | 64614036EEE28CDD5392903B2469CE33 /* Release */, 815 | ); 816 | defaultConfigurationIsVisible = 0; 817 | defaultConfigurationName = Release; 818 | }; 819 | F379566BFF376080EFBE1CCB08EE0D54 /* Build configuration list for PBXNativeTarget "Endless" */ = { 820 | isa = XCConfigurationList; 821 | buildConfigurations = ( 822 | DF4D8130DDF5CBEBF29DBE7B7D172CF1 /* Debug */, 823 | 7E2A1558DEFEC3C1C38B2181BD990A2F /* Release */, 824 | ); 825 | defaultConfigurationIsVisible = 0; 826 | defaultConfigurationName = Release; 827 | }; 828 | /* End XCConfigurationList section */ 829 | }; 830 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 831 | } 832 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Endless/Endless-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Endless/Endless-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Endless : NSObject 3 | @end 4 | @implementation PodsDummy_Endless 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Endless/Endless-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Endless/Endless-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double EndlessVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char EndlessVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Endless/Endless.modulemap: -------------------------------------------------------------------------------- 1 | framework module Endless { 2 | umbrella header "Endless-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Endless/Endless.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Endless 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Endless_Example/Pods-Endless_Example-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Endless_Example/Pods-Endless_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## Endless 5 | 6 | Copyright (c) 2019 self.dealloc@protonmail.com 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Endless_Example/Pods-Endless_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2019 self.dealloc@protonmail.com <self.dealloc@googlemail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | Endless 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Endless_Example/Pods-Endless_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Endless_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Endless_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Endless_Example/Pods-Endless_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | 23 | # Used as a return value for each invocation of `strip_invalid_archs` function. 24 | STRIP_BINARY_RETVAL=0 25 | 26 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 27 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 28 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 29 | 30 | # Copies and strips a vendored framework 31 | install_framework() 32 | { 33 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 34 | local source="${BUILT_PRODUCTS_DIR}/$1" 35 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 36 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 37 | elif [ -r "$1" ]; then 38 | local source="$1" 39 | fi 40 | 41 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 42 | 43 | if [ -L "${source}" ]; then 44 | echo "Symlinked..." 45 | source="$(readlink "${source}")" 46 | fi 47 | 48 | # Use filter instead of exclude so missing patterns don't throw errors. 49 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 50 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 51 | 52 | local basename 53 | basename="$(basename -s .framework "$1")" 54 | binary="${destination}/${basename}.framework/${basename}" 55 | 56 | if ! [ -r "$binary" ]; then 57 | binary="${destination}/${basename}" 58 | elif [ -L "${binary}" ]; then 59 | echo "Destination binary is symlinked..." 60 | dirname="$(dirname "${binary}")" 61 | binary="${dirname}/$(readlink "${binary}")" 62 | fi 63 | 64 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 65 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 66 | strip_invalid_archs "$binary" 67 | fi 68 | 69 | # Resign the code if required by the build settings to avoid unstable apps 70 | code_sign_if_enabled "${destination}/$(basename "$1")" 71 | 72 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 73 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 74 | local swift_runtime_libs 75 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 76 | for lib in $swift_runtime_libs; do 77 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 78 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 79 | code_sign_if_enabled "${destination}/${lib}" 80 | done 81 | fi 82 | } 83 | 84 | # Copies and strips a vendored dSYM 85 | install_dsym() { 86 | local source="$1" 87 | if [ -r "$source" ]; then 88 | # Copy the dSYM into a the targets temp dir. 89 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 90 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 91 | 92 | local basename 93 | basename="$(basename -s .framework.dSYM "$source")" 94 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 95 | 96 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 97 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 98 | strip_invalid_archs "$binary" 99 | fi 100 | 101 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 102 | # Move the stripped file into its final destination. 103 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 104 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 105 | else 106 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 107 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 108 | fi 109 | fi 110 | } 111 | 112 | # Signs a framework with the provided identity 113 | code_sign_if_enabled() { 114 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 115 | # Use the current code_sign_identity 116 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 117 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 118 | 119 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 120 | code_sign_cmd="$code_sign_cmd &" 121 | fi 122 | echo "$code_sign_cmd" 123 | eval "$code_sign_cmd" 124 | fi 125 | } 126 | 127 | # Strip invalid architectures 128 | strip_invalid_archs() { 129 | binary="$1" 130 | # Get architectures for current target binary 131 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 132 | # Intersect them with the architectures we are building for 133 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 134 | # If there are no archs supported by this binary then warn the user 135 | if [[ -z "$intersected_archs" ]]; then 136 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 137 | STRIP_BINARY_RETVAL=0 138 | return 139 | fi 140 | stripped="" 141 | for arch in $binary_archs; do 142 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 143 | # Strip non-valid architectures in-place 144 | lipo -remove "$arch" -output "$binary" "$binary" 145 | stripped="$stripped $arch" 146 | fi 147 | done 148 | if [[ "$stripped" ]]; then 149 | echo "Stripped $binary of architectures:$stripped" 150 | fi 151 | STRIP_BINARY_RETVAL=1 152 | } 153 | 154 | 155 | if [[ "$CONFIGURATION" == "Debug" ]]; then 156 | install_framework "${BUILT_PRODUCTS_DIR}/Endless/Endless.framework" 157 | fi 158 | if [[ "$CONFIGURATION" == "Release" ]]; then 159 | install_framework "${BUILT_PRODUCTS_DIR}/Endless/Endless.framework" 160 | fi 161 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 162 | wait 163 | fi 164 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Endless_Example/Pods-Endless_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_Endless_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_Endless_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Endless_Example/Pods-Endless_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Endless" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Endless/Endless.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "Endless" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Endless_Example/Pods-Endless_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_Endless_Example { 2 | umbrella header "Pods-Endless_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Endless_Example/Pods-Endless_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Endless" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Endless/Endless.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "Endless" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Endless_Tests/Pods-Endless_Tests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Endless_Tests/Pods-Endless_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Endless_Tests/Pods-Endless_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Endless_Tests/Pods-Endless_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Endless_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Endless_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Endless_Tests/Pods-Endless_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_Endless_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_Endless_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Endless_Tests/Pods-Endless_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Endless" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Endless/Endless.framework/Headers" 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_LDFLAGS = $(inherited) -framework "Endless" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Endless_Tests/Pods-Endless_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_Endless_Tests { 2 | umbrella header "Pods-Endless_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Endless_Tests/Pods-Endless_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Endless" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Endless/Endless.framework/Headers" 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_LDFLAGS = $(inherited) -framework "Endless" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | 3 | class Tests: XCTestCase { 4 | 5 | override func setUp() { 6 | super.setUp() 7 | // Put setup code here. This method is called before the invocation of each test method in the class. 8 | } 9 | 10 | override func tearDown() { 11 | // Put teardown code here. This method is called after the invocation of each test method in the class. 12 | super.tearDown() 13 | } 14 | 15 | func testExample() { 16 | // This is an example of a functional test case. 17 | XCTAssert(true, "Pass") 18 | } 19 | 20 | func testPerformanceExample() { 21 | // This is an example of a performance test case. 22 | self.measure() { 23 | // Put the code you want to measure the time of here. 24 | } 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /Github/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Endless/a425c9a83c9124f68012cb363ef27d9ff6d87baf/Github/banner.png -------------------------------------------------------------------------------- /Github/banner.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Endless/a425c9a83c9124f68012cb363ef27d9ff6d87baf/Github/banner.psd -------------------------------------------------------------------------------- /Github/indicator.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Endless/a425c9a83c9124f68012cb363ef27d9ff6d87baf/Github/indicator.gif -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2019 self.dealloc@protonmail.com 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Endless 2 | 3 | Endless is a lighweight endless page indicator based on UICollectionView and CAShapeLayers. 4 | 5 | ![Endless: Airbnb or Instragram like Page Indicator](https://github.com/SebastianBoldt/Endless/blob/master/Github/banner.png?raw=true) 6 | 7 | current version 8 | current version 9 | twitter handle 10 | Swift 4.2 compatible 11 | platform 12 | carthage support 13 | license 14 | 15 | ## How to use 16 |

17 | 19 | 20 | 21 | Create an Endless-Indicator in your storyboard or code without a width or height constraint. 22 | 'Endless' will calculate its intrinsic size at runtime for you. You just need to set the origin. 23 | 24 | ```swift 25 | class ViewController: UIViewController { 26 | @IBOutlet weak private var indicator: Endless.Indicator! 27 | 28 | override func viewDidLoad() { 29 | super.viewDidLoad() 30 | let configuration = Endless.Configuration(numberOfDots: 20, 31 | maxNumberOfDots: .seven, 32 | selectedDotColor: .darkGray, 33 | unselectedDotColor: .lightGray, 34 | dotSize: 10, 35 | spacing: 10) 36 | indicator?.setup(with: configuration) 37 | } 38 | } 39 | ``` 40 | 41 | ## Example 42 | 43 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 44 | 45 | ## Installation 46 | 47 | Endless is available through CocoaPods. To install it, simply add the following line to your Podfile: 48 | 49 | ```ruby 50 | pod 'Endless' 51 | ``` 52 | 53 | ## Author 54 | 55 | Sebastian Boldt 56 | 57 | www.sebastianboldt.com 58 | 59 | ## License 60 | 61 | Endless is available under the MIT license. See the LICENSE file for more info. 62 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------