[
  {
    "path": ".gitignore",
    "content": "# OS X\n.DS_Store\n\n# Xcode\n#\n# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore\n\n## Build generated\nbuild/\nDerivedData/\n\n## Various settings\n*.pbxuser\n!default.pbxuser\n*.mode1v3\n!default.mode1v3\n*.mode2v3\n!default.mode2v3\n*.perspectivev3\n!default.perspectivev3\nxcuserdata/\n\n## Other\n*.moved-aside\n*.xccheckout\n*.xcscmblueprint\n\n## Obj-C/Swift specific\n*.hmap\n*.ipa\n*.dSYM.zip\n*.dSYM\n\n## Playgrounds\ntimeline.xctimeline\nplayground.xcworkspace\n\n# Swift Package Manager\n#\n# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.\n# Packages/\n# Package.pins\n.build/\n\n# CocoaPods\n#\n# We recommend against adding the Pods directory to your .gitignore. However\n# you should judge for yourself, the pros and cons are mentioned at:\n# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control\n#\nPods/"
  },
  {
    "path": ".travis.yml",
    "content": "os: osx\nosx_image: xcode13.1\nlanguage: objective-c\n\nbefore_deploy:\n- gem install cocoapods\n- pod repo add-cdn trunk 'https://cdn.cocoapods.org/'\n\ndeploy:\n  provider: script\n  script: ./scripts/deploy.sh\n  on:\n    tags: true\n\nscript:\n  - set -o pipefail && xcodebuild -scheme CampcotCollectionView -workspace CampcotCollectionView.xcworkspace -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 13,OS=15.0' build test | xcpretty --color\n  - pod lib lint\n\nafter_success:\n  - bash <(curl -s https://codecov.io/bash)\n"
  },
  {
    "path": "CHANGELOG.md",
    "content": "# Changelog for CampcotCollectionView 0.0.8\n### Added\n* Optional `isExpanded` parameter to `CampcotCollectionView` initializer.\n\n# Changelog for CampcotCollectionView 0.0.7\n### Fixed\n* Fixed crash with storyboard implementation.\n\n### Added\n* Storyboard support.\n* Properties in `Attributes Inspector` for `CampcotCollectionView`.\n* Example for storyboard implementation.\n\n# Changelog for CampcotCollectionView 0.0.6\n### Added\n* `contentSizeAdjustmentBehavior` property allows to manage content size calculation.\n\n# Changelog for CampcotCollectionView 0.0.5\n### Added\n* Layout supports more than 2 items in row.\n\n### Fixed\n* Fixed bug with pinned header position when `contentInset.top` is bigger than section height.\n\n# Changelog for CampcotCollectionView 0.0.4\n### Changed\n* Updates for Swift 5.0\n\n# Changelog for CampcotCollectionView 0.0.2\n### Added\n* Example UI update.\n\n# Changelog for CampcotCollectionView 0.0.1\n### Added\n* Initial setup.\n"
  },
  {
    "path": "CODEOWNERS",
    "content": "* @VadzimMarozau"
  },
  {
    "path": "CampcotCollectionView.podspec",
    "content": "Pod::Spec.new do |s|\n  s.name             = 'CampcotCollectionView'\n  s.version          = '0.0.8'\n  s.summary          = 'CapmcotCollectionView is custom UICollectionView that allows to expand and collapse sections.'\n  s.description      = 'This library provides a custom UICollectionView that allows to expand and collapse sections.'   \\\n                       'It provides a simple API to manage collection view appearance.'\n  s.homepage         = 'https://github.com/touchlane/CampcotCollectionView'\n  s.license          = { :type => 'MIT', :file => 'LICENSE' }\n  s.author           = { 'Touchlane LLC' => 'tech@touchlane.com' }\n  s.source           = { :git => 'https://github.com/touchlane/CampcotCollectionView.git', :tag => s.version.to_s }\n  s.ios.deployment_target = '9.0'\n  s.source_files = 'Source/*.swift'\n  s.swift_versions = ['5.0']\nend\n"
  },
  {
    "path": "CampcotCollectionView.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 48;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\tDD35D937201B57C80049ED03 /* CampcotCollectionView.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD35D92D201B57C80049ED03 /* CampcotCollectionView.framework */; };\n\t\tDD35D93C201B57C80049ED03 /* CampcotCollectionViewTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD35D93B201B57C80049ED03 /* CampcotCollectionViewTests.swift */; };\n\t\tDD35D93E201B57C80049ED03 /* CampcotCollectionView.h in Headers */ = {isa = PBXBuildFile; fileRef = DD35D930201B57C80049ED03 /* CampcotCollectionView.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\tDD35D94A201B5E280049ED03 /* ExpandedLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD35D949201B5E280049ED03 /* ExpandedLayout.swift */; };\n\t\tDD35D98A201B66B40049ED03 /* LICENSE in Resources */ = {isa = PBXBuildFile; fileRef = DD35D987201B66B40049ED03 /* LICENSE */; };\n\t\tDD35D98B201B66B40049ED03 /* CampcotCollectionView.podspec in Resources */ = {isa = PBXBuildFile; fileRef = DD35D988201B66B40049ED03 /* CampcotCollectionView.podspec */; };\n\t\tDD35D98C201B66B40049ED03 /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = DD35D989201B66B40049ED03 /* README.md */; };\n\t\tDDC6199F2369C68100B6981E /* ContentSizeAdjustmentBehavior.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDC6199E2369C68100B6981E /* ContentSizeAdjustmentBehavior.swift */; };\n\t\tDDFB5C80201F451E00F8E164 /* CollapsedLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDFB5C7F201F451E00F8E164 /* CollapsedLayout.swift */; };\n\t\tDDFB5C82201F522B00F8E164 /* CampcotCollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDFB5C81201F522B00F8E164 /* CampcotCollectionView.swift */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\tDD35D938201B57C80049ED03 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = DD35D924201B57C80049ED03 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = DD35D92C201B57C80049ED03;\n\t\t\tremoteInfo = ExpandableLayout;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXFileReference section */\n\t\tDD35D92D201B57C80049ED03 /* CampcotCollectionView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CampcotCollectionView.framework; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tDD35D930201B57C80049ED03 /* CampcotCollectionView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CampcotCollectionView.h; sourceTree = \"<group>\"; };\n\t\tDD35D931201B57C80049ED03 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\tDD35D936201B57C80049ED03 /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tDD35D93B201B57C80049ED03 /* CampcotCollectionViewTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CampcotCollectionViewTests.swift; sourceTree = \"<group>\"; };\n\t\tDD35D93D201B57C80049ED03 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\tDD35D949201B5E280049ED03 /* ExpandedLayout.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExpandedLayout.swift; sourceTree = \"<group>\"; };\n\t\tDD35D987201B66B40049ED03 /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE; sourceTree = \"<group>\"; };\n\t\tDD35D988201B66B40049ED03 /* CampcotCollectionView.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CampcotCollectionView.podspec; sourceTree = \"<group>\"; };\n\t\tDD35D989201B66B40049ED03 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = \"<group>\"; tabWidth = 3; };\n\t\tDDC6199E2369C68100B6981E /* ContentSizeAdjustmentBehavior.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentSizeAdjustmentBehavior.swift; sourceTree = \"<group>\"; };\n\t\tDDFB5C7F201F451E00F8E164 /* CollapsedLayout.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CollapsedLayout.swift; sourceTree = \"<group>\"; };\n\t\tDDFB5C81201F522B00F8E164 /* CampcotCollectionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CampcotCollectionView.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\tDD35D929201B57C80049ED03 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tDD35D933201B57C80049ED03 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tDD35D937201B57C80049ED03 /* CampcotCollectionView.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\tDD35D923201B57C80049ED03 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDD35D986201B66A00049ED03 /* Metadata */,\n\t\t\t\tDD35D947201B58910049ED03 /* Source */,\n\t\t\t\tDD35D93A201B57C80049ED03 /* Tests */,\n\t\t\t\tDD35D92E201B57C80049ED03 /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tDD35D92E201B57C80049ED03 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDD35D92D201B57C80049ED03 /* CampcotCollectionView.framework */,\n\t\t\t\tDD35D936201B57C80049ED03 /* Tests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tDD35D92F201B57C80049ED03 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDD35D930201B57C80049ED03 /* CampcotCollectionView.h */,\n\t\t\t\tDD35D931201B57C80049ED03 /* Info.plist */,\n\t\t\t);\n\t\t\tpath = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tDD35D93A201B57C80049ED03 /* Tests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDD35D93B201B57C80049ED03 /* CampcotCollectionViewTests.swift */,\n\t\t\t\tDD35D948201B59420049ED03 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = Tests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tDD35D947201B58910049ED03 /* Source */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDD35D92F201B57C80049ED03 /* Supporting Files */,\n\t\t\t\tDDFB5C81201F522B00F8E164 /* CampcotCollectionView.swift */,\n\t\t\t\tDD35D949201B5E280049ED03 /* ExpandedLayout.swift */,\n\t\t\t\tDDFB5C7F201F451E00F8E164 /* CollapsedLayout.swift */,\n\t\t\t\tDDC6199E2369C68100B6981E /* ContentSizeAdjustmentBehavior.swift */,\n\t\t\t);\n\t\t\tpath = Source;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tDD35D948201B59420049ED03 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDD35D93D201B57C80049ED03 /* Info.plist */,\n\t\t\t);\n\t\t\tpath = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tDD35D986201B66A00049ED03 /* Metadata */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDD35D987201B66B40049ED03 /* LICENSE */,\n\t\t\t\tDD35D989201B66B40049ED03 /* README.md */,\n\t\t\t\tDD35D988201B66B40049ED03 /* CampcotCollectionView.podspec */,\n\t\t\t);\n\t\t\tname = Metadata;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXHeadersBuildPhase section */\n\t\tDD35D92A201B57C80049ED03 /* Headers */ = {\n\t\t\tisa = PBXHeadersBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tDD35D93E201B57C80049ED03 /* CampcotCollectionView.h in Headers */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXHeadersBuildPhase section */\n\n/* Begin PBXNativeTarget section */\n\t\tDD35D92C201B57C80049ED03 /* CampcotCollectionView */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = DD35D941201B57C80049ED03 /* Build configuration list for PBXNativeTarget \"CampcotCollectionView\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tDD35D928201B57C80049ED03 /* Sources */,\n\t\t\t\tDD35D929201B57C80049ED03 /* Frameworks */,\n\t\t\t\tDD35D92A201B57C80049ED03 /* Headers */,\n\t\t\t\tDD35D92B201B57C80049ED03 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = CampcotCollectionView;\n\t\t\tproductName = ExpandableLayout;\n\t\t\tproductReference = DD35D92D201B57C80049ED03 /* CampcotCollectionView.framework */;\n\t\t\tproductType = \"com.apple.product-type.framework\";\n\t\t};\n\t\tDD35D935201B57C80049ED03 /* Tests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = DD35D944201B57C80049ED03 /* Build configuration list for PBXNativeTarget \"Tests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tDD35D932201B57C80049ED03 /* Sources */,\n\t\t\t\tDD35D933201B57C80049ED03 /* Frameworks */,\n\t\t\t\tDD35D934201B57C80049ED03 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\tDD35D939201B57C80049ED03 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = Tests;\n\t\t\tproductName = ExpandableLayoutTests;\n\t\t\tproductReference = DD35D936201B57C80049ED03 /* Tests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.unit-test\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\tDD35D924201B57C80049ED03 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0920;\n\t\t\t\tLastUpgradeCheck = 1010;\n\t\t\t\tORGANIZATIONNAME = \"Touchlane LLC\";\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\tDD35D92C201B57C80049ED03 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 9.2;\n\t\t\t\t\t\tLastSwiftMigration = 1020;\n\t\t\t\t\t\tProvisioningStyle = Automatic;\n\t\t\t\t\t};\n\t\t\t\t\tDD35D935201B57C80049ED03 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 9.2;\n\t\t\t\t\t\tLastSwiftMigration = 1020;\n\t\t\t\t\t\tProvisioningStyle = Automatic;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = DD35D927201B57C80049ED03 /* Build configuration list for PBXProject \"CampcotCollectionView\" */;\n\t\t\tcompatibilityVersion = \"Xcode 8.0\";\n\t\t\tdevelopmentRegion = en;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t);\n\t\t\tmainGroup = DD35D923201B57C80049ED03;\n\t\t\tproductRefGroup = DD35D92E201B57C80049ED03 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\tDD35D92C201B57C80049ED03 /* CampcotCollectionView */,\n\t\t\t\tDD35D935201B57C80049ED03 /* Tests */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\tDD35D92B201B57C80049ED03 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tDD35D98C201B66B40049ED03 /* README.md in Resources */,\n\t\t\t\tDD35D98B201B66B40049ED03 /* CampcotCollectionView.podspec in Resources */,\n\t\t\t\tDD35D98A201B66B40049ED03 /* LICENSE in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tDD35D934201B57C80049ED03 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\tDD35D928201B57C80049ED03 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tDDFB5C82201F522B00F8E164 /* CampcotCollectionView.swift in Sources */,\n\t\t\t\tDD35D94A201B5E280049ED03 /* ExpandedLayout.swift in Sources */,\n\t\t\t\tDDFB5C80201F451E00F8E164 /* CollapsedLayout.swift in Sources */,\n\t\t\t\tDDC6199F2369C68100B6981E /* ContentSizeAdjustmentBehavior.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tDD35D932201B57C80049ED03 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tDD35D93C201B57C80049ED03 /* CampcotCollectionViewTests.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\tDD35D939201B57C80049ED03 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = DD35D92C201B57C80049ED03 /* CampcotCollectionView */;\n\t\t\ttargetProxy = DD35D938201B57C80049ED03 /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin XCBuildConfiguration section */\n\t\tDD35D93F201B57C80049ED03 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++14\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tCURRENT_PROJECT_VERSION = 1;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu11;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 9.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t\tVERSION_INFO_PREFIX = \"\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tDD35D940201B57C80049ED03 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++14\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tCURRENT_PROJECT_VERSION = 1;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu11;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 9.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t\tVERSION_INFO_PREFIX = \"\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tDD35D942201B57C80049ED03 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCODE_SIGN_IDENTITY = \"\";\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tDEFINES_MODULE = YES;\n\t\t\t\tDYLIB_COMPATIBILITY_VERSION = 1;\n\t\t\t\tDYLIB_CURRENT_VERSION = 1;\n\t\t\t\tDYLIB_INSTALL_NAME_BASE = \"@rpath\";\n\t\t\t\tINFOPLIST_FILE = \"Source/Supporting Files/Info.plist\";\n\t\t\t\tINSTALL_PATH = \"$(LOCAL_LIBRARY_DIR)/Frameworks\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 9.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = io.touchlane.CampcotCollectionView;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME:c99extidentifier)\";\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tDD35D943201B57C80049ED03 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCODE_SIGN_IDENTITY = \"\";\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tDEFINES_MODULE = YES;\n\t\t\t\tDYLIB_COMPATIBILITY_VERSION = 1;\n\t\t\t\tDYLIB_CURRENT_VERSION = 1;\n\t\t\t\tDYLIB_INSTALL_NAME_BASE = \"@rpath\";\n\t\t\t\tINFOPLIST_FILE = \"Source/Supporting Files/Info.plist\";\n\t\t\t\tINSTALL_PATH = \"$(LOCAL_LIBRARY_DIR)/Frameworks\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 9.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = io.touchlane.CampcotCollectionView;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME:c99extidentifier)\";\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tDD35D945201B57C80049ED03 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tINFOPLIST_FILE = \"Tests/Supporting Files/Info.plist\";\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = io.touchlane.CampcotCollectionViewTests;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tDD35D946201B57C80049ED03 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tINFOPLIST_FILE = \"Tests/Supporting Files/Info.plist\";\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = io.touchlane.CampcotCollectionViewTests;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\tDD35D927201B57C80049ED03 /* Build configuration list for PBXProject \"CampcotCollectionView\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tDD35D93F201B57C80049ED03 /* Debug */,\n\t\t\t\tDD35D940201B57C80049ED03 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\tDD35D941201B57C80049ED03 /* Build configuration list for PBXNativeTarget \"CampcotCollectionView\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tDD35D942201B57C80049ED03 /* Debug */,\n\t\t\t\tDD35D943201B57C80049ED03 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\tDD35D944201B57C80049ED03 /* Build configuration list for PBXNativeTarget \"Tests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tDD35D945201B57C80049ED03 /* Debug */,\n\t\t\t\tDD35D946201B57C80049ED03 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = DD35D924201B57C80049ED03 /* Project object */;\n}\n"
  },
  {
    "path": "CampcotCollectionView.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:ExpandableLayout.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "CampcotCollectionView.xcodeproj/xcshareddata/xcschemes/CampcotCollectionView.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"1010\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"DD35D92C201B57C80049ED03\"\n               BuildableName = \"CampcotCollectionView.framework\"\n               BlueprintName = \"CampcotCollectionView\"\n               ReferencedContainer = \"container:CampcotCollectionView.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"NO\"\n            buildForProfiling = \"NO\"\n            buildForArchiving = \"NO\"\n            buildForAnalyzing = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"DD35D935201B57C80049ED03\"\n               BuildableName = \"Tests.xctest\"\n               BlueprintName = \"Tests\"\n               ReferencedContainer = \"container:CampcotCollectionView.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      codeCoverageEnabled = \"YES\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"DD35D935201B57C80049ED03\"\n               BuildableName = \"Tests.xctest\"\n               BlueprintName = \"Tests\"\n               ReferencedContainer = \"container:CampcotCollectionView.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"DD35D92C201B57C80049ED03\"\n            BuildableName = \"CampcotCollectionView.framework\"\n            BlueprintName = \"CampcotCollectionView\"\n            ReferencedContainer = \"container:CampcotCollectionView.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"DD35D92C201B57C80049ED03\"\n            BuildableName = \"CampcotCollectionView.framework\"\n            BlueprintName = \"CampcotCollectionView\"\n            ReferencedContainer = \"container:CampcotCollectionView.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"DD35D92C201B57C80049ED03\"\n            BuildableName = \"CampcotCollectionView.framework\"\n            BlueprintName = \"CampcotCollectionView\"\n            ReferencedContainer = \"container:CampcotCollectionView.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "CampcotCollectionView.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"group:Example/Example.xcodeproj\">\n   </FileRef>\n   <FileRef\n      location = \"container:CampcotCollectionView.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "CampcotCollectionView.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "CampcotCollectionView.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict/>\n</plist>\n"
  },
  {
    "path": "Example/Example.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 48;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t86EB284F203DE4920052BFA2 /* Launch Screen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 86EB284D203DE4920052BFA2 /* Launch Screen.storyboard */; };\n\t\tA3B228A923ED503D00757A28 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A3B228A823ED503D00757A28 /* Main.storyboard */; };\n\t\tA3B228AC23ED525100757A28 /* StoryboardViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3B228AB23ED525100757A28 /* StoryboardViewController.swift */; };\n\t\tDD35D958201B5F390049ED03 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD35D957201B5F390049ED03 /* AppDelegate.swift */; };\n\t\tDD35D95A201B5F390049ED03 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD35D959201B5F390049ED03 /* ViewController.swift */; };\n\t\tDD35D95F201B5F390049ED03 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DD35D95E201B5F390049ED03 /* Images.xcassets */; };\n\t\tDD35D980201B63F70049ED03 /* CustomHeaderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD35D97E201B63F70049ED03 /* CustomHeaderView.swift */; };\n\t\tDD35D981201B63F70049ED03 /* CustomCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD35D97F201B63F70049ED03 /* CustomCollectionViewCell.swift */; };\n\t\tDDFB5C7A201F36BC00F8E164 /* CampcotCollectionView.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = DDFB5C75201F367A00F8E164 /* CampcotCollectionView.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\tDDFB5C74201F367A00F8E164 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = DD35D96E201B62BA0049ED03 /* CampcotCollectionView.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = DD35D92D201B57C80049ED03;\n\t\t\tremoteInfo = CampcotCollectionView;\n\t\t};\n\t\tDDFB5C76201F367A00F8E164 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = DD35D96E201B62BA0049ED03 /* CampcotCollectionView.xcodeproj */;\n\t\t\tproxyType = 2;\n\t\t\tremoteGlobalIDString = DD35D936201B57C80049ED03;\n\t\t\tremoteInfo = Tests;\n\t\t};\n\t\tDDFB5C78201F36B400F8E164 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = DD35D96E201B62BA0049ED03 /* CampcotCollectionView.xcodeproj */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = DD35D92C201B57C80049ED03;\n\t\t\tremoteInfo = CampcotCollectionView;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXCopyFilesBuildPhase section */\n\t\tDD35D979201B62CE0049ED03 /* Copy Frameworks */ = {\n\t\t\tisa = PBXCopyFilesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tdstPath = \"\";\n\t\t\tdstSubfolderSpec = 10;\n\t\t\tfiles = (\n\t\t\t\tDDFB5C7A201F36BC00F8E164 /* CampcotCollectionView.framework in Copy Frameworks */,\n\t\t\t);\n\t\t\tname = \"Copy Frameworks\";\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXCopyFilesBuildPhase section */\n\n/* Begin PBXFileReference section */\n\t\t86EB284D203DE4920052BFA2 /* Launch Screen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = \"Launch Screen.storyboard\"; sourceTree = \"<group>\"; };\n\t\tA3B228A823ED503D00757A28 /* Main.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = \"<group>\"; };\n\t\tA3B228AB23ED525100757A28 /* StoryboardViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StoryboardViewController.swift; sourceTree = \"<group>\"; };\n\t\tDD35D954201B5F390049ED03 /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tDD35D957201B5F390049ED03 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\tDD35D959201B5F390049ED03 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\tDD35D95E201B5F390049ED03 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = \"<group>\"; };\n\t\tDD35D963201B5F390049ED03 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\tDD35D96E201B62BA0049ED03 /* CampcotCollectionView.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = \"wrapper.pb-project\"; name = CampcotCollectionView.xcodeproj; path = ../CampcotCollectionView.xcodeproj; sourceTree = \"<group>\"; };\n\t\tDD35D97E201B63F70049ED03 /* CustomHeaderView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CustomHeaderView.swift; sourceTree = \"<group>\"; };\n\t\tDD35D97F201B63F70049ED03 /* CustomCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CustomCollectionViewCell.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\tDD35D951201B5F390049ED03 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\tDD35D94B201B5F390049ED03 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDD35D956201B5F390049ED03 /* Source */,\n\t\t\t\tDD35D955201B5F390049ED03 /* Products */,\n\t\t\t\tDD35D96E201B62BA0049ED03 /* CampcotCollectionView.xcodeproj */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tDD35D955201B5F390049ED03 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDD35D954201B5F390049ED03 /* Example.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tDD35D956201B5F390049ED03 /* Source */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDD35D959201B5F390049ED03 /* ViewController.swift */,\n\t\t\t\tA3B228AB23ED525100757A28 /* StoryboardViewController.swift */,\n\t\t\t\tDD35D97E201B63F70049ED03 /* CustomHeaderView.swift */,\n\t\t\t\tDD35D97F201B63F70049ED03 /* CustomCollectionViewCell.swift */,\n\t\t\t\tDD35D957201B5F390049ED03 /* AppDelegate.swift */,\n\t\t\t\tDD35D95E201B5F390049ED03 /* Images.xcassets */,\n\t\t\t\t86EB284D203DE4920052BFA2 /* Launch Screen.storyboard */,\n\t\t\t\tA3B228A823ED503D00757A28 /* Main.storyboard */,\n\t\t\t\tDD35D969201B5FB10049ED03 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = Source;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tDD35D969201B5FB10049ED03 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDD35D963201B5F390049ED03 /* Info.plist */,\n\t\t\t);\n\t\t\tpath = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tDDFB5C70201F367800F8E164 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDDFB5C75201F367A00F8E164 /* CampcotCollectionView.framework */,\n\t\t\t\tDDFB5C77201F367A00F8E164 /* Tests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\tDD35D953201B5F390049ED03 /* Example */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = DD35D966201B5F390049ED03 /* Build configuration list for PBXNativeTarget \"Example\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tDD35D950201B5F390049ED03 /* Sources */,\n\t\t\t\tDD35D951201B5F390049ED03 /* Frameworks */,\n\t\t\t\tDD35D952201B5F390049ED03 /* Resources */,\n\t\t\t\tDD35D979201B62CE0049ED03 /* Copy Frameworks */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\tDDFB5C79201F36B400F8E164 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = Example;\n\t\t\tproductName = Example;\n\t\t\tproductReference = DD35D954201B5F390049ED03 /* Example.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\tDD35D94C201B5F390049ED03 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0920;\n\t\t\t\tLastUpgradeCheck = 1010;\n\t\t\t\tORGANIZATIONNAME = \"Touchlane LLC\";\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\tDD35D953201B5F390049ED03 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 9.2;\n\t\t\t\t\t\tLastSwiftMigration = 1020;\n\t\t\t\t\t\tProvisioningStyle = Automatic;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = DD35D94F201B5F390049ED03 /* Build configuration list for PBXProject \"Example\" */;\n\t\t\tcompatibilityVersion = \"Xcode 8.0\";\n\t\t\tdevelopmentRegion = en;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = DD35D94B201B5F390049ED03;\n\t\t\tproductRefGroup = DD35D955201B5F390049ED03 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectReferences = (\n\t\t\t\t{\n\t\t\t\t\tProductGroup = DDFB5C70201F367800F8E164 /* Products */;\n\t\t\t\t\tProjectRef = DD35D96E201B62BA0049ED03 /* CampcotCollectionView.xcodeproj */;\n\t\t\t\t},\n\t\t\t);\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\tDD35D953201B5F390049ED03 /* Example */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXReferenceProxy section */\n\t\tDDFB5C75201F367A00F8E164 /* CampcotCollectionView.framework */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = wrapper.framework;\n\t\t\tpath = CampcotCollectionView.framework;\n\t\t\tremoteRef = DDFB5C74201F367A00F8E164 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n\t\tDDFB5C77201F367A00F8E164 /* Tests.xctest */ = {\n\t\t\tisa = PBXReferenceProxy;\n\t\t\tfileType = wrapper.cfbundle;\n\t\t\tpath = Tests.xctest;\n\t\t\tremoteRef = DDFB5C76201F367A00F8E164 /* PBXContainerItemProxy */;\n\t\t\tsourceTree = BUILT_PRODUCTS_DIR;\n\t\t};\n/* End PBXReferenceProxy section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\tDD35D952201B5F390049ED03 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t86EB284F203DE4920052BFA2 /* Launch Screen.storyboard in Resources */,\n\t\t\t\tDD35D95F201B5F390049ED03 /* Images.xcassets in Resources */,\n\t\t\t\tA3B228A923ED503D00757A28 /* Main.storyboard in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\tDD35D950201B5F390049ED03 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tA3B228AC23ED525100757A28 /* StoryboardViewController.swift in Sources */,\n\t\t\t\tDD35D95A201B5F390049ED03 /* ViewController.swift in Sources */,\n\t\t\t\tDD35D981201B63F70049ED03 /* CustomCollectionViewCell.swift in Sources */,\n\t\t\t\tDD35D980201B63F70049ED03 /* CustomHeaderView.swift in Sources */,\n\t\t\t\tDD35D958201B5F390049ED03 /* AppDelegate.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\tDDFB5C79201F36B400F8E164 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\tname = CampcotCollectionView;\n\t\t\ttargetProxy = DDFB5C78201F36B400F8E164 /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin XCBuildConfiguration section */\n\t\tDD35D964201B5F390049ED03 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++14\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu11;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 9.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tDD35D965201B5F390049ED03 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++14\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu11;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 9.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tDD35D967201B5F390049ED03 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tDEVELOPMENT_TEAM = NPGMYNXF85;\n\t\t\t\tINFOPLIST_FILE = \"Source/Supporting Files/Info.plist\";\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = io.touchlane.Example;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tDD35D968201B5F390049ED03 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tDEVELOPMENT_TEAM = NPGMYNXF85;\n\t\t\t\tINFOPLIST_FILE = \"Source/Supporting Files/Info.plist\";\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = io.touchlane.Example;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\tDD35D94F201B5F390049ED03 /* Build configuration list for PBXProject \"Example\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tDD35D964201B5F390049ED03 /* Debug */,\n\t\t\t\tDD35D965201B5F390049ED03 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\tDD35D966201B5F390049ED03 /* Build configuration list for PBXNativeTarget \"Example\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tDD35D967201B5F390049ED03 /* Debug */,\n\t\t\t\tDD35D968201B5F390049ED03 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = DD35D94C201B5F390049ED03 /* Project object */;\n}\n"
  },
  {
    "path": "Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Example.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example/Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"1010\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"DD35D953201B5F390049ED03\"\n               BuildableName = \"Example.app\"\n               BlueprintName = \"Example\"\n               ReferencedContainer = \"container:Example.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"DD35D953201B5F390049ED03\"\n            BuildableName = \"Example.app\"\n            BlueprintName = \"Example\"\n            ReferencedContainer = \"container:Example.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"DD35D953201B5F390049ED03\"\n            BuildableName = \"Example.app\"\n            BlueprintName = \"Example\"\n            ReferencedContainer = \"container:Example.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"DD35D953201B5F390049ED03\"\n            BuildableName = \"Example.app\"\n            BlueprintName = \"Example\"\n            ReferencedContainer = \"container:Example.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example/Source/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Example\n//\n//  Created by Vadim Morozov on 1/26/18.\n//  Copyright © 2018 Touchlane LLC. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n    var window: UIWindow?\n    let rootVC = ViewController()\n\n    func application(_ application: UIApplication,\n                     didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        self.window = UIWindow(frame: UIScreen.main.bounds)\n        self.window?.rootViewController = rootVC\n        self.window?.makeKeyAndVisible()\n        return true\n    }\n}\n"
  },
  {
    "path": "Example/Source/CustomCollectionViewCell.swift",
    "content": "//\n//  CustomCollectionViewCell.swift\n//  Example\n//\n//  Created by Panda Systems on 1/8/18.\n//  Copyright © 2018 Touchlane LLC. All rights reserved.\n//\n\nimport UIKit\n\nclass CustomCollectionViewCell: UICollectionViewCell {\n    static let reuseIdentifier = \"CustomCell\"\n    \n    private let internalBackgroundColor = UIColor(red: 61 / 255, green: 86 / 255, blue: 166 / 255, alpha: 1)\n    private let textLabel = UILabel()\n    \n    var text: String? {\n        didSet {\n            self.textLabel.text = text\n        }\n    }\n    \n    override init(frame: CGRect) {\n        super.init(frame: .zero)\n        self.commonInit()\n    }\n    \n    required init?(coder aDecoder: NSCoder) {\n        super.init(coder: aDecoder)\n        self.commonInit()\n    }\n\n    private func commonInit() {\n        self.clipsToBounds = true\n        self.backgroundColor = self.internalBackgroundColor\n        self.layer.cornerRadius = 10\n        self.textLabel.font = UIFont.boldSystemFont(ofSize: 24)\n        self.textLabel.translatesAutoresizingMaskIntoConstraints = false\n        self.textLabel.textColor = .white\n        self.addSubview(self.textLabel)\n        self.activateTextLabelConstraints(view: self.textLabel, anchorView: self)\n    }\n    \n    override func apply(_ layoutAttributes: UICollectionViewLayoutAttributes) {\n        super.apply(layoutAttributes)\n        self.layoutIfNeeded()\n    }\n    \n    private func activateTextLabelConstraints(view: UIView, anchorView: UIView) {\n        NSLayoutConstraint.activate([\n            view.centerXAnchor.constraint(equalTo: anchorView.centerXAnchor),\n            view.centerYAnchor.constraint(equalTo: anchorView.centerYAnchor)\n            ])\n    }\n}\n"
  },
  {
    "path": "Example/Source/CustomHeaderView.swift",
    "content": "//\n//  CustomHeaderView.swift\n//  Example\n//\n//  Created by Panda Systems on 1/8/18.\n//  Copyright © 2018 Touchlane LLC. All rights reserved.\n//\n\nimport UIKit\n\nprotocol CustomHeaderViewDelegate: class {\n    func selectSection(section: Int)\n}\n\nclass CustomHeaderView: UICollectionReusableView {\n    static let reuseIdentifier = \"CustomHeaderView\"\n    private let internalBackgroundColor = UIColor.purple\n    private let textLeadingOffset: CGFloat = 20\n    private let textLabel = UILabel()\n    \n    weak var delegate: CustomHeaderViewDelegate?\n    var section: Int?\n    var text: String? {\n        didSet {\n            self.textLabel.text = text\n        }\n    }\n    \n    override init(frame: CGRect) {\n        super.init(frame: .zero)\n        self.commonInit()\n    }\n    \n    required init?(coder aDecoder: NSCoder) {\n        super.init(coder: aDecoder)\n        self.commonInit()\n    }\n\n    private func commonInit() {\n        self.backgroundColor = self.internalBackgroundColor\n        self.textLabel.translatesAutoresizingMaskIntoConstraints = false\n        self.textLabel.textColor = .white\n        self.textLabel.textAlignment = .center\n        self.textLabel.font = UIFont.boldSystemFont(ofSize: 24)\n        self.addSubview(self.textLabel)\n        self.activateTextLabelConstraints(view: self.textLabel, anchorView: self)\n        let tapRecognizer = UITapGestureRecognizer(target: self, action: #selector(tapOnView(sender:)))\n        self.addGestureRecognizer(tapRecognizer)\n    }\n    \n    override func prepareForReuse() {\n        super.prepareForReuse()\n        self.text = nil\n        self.section = nil\n    }\n    \n    override func apply(_ layoutAttributes: UICollectionViewLayoutAttributes) {\n        super.apply(layoutAttributes)\n        self.layoutIfNeeded()\n    }\n}\n\nprivate typealias CustomHeaderViewPrivate = CustomHeaderView\nprivate extension CustomHeaderViewPrivate {\n    func activateTextLabelConstraints(view: UIView, anchorView: UIView) {\n        NSLayoutConstraint.activate([\n            view.centerXAnchor.constraint(equalTo: anchorView.centerXAnchor),\n            view.centerYAnchor.constraint(equalTo: anchorView.centerYAnchor)\n            ])\n    }\n    \n    @objc func tapOnView(sender: UIGestureRecognizer) {\n        guard let section = self.section else {\n            return\n        }\n        self.delegate?.selectSection(section: section)\n    }\n}\n"
  },
  {
    "path": "Example/Source/Images.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"size\" : \"20x20\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-20x20@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"20x20\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-20x20@3x.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-29x29@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-29x29@3x.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-40x40@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-40x40@3x.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"60x60\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-60x60@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"60x60\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-60x60@3x.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"20x20\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-20x20@1x.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"20x20\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-20x20@2x-1.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-29x29@1x.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-29x29@2x-1.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-40x40@1x.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-40x40@2x-1.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"76x76\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-76x76@1x.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"76x76\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-76x76@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"83.5x83.5\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-83.5x83.5@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"1024x1024\",\n      \"idiom\" : \"ios-marketing\",\n      \"filename\" : \"ItunesArtwork@2x.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"24x24\",\n      \"idiom\" : \"watch\",\n      \"filename\" : \"Icon-24@2x.png\",\n      \"scale\" : \"2x\",\n      \"role\" : \"notificationCenter\",\n      \"subtype\" : \"38mm\"\n    },\n    {\n      \"size\" : \"27.5x27.5\",\n      \"idiom\" : \"watch\",\n      \"filename\" : \"Icon-27.5@2x.png\",\n      \"scale\" : \"2x\",\n      \"role\" : \"notificationCenter\",\n      \"subtype\" : \"42mm\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"watch\",\n      \"filename\" : \"Icon-29@2x.png\",\n      \"role\" : \"companionSettings\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"watch\",\n      \"filename\" : \"Icon-29@3x.png\",\n      \"role\" : \"companionSettings\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"watch\",\n      \"filename\" : \"Icon-40@2x.png\",\n      \"scale\" : \"2x\",\n      \"role\" : \"appLauncher\",\n      \"subtype\" : \"38mm\"\n    },\n    {\n      \"size\" : \"44x44\",\n      \"idiom\" : \"watch\",\n      \"scale\" : \"2x\",\n      \"role\" : \"appLauncher\",\n      \"subtype\" : \"40mm\"\n    },\n    {\n      \"size\" : \"50x50\",\n      \"idiom\" : \"watch\",\n      \"scale\" : \"2x\",\n      \"role\" : \"appLauncher\",\n      \"subtype\" : \"44mm\"\n    },\n    {\n      \"size\" : \"86x86\",\n      \"idiom\" : \"watch\",\n      \"filename\" : \"Icon-86@2x.png\",\n      \"scale\" : \"2x\",\n      \"role\" : \"quickLook\",\n      \"subtype\" : \"38mm\"\n    },\n    {\n      \"size\" : \"98x98\",\n      \"idiom\" : \"watch\",\n      \"filename\" : \"Icon-98@2x.png\",\n      \"scale\" : \"2x\",\n      \"role\" : \"quickLook\",\n      \"subtype\" : \"42mm\"\n    },\n    {\n      \"size\" : \"108x108\",\n      \"idiom\" : \"watch\",\n      \"scale\" : \"2x\",\n      \"role\" : \"quickLook\",\n      \"subtype\" : \"44mm\"\n    },\n    {\n      \"idiom\" : \"watch-marketing\",\n      \"size\" : \"1024x1024\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"44x44\",\n      \"idiom\" : \"watch\",\n      \"filename\" : \"Icon-44@2x.png\",\n      \"scale\" : \"2x\",\n      \"role\" : \"longLook\",\n      \"subtype\" : \"42mm\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  },\n  \"properties\" : {\n    \"pre-rendered\" : true\n  }\n}"
  },
  {
    "path": "Example/Source/Images.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example/Source/Images.xcassets/logo.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"logo.pdf\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example/Source/Images.xcassets/logo_splash.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"logo_splash.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example/Source/Launch Screen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"13771\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" useSafeAreas=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <device id=\"retina4_7\" orientation=\"portrait\">\n        <adaptation id=\"fullscreen\"/>\n    </device>\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"13772\"/>\n        <capability name=\"Alignment constraints with different attributes\" minToolsVersion=\"5.1\"/>\n        <capability name=\"Aspect ratio constraints\" minToolsVersion=\"5.1\"/>\n        <capability name=\"Safe area layout guides\" minToolsVersion=\"9.0\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <imageView userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" image=\"logo_splash\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"jDA-qd-c6t\">\n                                <rect key=\"frame\" x=\"20\" y=\"250.5\" width=\"335\" height=\"93\"/>\n                            </imageView>\n                        </subviews>\n                        <color key=\"backgroundColor\" white=\"0.0\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"genericGamma22GrayColorSpace\"/>\n                        <constraints>\n                            <constraint firstItem=\"jDA-qd-c6t\" firstAttribute=\"centerX\" secondItem=\"Bcu-3y-fUS\" secondAttribute=\"centerX\" id=\"KDj-Ws-lJn\"/>\n                            <constraint firstItem=\"jDA-qd-c6t\" firstAttribute=\"bottom\" secondItem=\"Bcu-3y-fUS\" secondAttribute=\"centerY\" id=\"MZV-gS-tq4\"/>\n                            <constraint firstItem=\"Bcu-3y-fUS\" firstAttribute=\"trailing\" relation=\"greaterThanOrEqual\" secondItem=\"jDA-qd-c6t\" secondAttribute=\"trailing\" constant=\"20\" id=\"Ssm-rA-Wfr\"/>\n                            <constraint firstItem=\"jDA-qd-c6t\" firstAttribute=\"leading\" relation=\"greaterThanOrEqual\" secondItem=\"Bcu-3y-fUS\" secondAttribute=\"leading\" constant=\"20\" id=\"p15-l3-GLm\"/>\n                            <constraint firstItem=\"jDA-qd-c6t\" firstAttribute=\"width\" secondItem=\"jDA-qd-c6t\" secondAttribute=\"height\" multiplier=\"205:57\" id=\"q5K-0n-3kS\"/>\n                        </constraints>\n                        <viewLayoutGuide key=\"safeArea\" id=\"Bcu-3y-fUS\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n    <resources>\n        <image name=\"logo_splash\" width=\"410\" height=\"114\"/>\n    </resources>\n</document>\n"
  },
  {
    "path": "Example/Source/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"15705\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" useSafeAreas=\"YES\" colorMatched=\"YES\" initialViewController=\"50H-WV-jbO\">\n    <device id=\"retina6_1\" orientation=\"portrait\" appearance=\"light\"/>\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"15706\"/>\n        <capability name=\"Safe area layout guides\" minToolsVersion=\"9.0\"/>\n        <capability name=\"collection view cell content view\" minToolsVersion=\"11.0\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Storyboard View Controller-->\n        <scene sceneID=\"Bn2-4k-qfx\">\n            <objects>\n                <viewController storyboardIdentifier=\"viewController\" id=\"50H-WV-jbO\" customClass=\"StoryboardViewController\" customModule=\"Example\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"p7o-vJ-Y8e\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"896\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <collectionView clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" dataMode=\"prototypes\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"CiI-U7-IGk\" customClass=\"CampcotCollectionView\" customModule=\"CampcotCollectionView\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"44\" width=\"414\" height=\"818\"/>\n                                <color key=\"backgroundColor\" red=\"0.74117647058823533\" green=\"0.76470588235294112\" blue=\"0.7803921568627451\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                                <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"n55-JI-Luz\">\n                                    <size key=\"itemSize\" width=\"72\" height=\"72\"/>\n                                    <size key=\"headerReferenceSize\" width=\"50\" height=\"50\"/>\n                                    <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                                    <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                                </collectionViewFlowLayout>\n                                <cells>\n                                    <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" insetsLayoutMarginsFromSafeArea=\"NO\" reuseIdentifier=\"CustomCell\" id=\"B6o-dS-0wb\" customClass=\"CustomCollectionViewCell\" customModule=\"Example\" customModuleProvider=\"target\">\n                                        <rect key=\"frame\" x=\"0.0\" y=\"50\" width=\"72\" height=\"72\"/>\n                                        <autoresizingMask key=\"autoresizingMask\"/>\n                                        <collectionViewCellContentView key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" insetsLayoutMarginsFromSafeArea=\"NO\" id=\"mMo-R2-YRQ\">\n                                            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"72\" height=\"72\"/>\n                                            <autoresizingMask key=\"autoresizingMask\"/>\n                                        </collectionViewCellContentView>\n                                        <size key=\"customSize\" width=\"72\" height=\"72\"/>\n                                    </collectionViewCell>\n                                </cells>\n                                <collectionReusableView key=\"sectionHeaderView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" insetsLayoutMarginsFromSafeArea=\"NO\" reuseIdentifier=\"CustomHeaderView\" id=\"Zbe-JP-2ZF\" customClass=\"CustomHeaderView\" customModule=\"Example\" customModuleProvider=\"target\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </collectionReusableView>\n                                <userDefinedRuntimeAttributes>\n                                    <userDefinedRuntimeAttribute type=\"number\" keyPath=\"top\">\n                                        <real key=\"value\" value=\"0.0\"/>\n                                    </userDefinedRuntimeAttribute>\n                                    <userDefinedRuntimeAttribute type=\"number\" keyPath=\"topInset\">\n                                        <real key=\"value\" value=\"10\"/>\n                                    </userDefinedRuntimeAttribute>\n                                    <userDefinedRuntimeAttribute type=\"number\" keyPath=\"bottomInset\">\n                                        <real key=\"value\" value=\"10\"/>\n                                    </userDefinedRuntimeAttribute>\n                                    <userDefinedRuntimeAttribute type=\"number\" keyPath=\"leftInset\">\n                                        <real key=\"value\" value=\"10\"/>\n                                    </userDefinedRuntimeAttribute>\n                                    <userDefinedRuntimeAttribute type=\"number\" keyPath=\"rightInset\">\n                                        <real key=\"value\" value=\"10\"/>\n                                    </userDefinedRuntimeAttribute>\n                                    <userDefinedRuntimeAttribute type=\"boolean\" keyPath=\"sectionHeadersPinToVisibleBounds\" value=\"YES\"/>\n                                    <userDefinedRuntimeAttribute type=\"number\" keyPath=\"minimumSectionSpacing\">\n                                        <real key=\"value\" value=\"1\"/>\n                                    </userDefinedRuntimeAttribute>\n                                    <userDefinedRuntimeAttribute type=\"number\" keyPath=\"minimumInteritemSpacing\">\n                                        <real key=\"value\" value=\"10\"/>\n                                    </userDefinedRuntimeAttribute>\n                                    <userDefinedRuntimeAttribute type=\"number\" keyPath=\"minimumLineSpacing\">\n                                        <real key=\"value\" value=\"10\"/>\n                                    </userDefinedRuntimeAttribute>\n                                </userDefinedRuntimeAttributes>\n                                <connections>\n                                    <outlet property=\"dataSource\" destination=\"50H-WV-jbO\" id=\"u27-tO-IDt\"/>\n                                    <outlet property=\"delegate\" destination=\"50H-WV-jbO\" id=\"x0f-La-Hkc\"/>\n                                </connections>\n                            </collectionView>\n                        </subviews>\n                        <color key=\"backgroundColor\" red=\"0.74117647060000003\" green=\"0.76470588240000004\" blue=\"0.78039215689999997\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                        <constraints>\n                            <constraint firstItem=\"03S-Zr-mha\" firstAttribute=\"bottom\" secondItem=\"CiI-U7-IGk\" secondAttribute=\"bottom\" id=\"TNE-uS-6yy\"/>\n                            <constraint firstItem=\"03S-Zr-mha\" firstAttribute=\"trailing\" secondItem=\"CiI-U7-IGk\" secondAttribute=\"trailing\" id=\"UyL-lV-7Ce\"/>\n                            <constraint firstItem=\"CiI-U7-IGk\" firstAttribute=\"leading\" secondItem=\"03S-Zr-mha\" secondAttribute=\"leading\" id=\"ZWJ-fV-Esm\"/>\n                            <constraint firstItem=\"CiI-U7-IGk\" firstAttribute=\"top\" secondItem=\"03S-Zr-mha\" secondAttribute=\"top\" id=\"aNo-19-2P1\"/>\n                        </constraints>\n                        <viewLayoutGuide key=\"safeArea\" id=\"03S-Zr-mha\"/>\n                    </view>\n                    <connections>\n                        <outlet property=\"collectionView\" destination=\"CiI-U7-IGk\" id=\"jdf-Vd-Nl0\"/>\n                    </connections>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"Tcc-yi-6ep\" userLabel=\"First Responder\" customClass=\"UIResponder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-339.13043478260875\" y=\"49.553571428571423\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example/Source/StoryboardViewController.swift",
    "content": "//\n//  StoryboardViewController.swift\n//  Example\n//\n//  Created by Alex Yanski on 2/7/20.\n//  Copyright © 2020 Touchlane LLC. All rights reserved.\n//\n\nimport UIKit\nimport CampcotCollectionView\n\nclass StoryboardViewController: UIViewController {\n\n    @IBOutlet weak var collectionView: CampcotCollectionView!\n\n    let itemsInRow = 2\n    var itemsInSection: [Int: Int] = [:]\n\n    override var preferredStatusBarStyle: UIStatusBarStyle {\n        return .default\n    }\n}\n\nextension StoryboardViewController: UICollectionViewDataSource {\n    func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return 20\n    }\n\n    func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        if let numberOfItems = itemsInSection[section] {\n            return numberOfItems\n        }\n        let numberOfItems = Int.random(in: 1...6)\n        itemsInSection[section] = numberOfItems\n        return numberOfItems\n    }\n\n    func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let cell = collectionView.dequeueReusableCell(\n            withReuseIdentifier: CustomCollectionViewCell.reuseIdentifier,\n            for: indexPath) as! CustomCollectionViewCell\n        cell.text = \"\\(indexPath.section):\\(indexPath.row)\"\n        return cell\n    }\n\n    func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> UICollectionReusableView {\n        let view = collectionView.dequeueReusableSupplementaryView(\n            ofKind: kind,\n            withReuseIdentifier: CustomHeaderView.reuseIdentifier,\n            for: indexPath) as! CustomHeaderView\n        view.section = indexPath.section\n        view.text = \"section: \\(indexPath.section)\"\n        view.delegate = self\n        return view\n    }\n}\n\nextension StoryboardViewController: UICollectionViewDelegateFlowLayout {\n    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize {\n        let interitemSpacing = self.collectionView.minimumInteritemSpacing * CGFloat(itemsInRow - 1)\n        let totalSpacing = collectionView.bounds.width - self.collectionView.sectionInset.left - self.collectionView.sectionInset.right - interitemSpacing\n        let width = totalSpacing / CGFloat(itemsInRow)\n        return CGSize(width: width, height: width)\n    }\n\n    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, referenceSizeForHeaderInSection section: Int) -> CGSize {\n        return CGSize(width: UIScreen.main.bounds.size.width, height: 60)\n    }\n}\n\nextension StoryboardViewController: CustomHeaderViewDelegate {\n    func selectSection(section: Int) {\n        self.collectionView.toggle(to: section, animated: true)\n    }\n}\n"
  },
  {
    "path": "Example/Source/Supporting Files/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>$(DEVELOPMENT_LANGUAGE)</string>\n\t<key>CFBundleDisplayName</key>\n\t<string>CampcotCollectionView</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>Launch Screen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UIStatusBarStyle</key>\n\t<string>UIStatusBarStyleDefault</string>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example/Source/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Example\n//\n//  Created by Panda Systems on 12/19/17.\n//  Copyright © 2018 Touchlane LLC. All rights reserved.\n//\n\nimport UIKit\nimport CampcotCollectionView\n\nclass ViewController: UIViewController {\n    let collectionView = CampcotCollectionView()\n    \n    let interitemSpacing: CGFloat = 10\n    let lineSpacing: CGFloat = 10\n    let sectionInsets = UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10)\n    \n    let backgroundColor = UIColor(red: 189 / 255, green: 195 / 255, blue: 199 / 255, alpha: 1)\n\n    let itemsInRow = 2\n    var itemsInSection: [Int: Int] = [:]\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        self.view.backgroundColor = backgroundColor\n        self.collectionView.backgroundColor = backgroundColor\n        self.collectionView.clipsToBounds = true\n        self.collectionView.sectionInset = sectionInsets\n        self.collectionView.minimumSectionSpacing = 1\n        self.collectionView.minimumInteritemSpacing = interitemSpacing\n        self.collectionView.minimumLineSpacing = lineSpacing\n        self.collectionView.sectionHeadersPinToVisibleBounds = true\n        self.collectionView.register(\n            CustomCollectionViewCell.self,\n            forCellWithReuseIdentifier: CustomCollectionViewCell.reuseIdentifier\n        )\n        self.collectionView.register(\n            CustomHeaderView.self,\n            forSupplementaryViewOfKind: UICollectionView.elementKindSectionHeader,\n            withReuseIdentifier: CustomHeaderView.reuseIdentifier\n        )\n        self.collectionView.delegate = self\n        self.collectionView.dataSource = self\n        self.collectionView.translatesAutoresizingMaskIntoConstraints = false\n        self.view.addSubview(self.collectionView)\n        self.activateCollectionViewConstraints(view: self.collectionView, anchorView: self.view)\n    }\n    \n    override var preferredStatusBarStyle: UIStatusBarStyle {\n        return .default\n    }\n    \n    private func activateCollectionViewConstraints(view: UIView, anchorView: UIView) {\n        NSLayoutConstraint.activate([\n            view.leadingAnchor.constraint(equalTo: anchorView.leadingAnchor),\n            view.trailingAnchor.constraint(equalTo: anchorView.trailingAnchor),\n            view.topAnchor.constraint(equalTo: self.topLayoutGuide.bottomAnchor),\n            view.bottomAnchor.constraint(equalTo: self.bottomLayoutGuide.topAnchor)\n            ])\n    }\n}\n\nextension ViewController: UICollectionViewDataSource {\n    func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return 20\n    }\n    \n    func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        if let numberOfItems = itemsInSection[section] {\n            return numberOfItems\n        }\n        let numberOfItems = Int.random(in: 1...6)\n        itemsInSection[section] = numberOfItems\n        return numberOfItems\n    }\n    \n    func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let cell = collectionView.dequeueReusableCell(\n            withReuseIdentifier: CustomCollectionViewCell.reuseIdentifier,\n            for: indexPath) as! CustomCollectionViewCell\n        cell.text = \"\\(indexPath.section):\\(indexPath.row)\"\n        return cell\n    }\n    \n    func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> UICollectionReusableView {\n        let view = collectionView.dequeueReusableSupplementaryView(\n            ofKind: kind,\n            withReuseIdentifier: CustomHeaderView.reuseIdentifier,\n            for: indexPath) as! CustomHeaderView\n        view.section = indexPath.section\n        view.text = \"section: \\(indexPath.section)\"\n        view.delegate = self\n        return view\n    }\n}\n\nextension ViewController: UICollectionViewDelegateFlowLayout {\n    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize {\n        let width = (collectionView.bounds.width - sectionInsets.left - sectionInsets.right - interitemSpacing * CGFloat(itemsInRow - 1)) / CGFloat(itemsInRow)\n        return CGSize(width: width, height: width)\n    }\n    \n    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, referenceSizeForHeaderInSection section: Int) -> CGSize {\n        return CGSize(width: UIScreen.main.bounds.size.width, height: 60)\n    }\n}\n\nextension ViewController: CustomHeaderViewDelegate {\n    func selectSection(section: Int) {\n        self.collectionView.toggle(to: section, animated: true)\n    }\n}\n"
  },
  {
    "path": "LICENSE",
    "content": "Copyright (c) 2018 Touchlane LLC tech@touchlane.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
  },
  {
    "path": "README.md",
    "content": "![LOGO](https://github.com/touchlane/CampcotCollectionView/blob/master/Assets/logo.svg)\n\n![Language](https://img.shields.io/badge/swift-5.0-orange.svg)\n[![Build Status](https://travis-ci.org/touchlane/CampcotCollectionView.svg?branch=master)](https://travis-ci.org/touchlane/CampcotCollectionView)\n[![codecov](https://codecov.io/gh/touchlane/CampcotCollectionView/branch/master/graph/badge.svg)](https://codecov.io/gh/touchlane/CampcotCollectionView)\n[![Version](https://img.shields.io/cocoapods/v/CampcotCollectionView.svg?style=flat)](http://cocoapods.org/pods/CampcotCollectionView)\n[![License](https://img.shields.io/cocoapods/l/CampcotCollectionView.svg?style=flat)](http://cocoapods.org/pods/CampcotCollectionView)\n[![Platform](https://img.shields.io/cocoapods/p/CampcotCollectionView.svg?style=flat)](http://cocoapods.org/pods/CampcotCollectionView)\n\nThis library provides a custom `UICollectionView` that allows to expand and collapse sections. Provides a simple API to manage collection view appearance.\n\n![CampcotCollectionView](Example/Assets/campcot.gif)\n\n# Requirements\n\n* iOS 9.0+\n* Xcode 10.2+\n* Swift 5.0+\n\n# Installation\n\n## CocoaPods\n\n[CocoaPods](https://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:\n\n```$ gem install cocoapods```\n\nTo integrate CampcotCollectionView into your Xcode project using CocoaPods, specify it in your ```Podfile```:\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '9.0'\nuse_frameworks!\n\ntarget '<Your Target Name>' do\n    pod 'CampcotCollectionView'\nend\n```\n\nThen, run the following command:\n\n```$ pod install```\n\n# Usage\n\n### Manual Setup\n\n```swift\nimport CampcotCollectionView\n```\n\n1. Create CollectionView\n```swift\nlet campcotCollectionView = CampcotCollectionView()\n```\n2. Add `campcotCollectionView` to view hierarchy.\n3. Call `toggle` method on `campcotCollectionView`.\n```swift\npublic func toggle(to section: Int,\n                   offsetCorrection: CGFloat = default,\n                   animated: Bool,\n                   completion: ((Bool) -> Void)? = default)\n```\n### Storyboard Setup\n\n1. Add UICollectionView to your Storyboard.\n2. In `Identity Inspector` set the `Class` property to `CampcotCollectionView`.\n3. Open `Attributes Inspector` and set the `Layout` property to `Custom`. Set `Class` property to either `ExpandedLayout` or `CollapsedLayout`.\n4. Create outlet for your collectionView.\n5. Set datasource and delegate for collectionView.\n5. Set the settings for collectionView in  `Attributes Inspector` or manualy.\n\n# Documentation\n\n### CampcotCollectionView\n\nA Boolean value that determines whether the sections are expanded.\n```swift\npublic var isExpanded: Bool { get }\n```\n\nExpands all the sections. Pins a section at index `section` to the top of view bounds.\n`offsetCorrection` - the offset for pinned section from the top. Default value of `offsetCorrection` is `0`.\n`animated` - if `true` expands sections with animation.\n`completion` - callback for animation.\n```swift\npublic func expand(from section: Int,\n                   offsetCorrection: CGFloat = default,\n                   animated: Bool,\n                   completion: ((Bool) -> Void)? = default)\n```\n\nCollapses all the sections. Pins a section at index `section` to the top of view bounds.\n`offsetCorrection` - the offset for pinned section from the top. Default value of `offsetCorrection` is `0`.\n`animated` - if `true` collapses sections with animation.\n`completion` - callback for animation.\n```swift\npublic func collapse(to section: Int,\n                     offsetCorrection: CGFloat = default,\n                     animated: Bool,\n                     completion: ((Bool) -> Void)? = default)\n```\n\nToggles current state from collapsed to expaned and vise versa. Pins a section at index `section` to the top of view bounds.\n`offsetCorrection` - the offset for pinned section from the top. Default value of `offsetCorrection` is `0`.\n`animated` - if `true` toggles sections with animation.\n`completion` - callback for animation.\n```swift\npublic func toggle(to section: Int,\n                   offsetCorrection: CGFloat = default,\n                   animated: Bool,\n                   completion: ((Bool) -> Void)? = default)\n```\n___\n"
  },
  {
    "path": "Source/CampcotCollectionView.swift",
    "content": "//\n//  CampcotCollectionView.swift\n//  CampcotCollectionView\n//\n//  Created by Vadim Morozov on 1/29/18.\n//  Copyright © 2018 Touchlane LLC. All rights reserved.\n//\n\npublic class CampcotCollectionView: UICollectionView {\n    private var expandedLayout: ExpandedLayout!\n    private var collapsedLayout: CollapsedLayout!\n\n    /// A Boolean value that determines whether the sections are expanded.\n    public var isExpanded: Bool {\n        return self.collectionViewLayout === self.expandedLayout\n    }\n    \n    /// Space between section headers in collapsed state.\n    @IBInspectable\n    public var minimumSectionSpacing: CGFloat = 0 {\n        didSet {\n            self.expandedLayout.minimumSectionSpacing = minimumSectionSpacing\n            self.collapsedLayout.minimumSectionSpacing = minimumSectionSpacing\n        }\n    }\n    \n    /// Layout minimum interitem spaceign.\n    @IBInspectable\n    public var minimumInteritemSpacing: CGFloat = 0 {\n        didSet {\n            self.expandedLayout.minimumInteritemSpacing = minimumInteritemSpacing\n            self.collapsedLayout.minimumInteritemSpacing = minimumInteritemSpacing\n        }\n    }\n    \n    /// Layout minimum line spacing.\n    @IBInspectable\n    public var minimumLineSpacing: CGFloat = 0 {\n        didSet {\n            self.expandedLayout.minimumLineSpacing = minimumLineSpacing\n            self.collapsedLayout.minimumLineSpacing = minimumLineSpacing\n        }\n    }\n    \n    /// Layout section inset.\n    public var sectionInset = UIEdgeInsets.zero {\n        didSet {\n            self.expandedLayout.sectionInset = sectionInset\n            self.collapsedLayout.sectionInset = sectionInset\n        }\n    }\n\n    @IBInspectable\n    private var topInset: CGFloat = 0 {\n        didSet {\n            sectionInset.top = topInset\n        }\n    }\n\n    @IBInspectable\n    private var bottomInset: CGFloat = 0 {\n        didSet {\n            sectionInset.bottom = bottomInset\n        }\n    }\n\n    @IBInspectable\n    private var leftInset: CGFloat = 0 {\n        didSet {\n            sectionInset.left = leftInset\n        }\n    }\n\n    @IBInspectable\n    private var rightInset: CGFloat = 0 {\n        didSet {\n            sectionInset.right = rightInset\n        }\n    }\n\n    /// Layout section headers pin to visible bounds.\n    @IBInspectable\n    public var sectionHeadersPinToVisibleBounds: Bool = false {\n        didSet {\n            self.expandedLayout.sectionHeadersPinToVisibleBounds = sectionHeadersPinToVisibleBounds\n            self.collapsedLayout.sectionHeadersPinToVisibleBounds = sectionHeadersPinToVisibleBounds\n        }\n    }\n\n    /// Content size calculation rules.\n    public var contentSizeAdjustmentBehavior: ContentSizeAdjustmentBehavior = .normal {\n        didSet {\n            self.expandedLayout.contentSizeAdjustmentBehavior = contentSizeAdjustmentBehavior\n            self.collapsedLayout.contentSizeAdjustmentBehavior = contentSizeAdjustmentBehavior\n        }\n    }\n    \n    public init(isExpanded: Bool = true) {\n        expandedLayout = ExpandedLayout()\n        collapsedLayout = CollapsedLayout()\n        super.init(frame: .zero, collectionViewLayout: isExpanded ? self.expandedLayout : self.collapsedLayout)\n    }\n    \n    required public init?(coder aDecoder: NSCoder) {\n        super.init(coder: aDecoder)\n        if let expandedLayout = self.collectionViewLayout as? ExpandedLayout {\n            /// When collectionViewLayout is expanded\n            self.expandedLayout = expandedLayout\n            self.collapsedLayout = CollapsedLayout()\n        } else if let collapsedLayout = self.collectionViewLayout as? CollapsedLayout {\n            /// When collectionViewLayout is collapsed\n            self.expandedLayout = ExpandedLayout()\n            self.collapsedLayout = collapsedLayout\n        } else {\n            /// By default, if collectionViewLayout was not set neither expanded nor collapsed\n            self.expandedLayout = ExpandedLayout()\n            self.collapsedLayout = CollapsedLayout()\n\n            self.collectionViewLayout = self.expandedLayout /// Default layout\n        }\n    }\n    \n    /// Expand all sections and pin section from params to top.\n    public func expand(from section: Int,\n                       offsetCorrection: CGFloat = 0,\n                       animated: Bool,\n                       completion: ((Bool) -> Void)? = nil) {\n        guard !self.isExpanded else {\n            return\n        }\n        self.expandedLayout.targetSection = section\n        self.expandedLayout.offsetCorrection = offsetCorrection\n        self.collapsedLayout.targetSection = section\n        self.collapsedLayout.offsetCorrection = offsetCorrection\n        self.setCollectionViewLayout(self.expandedLayout, animated: animated, completion: { completed in\n            DispatchQueue.main.async(execute: {\n                completion?(completed)\n            })\n        })\n    }\n    \n    /// Collapse all sections and pin section from params to top.\n    public func collapse(to section: Int,\n                         offsetCorrection: CGFloat = 0,\n                         animated: Bool,\n                         completion: ((Bool) -> Void)? = nil) {\n        guard self.isExpanded else {\n            return\n        }\n        self.expandedLayout.targetSection = section\n        self.expandedLayout.offsetCorrection = offsetCorrection\n        self.collapsedLayout.targetSection = section\n        self.collapsedLayout.offsetCorrection = offsetCorrection\n        self.setCollectionViewLayout(self.collapsedLayout, animated: animated, completion: { completed in\n            DispatchQueue.main.async(execute: {\n                completion?(completed)\n            })\n        })\n    }\n    \n    /// Change sections mode to opposite.\n    public func toggle(to section: Int,\n                       offsetCorrection: CGFloat = 0,\n                       animated: Bool,\n                       completion: ((Bool) -> Void)? = nil) {\n        if self.isExpanded {\n            self.collapse(to: section,\n                          offsetCorrection: offsetCorrection,\n                          animated: animated,\n                          completion: completion)\n        }\n        else {\n            self.expand(from: section,\n                        offsetCorrection: offsetCorrection,\n                        animated: animated,\n                        completion: completion)\n        }\n    }\n}\n"
  },
  {
    "path": "Source/CollapsedLayout.swift",
    "content": "//\n//  CollapsedLayout.swift\n//  CampcotCollectionView\n//\n//  Created by Vadim Morozov on 1/29/18.\n//  Copyright © 2018 Touchlane LLC. All rights reserved.\n//\n\npublic class CollapsedLayout: UICollectionViewFlowLayout {\n    var targetSection: Int = 0\n    var offsetCorrection: CGFloat = 0\n    var minimumSectionSpacing: CGFloat = 0 {\n        didSet {\n            self.invalidateLayout()\n        }\n    }\n    \n    private var contentHeight: CGFloat = 0\n    private var contentWidth: CGFloat {\n        guard let collectionView = self.collectionView else {\n            return 0\n        }\n        let insets = collectionView.contentInset\n        return collectionView.bounds.width - (insets.left + insets.right)\n    }\n\n    public var contentSizeAdjustmentBehavior: ContentSizeAdjustmentBehavior = .normal {\n        didSet {\n            self.invalidateLayout()\n        }\n    }\n    \n    override public var collectionViewContentSize: CGSize {\n        switch self.contentSizeAdjustmentBehavior {\n        case .normal:\n            return CGSize(width: self.contentWidth, height: self.contentHeight)\n        case .fitHeight(let adjustInsets):\n            guard let collectionView = self.collectionView else {\n                return CGSize(width: self.contentWidth, height: self.contentHeight)\n            }\n            var adjustedContentHeight = collectionView.bounds.height\n            if adjustInsets.contains(.top) {\n                adjustedContentHeight -= collectionView.contentInset.top\n            }\n            if adjustInsets.contains(.bottom) {\n                adjustedContentHeight -= collectionView.contentInset.bottom\n            }\n            let contentHeight = max(self.contentHeight, adjustedContentHeight)\n            return CGSize(width: self.contentWidth, height: contentHeight)\n        }\n    }\n    \n    override public var sectionInset: UIEdgeInsets {\n        get {\n            return super.sectionInset\n        }\n        set {\n            super.sectionInset = UIEdgeInsets(top: 0, left: newValue.left, bottom: 0, right: newValue.right)\n        }\n    }\n    \n    private var headersAttributes: [UICollectionViewLayoutAttributes] = []\n    private var itemsAttributes: [[UICollectionViewLayoutAttributes]] = []\n    \n    override public func prepare() {\n        super.prepare()\n        \n        guard let collectionView = self.collectionView else {\n            return\n        }\n        \n        guard let delegate = collectionView.delegate as? UICollectionViewDelegateFlowLayout else {\n            return\n        }\n        \n        guard let dataSource = collectionView.dataSource else {\n            return\n        }\n        self.headersAttributes = []\n        self.itemsAttributes = []\n        self.contentHeight = 0\n        \n        let numberOfSections = dataSource.numberOfSections!(in: collectionView)\n        for section in 0..<numberOfSections {\n            let headerSize = delegate.collectionView!(collectionView, layout: self, referenceSizeForHeaderInSection: section)\n            let height = headerSize.height\n            let width = headerSize.width\n            let indexPath = IndexPath(row: 0, section: section)\n            let attributes = UICollectionViewLayoutAttributes(\n                forSupplementaryViewOfKind: UICollectionView.elementKindSectionHeader,\n                with: indexPath\n            )\n            attributes.frame = CGRect(x: 0, y: self.contentHeight, width: width, height: height)\n            self.headersAttributes.append(attributes)\n            self.contentHeight += height\n            self.contentHeight += self.minimumSectionSpacing / 2\n            \n            self.itemsAttributes.append([])\n            let numberOfItems = dataSource.collectionView(collectionView, numberOfItemsInSection: section)\n            for row in 0..<numberOfItems {\n                let indexPath = IndexPath(row: row, section: section)\n                let itemSize = delegate.collectionView!(collectionView, layout: self, sizeForItemAt: indexPath)\n                let attributes = UICollectionViewLayoutAttributes(forCellWith: indexPath)\n\n                let columnsCount = Int(contentWidth / itemSize.width)\n                let column = row % columnsCount\n\n                attributes.frame = CGRect(\n                    x: sectionInset.left + CGFloat(column) * (itemSize.width + minimumInteritemSpacing),\n                    y: contentHeight,\n                    width: itemSize.width,\n                    height: 0\n                )\n                attributes.isHidden = true\n                self.itemsAttributes[section].append(attributes)\n            }\n            self.contentHeight += self.minimumSectionSpacing / 2\n        }\n    }\n    \n    override public func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]? {\n        guard self.collectionView?.dataSource != nil else {\n            return nil\n        }\n        \n        var visibleLayoutAttributes: [UICollectionViewLayoutAttributes] = []\n        \n        for attributes in headersAttributes {\n            if attributes.frame.intersects(rect) {\n                visibleLayoutAttributes.append(attributes)\n            }\n        }\n        return visibleLayoutAttributes\n    }\n    \n    override public func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> UICollectionViewLayoutAttributes? {\n        guard self.headersAttributes.indices.contains(indexPath.section) else {\n            return super.layoutAttributesForSupplementaryView(ofKind: elementKind, at: indexPath)\n        }\n        return self.headersAttributes[indexPath.section]\n    }\n    \n    \n    override public func layoutAttributesForItem(at indexPath: IndexPath) ->  UICollectionViewLayoutAttributes? {\n        guard self.itemsAttributes.indices.contains(indexPath.section) else {\n            return super.layoutAttributesForItem(at: indexPath)\n        }\n        guard self.itemsAttributes[indexPath.section].indices.contains(indexPath.row) else {\n            return super.layoutAttributesForItem(at: indexPath)\n        }\n        return self.itemsAttributes[indexPath.section][indexPath.row]\n    }\n    \n    override public func targetContentOffset(forProposedContentOffset proposedContentOffset: CGPoint) -> CGPoint {\n        guard let collectionView = self.collectionView else {\n            return proposedContentOffset\n        }\n        var targetOffset = proposedContentOffset\n        targetOffset.y = offsetCorrection\n        for section in 0..<self.targetSection {\n            let height = self.headersAttributes[section].frame.size.height\n            targetOffset.y += height\n            targetOffset.y += minimumSectionSpacing\n        }\n        let emptySpace = collectionView.bounds.size.height - (self.collectionViewContentSize.height - targetOffset.y)\n        if emptySpace > 0 {\n            targetOffset.y = targetOffset.y - emptySpace\n        }\n        if self.contentHeight < self.collectionViewContentSize.height {\n            let freeSpace = self.collectionViewContentSize.height - (targetOffset.y - self.offsetCorrection)\n            if freeSpace > 0 {\n                targetOffset.y = self.offsetCorrection\n            }\n        }\n        return targetOffset\n    }\n}\n"
  },
  {
    "path": "Source/ContentSizeAdjustmentBehavior.swift",
    "content": "//\n//  ContentSizeAdjustmentBehavior.swift\n//  CampcotCollectionView\n//\n//  Created by Vadim Morozov on 10/30/19.\n//  Copyright © 2019 Touchlane LLC. All rights reserved.\n//\n\npublic enum ContentSizeAdjustmentBehavior {\n    public struct Inset: OptionSet {\n        public let rawValue: Int\n\n        public init(rawValue: Int) {\n            self.rawValue = rawValue\n        }\n\n        public static let top = Inset(rawValue: 1 << 0)\n        public static let bottom = Inset(rawValue: 1 << 1)\n\n        public static let none: Inset = []\n        public static let all: Inset = [.top, .bottom]\n    }\n\n    /// Content size depends only on content.\n    case normal\n\n    /// Content size can't be less than collection view frame without adjust insets.\n    case fitHeight(adjustInsets: Inset)\n}\n"
  },
  {
    "path": "Source/ExpandedLayout.swift",
    "content": "//\n//  ExpandedLayout.swift\n//  CampcotCollectionView\n//\n//  Created by Vadim Morozov on 1/26/18.\n//  Copyright © 2018 Touchlane LLC. All rights reserved.\n//\n\npublic class ExpandedLayout: UICollectionViewFlowLayout  {\n    var targetSection: Int = 0\n    var offsetCorrection: CGFloat = 0\n    var minimumSectionSpacing: CGFloat = 0\n    \n    private var isTransitingToCollapsed = false {\n        didSet {\n            guard oldValue != isTransitingToCollapsed else {\n                return\n            }\n            self.invalidateLayout()\n        }\n    }\n    private var isTransitingToExpanded = false {\n        didSet {\n            guard oldValue != isTransitingToExpanded else {\n                return\n            }\n            self.didFinishExpandTransition = !isTransitingToExpanded\n            self.invalidateLayout()\n        }\n    }\n    private var didFinishExpandTransition = false\n    private var contentHeight: CGFloat = 0\n    private var contentWidth: CGFloat {\n        guard let collectionView = collectionView else {\n            return 0\n        }\n        let insets = collectionView.contentInset\n        return collectionView.bounds.width - (insets.left + insets.right)\n    }\n\n    public var contentSizeAdjustmentBehavior: ContentSizeAdjustmentBehavior = .normal {\n        didSet {\n            self.invalidateLayout()\n        }\n    }\n    \n    override public var collectionViewContentSize: CGSize {\n        switch self.contentSizeAdjustmentBehavior {\n        case .normal:\n            return CGSize(width: self.contentWidth, height: self.contentHeight)\n        case .fitHeight(let adjustInsets):\n            guard let collectionView = self.collectionView else {\n                return CGSize(width: self.contentWidth, height: self.contentHeight)\n            }\n            var adjustedContentHeight = collectionView.bounds.height\n            if adjustInsets.contains(.top) {\n                adjustedContentHeight -= collectionView.contentInset.top\n            }\n            if adjustInsets.contains(.bottom) {\n                adjustedContentHeight -= collectionView.contentInset.bottom\n            }\n            let contentHeight = max(self.contentHeight, adjustedContentHeight)\n            return CGSize(width: self.contentWidth, height: contentHeight)\n        }\n    }\n    \n    private var headersAttributes: [UICollectionViewLayoutAttributes] = []\n    private var itemsAttributes: [[UICollectionViewLayoutAttributes]] = []\n    \n    override public func prepare() {\n        super.prepare()\n        \n        guard !self.isTransitingToCollapsed else {\n            self.collapseInvisibleSections()\n            return\n        }\n        \n        guard !self.isTransitingToExpanded else {\n            self.expandVisibleSections()\n            return\n        }\n        \n        guard let collectionView = self.collectionView else {\n            return\n        }\n        \n        guard let delegate = collectionView.delegate as? UICollectionViewDelegateFlowLayout else {\n            return\n        }\n        \n        guard let dataSource = collectionView.dataSource else {\n            return\n        }\n        \n        self.headersAttributes = []\n        self.itemsAttributes = []\n        self.contentHeight = 0\n        \n        let numberOfSections = dataSource.numberOfSections!(in: collectionView)\n        for section in 0..<numberOfSections {\n            let headerSize = delegate.collectionView!(collectionView, layout: self, referenceSizeForHeaderInSection: section)\n            let height = headerSize.height\n            let width = headerSize.width\n            \n            let indexPath = IndexPath(row: 0, section: section)\n            let attributes = UICollectionViewLayoutAttributes(forSupplementaryViewOfKind: UICollectionView.elementKindSectionHeader, with: indexPath)\n            attributes.frame = CGRect(x: 0, y: contentHeight, width: width, height: height)\n            self.headersAttributes.append(attributes)\n            self.contentHeight += height\n            self.contentHeight += self.sectionInset.top\n            \n            self.itemsAttributes.append([])\n            let numberOfItems = dataSource.collectionView(collectionView, numberOfItemsInSection: section)\n            for row in 0..<numberOfItems {\n                let indexPath = IndexPath(row: row, section: section)\n                let itemSize = delegate.collectionView!(collectionView, layout: self, sizeForItemAt: indexPath)\n                let attributes = UICollectionViewLayoutAttributes(forCellWith: indexPath)\n\n                let columnsCount = Int(contentWidth / itemSize.width)\n                let column = row % columnsCount\n                attributes.frame = CGRect(\n                    x: sectionInset.left + CGFloat(column) * (itemSize.width + minimumInteritemSpacing),\n                    y: contentHeight,\n                    width: itemSize.width,\n                    height: itemSize.height\n                )\n\n                attributes.isHidden = false\n                self.itemsAttributes[section].append(attributes)\n\n                if column == columnsCount - 1 || row == numberOfItems - 1 {\n                    self.contentHeight += itemSize.height\n                    if row < numberOfItems - 1 {\n                        contentHeight += minimumLineSpacing\n                    }\n                }\n            }\n            self.contentHeight += self.sectionInset.bottom\n        }\n        if self.didFinishExpandTransition {\n            self.setRealOffset()\n            self.didFinishExpandTransition = false\n        }\n    }\n    \n    override public func prepareForTransition(to newLayout: UICollectionViewLayout) {\n        super.prepareForTransition(to: newLayout)\n        if newLayout is CollapsedLayout {\n            self.isTransitingToCollapsed = true\n        }\n    }\n    \n    override public func prepareForTransition(from oldLayout: UICollectionViewLayout) {\n        super.prepareForTransition(from: oldLayout)\n        if oldLayout is CollapsedLayout {\n            self.isTransitingToExpanded = true\n        }\n    }\n    \n    override public func finalizeLayoutTransition() {\n        super.finalizeLayoutTransition()\n        self.isTransitingToCollapsed = false\n        self.isTransitingToExpanded = false\n    }\n    \n    override public func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]? {\n        guard self.collectionView?.dataSource != nil else {\n            return nil\n        }\n        \n        guard isTransitingToCollapsed || isTransitingToExpanded else {\n            let superAttributes = super.layoutAttributesForElements(in: rect)\n            guard let attributes = superAttributes else {\n                return superAttributes\n            }\n            for elementAttributes in attributes {\n                guard elementAttributes.representedElementCategory == .supplementaryView else {\n                    continue\n                }\n                guard self.headersAttributes.indices.contains(elementAttributes.indexPath.section) else {\n                    continue\n                }\n                elementAttributes.frame.origin.y -= self.sectionHeadersPinToBoundsCorrection(\n                    proposedTopOffset: elementAttributes.frame.origin.y,\n                    estimatedTopOffset: self.headersAttributes[elementAttributes.indexPath.section].frame.origin.y)\n            }\n            return attributes\n        }\n        var visibleLayoutAttributes: [UICollectionViewLayoutAttributes] = []\n        for attributes in headersAttributes {\n            if attributes.frame.intersects(rect) {\n                visibleLayoutAttributes.append(attributes)\n            }\n        }\n        for sectionAttributes in itemsAttributes {\n            for attributes in sectionAttributes {\n                if attributes.frame.intersects(rect) {\n                    visibleLayoutAttributes.append(attributes)\n                }\n            }\n        }\n        return visibleLayoutAttributes\n    }\n   \n    override public func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> UICollectionViewLayoutAttributes? {\n        guard self.headersAttributes.indices.contains(indexPath.section) else {\n            return super.layoutAttributesForSupplementaryView(ofKind: elementKind, at: indexPath)\n        }\n        guard isTransitingToCollapsed || isTransitingToExpanded else {\n            let attributes = super.layoutAttributesForSupplementaryView(ofKind: elementKind, at: indexPath)\n            \n            guard let proposedTopOffset = attributes?.frame.origin.y else {\n                return attributes\n            }\n            let estimatedTopOffset = self.headersAttributes[indexPath.section].frame.origin.y\n            attributes?.frame.origin.y -= self.sectionHeadersPinToBoundsCorrection(\n                proposedTopOffset: proposedTopOffset,\n                estimatedTopOffset: estimatedTopOffset)\n            return attributes\n        }\n        return self.headersAttributes[indexPath.section]\n    }\n\n    override public func layoutAttributesForItem(at indexPath: IndexPath) ->  UICollectionViewLayoutAttributes? {\n        guard self.itemsAttributes.indices.contains(indexPath.section) else {\n            return super.layoutAttributesForItem(at: indexPath)\n        }\n        guard self.itemsAttributes[indexPath.section].indices.contains(indexPath.row) else {\n            return super.layoutAttributesForItem(at: indexPath)\n        }\n        return self.itemsAttributes[indexPath.section][indexPath.row]\n    }\n    \n    override public func targetContentOffset(forProposedContentOffset proposedContentOffset: CGPoint) -> CGPoint {\n        guard let collectionView = self.collectionView else {\n            return proposedContentOffset\n        }\n        var targetOffset = proposedContentOffset\n        targetOffset.y = offsetCorrection\n        for section in 0..<self.targetSection {\n            let height = self.headersAttributes[section].frame.size.height\n            targetOffset.y += height\n            targetOffset.y += self.sectionInset.top\n            var sectionContentHeight: CGFloat = 0\n            let numberOfItems = self.itemsAttributes[section].count\n            for row in 0..<numberOfItems {\n                let itemSize = self.itemsAttributes[section][row].frame.size\n\n                let columnsCount = Int(self.contentWidth / itemSize.width)\n                let column = row % columnsCount\n\n                if column == columnsCount - 1 || row == numberOfItems - 1 {\n                    sectionContentHeight += itemSize.height\n                    targetOffset.y += itemSize.height\n                    if row < numberOfItems - 1 && itemSize.height > 0 {\n                        targetOffset.y += self.minimumLineSpacing\n                    }\n                }\n            }\n            targetOffset.y += self.sectionInset.bottom\n            if sectionContentHeight == 0 {\n                targetOffset.y -= self.sectionInset.top\n                targetOffset.y -= self.sectionInset.bottom\n                targetOffset.y += self.minimumSectionSpacing\n            }\n        }\n        let emptySpace = collectionView.bounds.size.height - (max(self.contentHeight, collectionView.bounds.size.height) - targetOffset.y)\n        if emptySpace > 0 {\n            targetOffset.y = targetOffset.y - emptySpace\n        }\n        return targetOffset\n    }\n    \n    public func collapseInvisibleSections() {\n        guard let collectionView = self.collectionView else {\n            return\n        }\n        \n        guard let delegate = collectionView.delegate as? UICollectionViewDelegateFlowLayout else {\n            return\n        }\n        \n        guard let dataSource = collectionView.dataSource else {\n            return\n        }\n        \n        var contentOffset = collectionView.contentOffset\n        let previousItemsAttributes = self.itemsAttributes\n        let visibleItemIndexPaths = collectionView.indexPathsForVisibleItems\n        let visibleSections = Set<Int>(visibleItemIndexPaths.map({ $0.section }))\n        \n        self.headersAttributes = []\n        self.itemsAttributes = []\n        self.contentHeight = 0\n        \n        let numberOfSections = dataSource.numberOfSections!(in: collectionView)\n        for section in 0..<numberOfSections {\n            let headerSize = delegate.collectionView!(collectionView, layout: self, referenceSizeForHeaderInSection: section)\n            let height = headerSize.height\n            let width = headerSize.width\n            \n            let indexPath = IndexPath(row: 0, section: section)\n            let attributes = UICollectionViewLayoutAttributes(\n                forSupplementaryViewOfKind: UICollectionView.elementKindSectionHeader,\n                with: indexPath\n            )\n            attributes.frame = CGRect(x: 0, y: contentHeight, width: width, height: height)\n            self.headersAttributes.append(attributes)\n            self.contentHeight += height\n            \n            if visibleSections.contains(section) {\n                self.contentHeight += self.sectionInset.top\n            }\n            else {\n                self.contentHeight += self.minimumSectionSpacing / 2\n                if section < targetSection {\n                    contentOffset.y -= self.sectionInset.top\n                    contentOffset.y += self.minimumSectionSpacing\n                }\n            }\n            \n            self.itemsAttributes.append([])\n            let numberOfItems = dataSource.collectionView(collectionView, numberOfItemsInSection: section)\n            for row in 0..<numberOfItems {\n                let indexPath = IndexPath(row: row, section: section)\n                var itemSize = delegate.collectionView!(collectionView, layout: self, sizeForItemAt: indexPath)\n                itemSize.height = visibleItemIndexPaths.contains(indexPath) ? itemSize.height : 0\n                let attributes = UICollectionViewLayoutAttributes(forCellWith: indexPath)\n\n                let columnsCount = Int(self.contentWidth / itemSize.width)\n                let column = row % columnsCount\n                attributes.frame = CGRect(\n                    x: self.sectionInset.left + CGFloat(column) * (itemSize.width + self.minimumInteritemSpacing),\n                    y: contentHeight,\n                    width: itemSize.width,\n                    height: itemSize.height\n                )\n\n                attributes.isHidden = false\n                self.itemsAttributes[section].append(attributes)\n\n                if column == columnsCount - 1 || row == numberOfItems - 1 {\n                    self.contentHeight += itemSize.height\n                    if !visibleItemIndexPaths.contains(indexPath) && section < targetSection {\n                        contentOffset.y -= previousItemsAttributes[section][row].frame.size.height\n                    }\n                    let hasVisibleItemsAfterCurrent = visibleItemIndexPaths.filter({ $0.section == section && $0.row > row }).count > 0\n                    if !visibleItemIndexPaths.contains(indexPath) && section == targetSection && hasVisibleItemsAfterCurrent {\n                        contentOffset.y -= previousItemsAttributes[section][row].frame.size.height\n                    }\n                    if row < numberOfItems - 1 && visibleItemIndexPaths.contains(indexPath) {\n                        let nextIndexPath = IndexPath(row: indexPath.row + 1, section: indexPath.section)\n                        if visibleItemIndexPaths.contains(nextIndexPath) {\n                            contentHeight += self.minimumLineSpacing\n                        }\n                    }\n                    if row < numberOfItems - 1 && !visibleItemIndexPaths.contains(indexPath) && section < targetSection {\n                        contentOffset.y -= self.minimumLineSpacing\n                    }\n                    if !visibleItemIndexPaths.contains(indexPath) && section == targetSection && hasVisibleItemsAfterCurrent {\n                        contentOffset.y -= self.minimumLineSpacing\n                    }\n                }\n            }\n            \n            if visibleSections.contains(section) {\n                self.contentHeight += self.sectionInset.bottom\n            }\n            else {\n                self.contentHeight += self.minimumSectionSpacing / 2\n                if section < targetSection {\n                    contentOffset.y -= self.sectionInset.bottom\n                }\n            }\n            \n            if sectionHeadersPinToVisibleBounds {\n                let headerAttributes = self.headersAttributes[section]\n                if section == self.targetSection &&\n                    self.contentHeight - contentOffset.y < collectionView.contentInset.top {\n\n                    headerAttributes.frame.origin.y = min(self.contentHeight - headerAttributes.frame.size.height, contentOffset.y)\n                    let originY = headerAttributes.frame.origin.y\n                    for i in (0..<section).reversed() {\n                        self.headersAttributes[i].frame.origin.y = originY - self.headersAttributes[i].frame.size.height * CGFloat(section - i)\n                    }\n                    headerAttributes.frame.origin.y = originY\n                }\n                else if visibleSections.contains(section) && contentOffset.y > headerAttributes.frame.origin.y {\n\n                    let originY = min(self.contentHeight - headerAttributes.frame.size.height, contentOffset.y)\n                    for i in (0..<section).reversed() {\n                        self.headersAttributes[i].frame.origin.y = originY - self.headersAttributes[i].frame.size.height * CGFloat(section - i)\n                    }\n                    headerAttributes.frame.origin.y = originY\n                }\n            }\n        }\n        collectionView.setContentOffset(contentOffset, animated: false)\n    }\n\n    public func expandVisibleSections() {\n        guard let collectionView = self.collectionView else {\n            return\n        }\n        \n        guard let delegate = collectionView.delegate as? UICollectionViewDelegateFlowLayout else {\n            return\n        }\n        \n        guard let dataSource = collectionView.dataSource else {\n            return\n        }\n        \n        let visibleItemIndexPaths = self.determineVisibleIndexPaths()\n        let visibleSections = Set<Int>(visibleItemIndexPaths.map({ $0.section }))\n        \n        self.headersAttributes = []\n        self.itemsAttributes = []\n        self.contentHeight = 0\n        \n        let numberOfSections = dataSource.numberOfSections!(in: collectionView)\n        for section in 0..<numberOfSections {\n            let headerSize = delegate.collectionView!(collectionView, layout: self, referenceSizeForHeaderInSection: section)\n            let height = headerSize.height\n            let width = headerSize.width\n            \n            let indexPath = IndexPath(row: 0, section: section)\n            let attributes = UICollectionViewLayoutAttributes(\n                forSupplementaryViewOfKind: UICollectionView.elementKindSectionHeader,\n                with: indexPath\n            )\n            attributes.frame = CGRect(x: 0, y: contentHeight, width: width, height: height)\n            self.headersAttributes.append(attributes)\n            self.contentHeight += height\n            \n            if visibleSections.contains(section) {\n                self.contentHeight += self.sectionInset.top\n            }\n            else {\n                self.contentHeight += self.minimumSectionSpacing / 2\n            }\n            \n            self.itemsAttributes.append([])\n            let numberOfItems = dataSource.collectionView(collectionView, numberOfItemsInSection: section)\n            for row in 0..<numberOfItems {\n                let indexPath = IndexPath(row: row, section: section)\n                var itemSize = delegate.collectionView!(collectionView, layout: self, sizeForItemAt: indexPath)\n                itemSize.height = visibleItemIndexPaths.contains(indexPath) ? itemSize.height : 0\n                let attributes = UICollectionViewLayoutAttributes(forCellWith: indexPath)\n\n                let columnsCount = Int(self.contentWidth / itemSize.width)\n                let column = row % columnsCount\n                attributes.frame = CGRect(\n                    x: self.sectionInset.left + CGFloat(column) * (itemSize.width + self.minimumInteritemSpacing),\n                    y: contentHeight,\n                    width: itemSize.width,\n                    height: itemSize.height\n                )\n\n                attributes.isHidden = false\n                // Sometimes cells overlap headers, the code below fixes it\n                attributes.transform3D = CATransform3DMakeTranslation(0, 0, -1)\n                self.itemsAttributes[section].append(attributes)\n\n                if column == columnsCount - 1 || row == numberOfItems - 1 {\n                    self.contentHeight += itemSize.height\n                    if row < numberOfItems - 1 && visibleItemIndexPaths.contains(indexPath) {\n                        let nextIndexPath = IndexPath(row: indexPath.row + 1, section: indexPath.section)\n                        if visibleItemIndexPaths.contains(nextIndexPath) {\n                            contentHeight += self.minimumLineSpacing\n                        }\n                    }\n                }\n            }\n            \n            if visibleSections.contains(section) {\n                self.contentHeight += self.sectionInset.bottom\n            }\n            else {\n                self.contentHeight += self.minimumSectionSpacing / 2\n            }\n        }\n        \n        if self.sectionHeadersPinToVisibleBounds {\n            let visibleFrameHeight = collectionView.bounds.size.height + offsetCorrection\n            let visibleContentOffset = self.contentHeight - visibleFrameHeight\n            for section in 0..<numberOfSections {\n                if visibleSections.contains(section) {\n                    if self.headersAttributes[section].frame.origin.y < visibleContentOffset {\n                        if section <= self.targetSection && section < numberOfSections - 1 && self.headersAttributes[section + 1].frame.origin.y > visibleContentOffset {\n                            if section != self.targetSection {\n                                self.headersAttributes[section].frame.origin.y = min(\n                                    self.headersAttributes[section + 1].frame.origin.y - self.headersAttributes[section].frame.size.height,\n                                    visibleContentOffset)\n                            }\n                            let originY = self.headersAttributes[section].frame.origin.y\n                            for i in (0..<section).reversed() {\n                                self.headersAttributes[i].frame.origin.y = originY - self.headersAttributes[i].frame.size.height * CGFloat(section - i)\n                            }\n                        }\n                    }\n                }\n            }\n        }\n    }\n}\n\nprivate typealias ExpandedLayoutPrivate = ExpandedLayout\nprivate extension ExpandedLayoutPrivate {\n    private func sectionHeadersPinToBoundsCorrection(proposedTopOffset: CGFloat,\n                                                     estimatedTopOffset: CGFloat) -> CGFloat {\n        guard let collectionViewContentOffset = self.collectionView?.contentOffset.y,\n            let collectionViewTopInset = self.collectionView?.contentInset.top,\n            self.sectionHeadersPinToVisibleBounds else {\n                return 0\n        }\n        \n        var topOffsetCorrection: CGFloat = 0\n        if proposedTopOffset <= estimatedTopOffset {\n            topOffsetCorrection = 0\n        }\n        else if proposedTopOffset - estimatedTopOffset <= collectionViewTopInset {\n            if proposedTopOffset - collectionViewContentOffset >= collectionViewTopInset {\n                topOffsetCorrection = proposedTopOffset - estimatedTopOffset\n            } else {\n                let newProposedTopOffset = proposedTopOffset - (collectionViewContentOffset - estimatedTopOffset)\n                topOffsetCorrection = min(newProposedTopOffset, proposedTopOffset) - estimatedTopOffset\n            }\n        }\n        else if proposedTopOffset - collectionViewContentOffset < collectionViewTopInset {\n            topOffsetCorrection = proposedTopOffset - collectionViewContentOffset\n        }\n        else if proposedTopOffset - estimatedTopOffset > collectionViewTopInset {\n            topOffsetCorrection = collectionViewTopInset\n        }\n        topOffsetCorrection = max(topOffsetCorrection, 0)\n        return topOffsetCorrection\n    }\n\n    private func determineVisibleIndexPaths() -> [IndexPath] {\n        guard let collectionView = self.collectionView,\n            let delegate = collectionView.delegate as? UICollectionViewDelegateFlowLayout,\n            let dataSource = collectionView.dataSource else {\n            return []\n        }\n        \n        let visibleFrameHeight = collectionView.bounds.size.height + offsetCorrection\n        \n        var visibleItems: [IndexPath] = []\n        var visibleContentHeight: CGFloat = 0\n        \n        guard visibleContentHeight < visibleFrameHeight else {\n            return visibleItems\n        }\n        \n        let numberOfSections = dataSource.numberOfSections!(in: collectionView)\n        for section in self.targetSection..<numberOfSections {\n            let headerHeight = delegate.collectionView!(collectionView, layout: self, referenceSizeForHeaderInSection: section).height\n            visibleContentHeight += headerHeight\n            visibleContentHeight += self.sectionInset.top\n            \n            guard visibleContentHeight < visibleFrameHeight else {\n                return visibleItems\n            }\n            \n            let numberOfItems = dataSource.collectionView(collectionView, numberOfItemsInSection: section)\n            for row in 0..<numberOfItems {\n                let indexPath = IndexPath(row: row, section: section)\n                visibleItems.append(indexPath)\n                let itemSize = delegate.collectionView!(collectionView, layout: self, sizeForItemAt: indexPath)\n\n                let columnsCount = Int(self.contentWidth / itemSize.width)\n                let column = row % columnsCount\n\n                if column == columnsCount - 1 || row == numberOfItems - 1 {\n                    visibleContentHeight += itemSize.height\n                    if row < numberOfItems - 1 {\n                        visibleContentHeight += self.minimumLineSpacing\n                    }\n                    guard visibleContentHeight < visibleFrameHeight else {\n                        return visibleItems\n                    }\n                }\n            }\n            visibleContentHeight += self.sectionInset.bottom\n        }\n        \n        for section in (0..<self.targetSection).reversed() {\n            visibleContentHeight += self.sectionInset.bottom\n            let numberOfItems = dataSource.collectionView(collectionView, numberOfItemsInSection: section)\n            for row in 0..<numberOfItems {\n                let indexPath = IndexPath(row: row, section: section)\n                visibleItems.append(indexPath)\n                let itemSize = delegate.collectionView!(collectionView, layout: self, sizeForItemAt: indexPath)\n\n                let columnsCount = Int(self.contentWidth / itemSize.width)\n                let column = row % columnsCount\n\n                if column == columnsCount - 1 {\n                    visibleContentHeight += itemSize.height\n                    if row > 0 {\n                        visibleContentHeight += self.minimumLineSpacing\n                    }\n                    guard visibleContentHeight < visibleFrameHeight else {\n                        return visibleItems\n                    }\n                }\n            }\n            visibleContentHeight += self.sectionInset.top\n            let headerHeight = delegate.collectionView!(collectionView, layout: self, referenceSizeForHeaderInSection: section).height\n            visibleContentHeight += headerHeight\n            \n            guard visibleContentHeight < visibleFrameHeight else {\n                return visibleItems\n            }\n        }\n        \n        return visibleItems\n    }\n    \n    private func setRealOffset() {\n        guard let collectionView = self.collectionView,\n            let delegate = collectionView.delegate as? UICollectionViewDelegateFlowLayout,\n            let dataSource = collectionView.dataSource else {\n            return\n        }\n        \n        var contentOffset: CGFloat = self.offsetCorrection\n        for section in 0..<targetSection {\n            let headerHeigth = self.headersAttributes[section].frame.size.height\n            contentOffset += headerHeigth\n            contentOffset += self.sectionInset.top\n            \n            let numberOfItems = dataSource.collectionView(collectionView, numberOfItemsInSection: section)\n            for row in 0..<numberOfItems {\n                let indexPath = IndexPath(row: row, section: section)\n                let itemSize = delegate.collectionView!(collectionView, layout: self, sizeForItemAt: indexPath)\n\n                let columnsCount = Int(self.contentWidth / itemSize.width)\n                let column = row % columnsCount\n\n                if column == columnsCount - 1 || row == numberOfItems - 1 {\n                    contentOffset += itemSize.height\n                    if row < numberOfItems - 1 {\n                        contentOffset += self.minimumLineSpacing\n                    }\n                }\n            }\n            \n            contentOffset += self.sectionInset.bottom\n        }\n        let maxContentOffset = max(self.contentHeight, collectionView.bounds.size.height) - collectionView.bounds.size.height\n        contentOffset = min(contentOffset, maxContentOffset)\n        collectionView.setContentOffset(CGPoint(x: collectionView.contentOffset.x, y: contentOffset),\n                                        animated: false)\n    }\n}\n"
  },
  {
    "path": "Source/Supporting Files/CampcotCollectionView.h",
    "content": "//\n//  CampcotCollectionView.h\n//  CampcotCollectionView\n//\n//  Created by Vadim Morozov on 1/26/18.\n//  Copyright © 2018 Touchlane LLC. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n//! Project version number for CampcotCollectionView.\nFOUNDATION_EXPORT double CampcotCollectionViewVersionNumber;\n\n//! Project version string for CampcotCollectionView.\nFOUNDATION_EXPORT const unsigned char CampcotCollectionViewVersionString[];\n\n// In this header, you should import all the public headers of your framework using statements like #import <CampcotCollectionView/PublicHeader.h>\n\n\n"
  },
  {
    "path": "Source/Supporting Files/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>$(DEVELOPMENT_LANGUAGE)</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>FMWK</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>0.0.8</string>\n\t<key>CFBundleVersion</key>\n\t<string>$(CURRENT_PROJECT_VERSION)</string>\n\t<key>NSPrincipalClass</key>\n\t<string></string>\n</dict>\n</plist>\n"
  },
  {
    "path": "Tests/CampcotCollectionViewTests.swift",
    "content": "//\n//  CampcotCollectionViewTests.swift\n//  CampcotCollectionViewTests\n//\n//  Created by Vadim Morozov on 1/26/18.\n//  Copyright © 2018 Touchlane LLC. All rights reserved.\n//\n\nimport XCTest\n@testable import CampcotCollectionView\n\nclass CampcotCollectionViewTests: XCTestCase {\n    \n    override func setUp() {\n        super.setUp()\n        // Put setup code here. This method is called before the invocation of each test method in the class.\n    }\n    \n    override func tearDown() {\n        // Put teardown code here. This method is called after the invocation of each test method in the class.\n        super.tearDown()\n    }\n    \n    func testExample() {\n        // This is an example of a functional test case.\n        // Use XCTAssert and related functions to verify your tests produce the correct results.\n    }\n    \n    func testPerformanceExample() {\n        // This is an example of a performance test case.\n        self.measure {\n            // Put the code you want to measure the time of here.\n        }\n    }\n    \n}\n"
  },
  {
    "path": "Tests/Supporting Files/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>$(DEVELOPMENT_LANGUAGE)</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "scripts/deploy.sh",
    "content": "#!/usr/bin/env bash\n\nsource ~/.rvm/scripts/rvm\nrvm use default\npod trunk push --verbose | ruby -e 'ARGF.each{ print \".\" }'\n"
  }
]