├── .gitignore ├── .travis.yml ├── Demo ├── HorizontalTable.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── HorizontalTable.xcscheme ├── HorizontalTable.xcworkspace │ └── contents.xcworkspacedata ├── HorizontalTable │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── LaunchImage.launchimage │ │ │ └── Contents.json │ ├── Info.plist │ ├── ViewController.h │ ├── ViewController.m │ ├── en.lproj │ │ └── Main.storyboard │ └── main.m ├── Podfile ├── Podfile.lock └── Pods │ ├── Local Podspecs │ └── PTEHorizontalTableView.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ └── project.pbxproj │ └── Target Support Files │ ├── PTEHorizontalTableView │ ├── Info.plist │ ├── PTEHorizontalTableView-dummy.m │ ├── PTEHorizontalTableView-prefix.pch │ ├── PTEHorizontalTableView-umbrella.h │ ├── PTEHorizontalTableView.modulemap │ └── PTEHorizontalTableView.xcconfig │ └── Pods-HorizontalTable │ ├── Info.plist │ ├── Pods-HorizontalTable-acknowledgements.markdown │ ├── Pods-HorizontalTable-acknowledgements.plist │ ├── Pods-HorizontalTable-dummy.m │ ├── Pods-HorizontalTable-frameworks.sh │ ├── Pods-HorizontalTable-resources.sh │ ├── Pods-HorizontalTable-umbrella.h │ ├── Pods-HorizontalTable.debug.xcconfig │ ├── Pods-HorizontalTable.modulemap │ └── Pods-HorizontalTable.release.xcconfig ├── LICENSE ├── NOTICE ├── PTEHorizontalTableView.h ├── PTEHorizontalTableView.m ├── PTEHorizontalTableView.podspec └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | .DS_Store 3 | build/ 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | #*.xcworkspace 13 | !default.xcworkspace 14 | xcuserdata 15 | profile 16 | *.moved-aside 17 | DerivedData 18 | .idea/ 19 | 20 | *.xccheckout 21 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | 2 | osx_image: xcode6.4 3 | language: objective-c 4 | 5 | before_install: 6 | - gem install cocoapods --pre --quiet 7 | - pod --version 8 | - pod setup --silent 9 | - pod repo update --silent 10 | 11 | script: 12 | - pod lib lint 13 | - xctool -project 'Demo/HorizontalTable.xcodeproj' -scheme 'HorizontalTable' -configuration Release -sdk iphonesimulator -arch i386 build 14 | -------------------------------------------------------------------------------- /Demo/HorizontalTable.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | CEBFF8F457264B1D0A1E0781 /* Pods_HorizontalTable.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8E8B45D443B3BB811BE1A71D /* Pods_HorizontalTable.framework */; }; 11 | E5E7D0B31A358B4800AB377F /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E5E7D0B21A358B4800AB377F /* main.m */; }; 12 | E5E7D0B61A358B4800AB377F /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E5E7D0B51A358B4800AB377F /* AppDelegate.m */; }; 13 | E5E7D0B91A358B4800AB377F /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E5E7D0B81A358B4800AB377F /* ViewController.m */; }; 14 | E5E7D0BC1A358B4800AB377F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E5E7D0BA1A358B4800AB377F /* Main.storyboard */; }; 15 | E5E7D0BE1A358B4800AB377F /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E5E7D0BD1A358B4800AB377F /* Images.xcassets */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXFileReference section */ 19 | 447AB9DF9530F579561E940F /* Pods-HorizontalTable.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HorizontalTable.debug.xcconfig"; path = "Pods/Target Support Files/Pods-HorizontalTable/Pods-HorizontalTable.debug.xcconfig"; sourceTree = ""; }; 20 | 8E8B45D443B3BB811BE1A71D /* Pods_HorizontalTable.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_HorizontalTable.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 21 | DD76A58B576496F2828A45D4 /* Pods-HorizontalTable.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HorizontalTable.release.xcconfig"; path = "Pods/Target Support Files/Pods-HorizontalTable/Pods-HorizontalTable.release.xcconfig"; sourceTree = ""; }; 22 | E5E7D0AD1A358B4800AB377F /* HorizontalTable.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HorizontalTable.app; sourceTree = BUILT_PRODUCTS_DIR; }; 23 | E5E7D0B11A358B4800AB377F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 24 | E5E7D0B21A358B4800AB377F /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 25 | E5E7D0B41A358B4800AB377F /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 26 | E5E7D0B51A358B4800AB377F /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 27 | E5E7D0B71A358B4800AB377F /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; 28 | E5E7D0B81A358B4800AB377F /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 29 | E5E7D0BD1A358B4800AB377F /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 30 | E5E7D0D61A358BE200AB377F /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/Main.storyboard; sourceTree = ""; }; 31 | /* End PBXFileReference section */ 32 | 33 | /* Begin PBXFrameworksBuildPhase section */ 34 | E5E7D0AA1A358B4800AB377F /* Frameworks */ = { 35 | isa = PBXFrameworksBuildPhase; 36 | buildActionMask = 2147483647; 37 | files = ( 38 | CEBFF8F457264B1D0A1E0781 /* Pods_HorizontalTable.framework in Frameworks */, 39 | ); 40 | runOnlyForDeploymentPostprocessing = 0; 41 | }; 42 | /* End PBXFrameworksBuildPhase section */ 43 | 44 | /* Begin PBXGroup section */ 45 | 241AB5C5746FA91498C45F13 /* Pods */ = { 46 | isa = PBXGroup; 47 | children = ( 48 | 447AB9DF9530F579561E940F /* Pods-HorizontalTable.debug.xcconfig */, 49 | DD76A58B576496F2828A45D4 /* Pods-HorizontalTable.release.xcconfig */, 50 | ); 51 | name = Pods; 52 | sourceTree = ""; 53 | }; 54 | D267192BED3C7F65BDF468C6 /* Frameworks */ = { 55 | isa = PBXGroup; 56 | children = ( 57 | 8E8B45D443B3BB811BE1A71D /* Pods_HorizontalTable.framework */, 58 | ); 59 | name = Frameworks; 60 | sourceTree = ""; 61 | }; 62 | E5E7D0A41A358B4800AB377F = { 63 | isa = PBXGroup; 64 | children = ( 65 | E5E7D0AF1A358B4800AB377F /* HorizontalTable */, 66 | E5E7D0AE1A358B4800AB377F /* Products */, 67 | 241AB5C5746FA91498C45F13 /* Pods */, 68 | D267192BED3C7F65BDF468C6 /* Frameworks */, 69 | ); 70 | sourceTree = ""; 71 | }; 72 | E5E7D0AE1A358B4800AB377F /* Products */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | E5E7D0AD1A358B4800AB377F /* HorizontalTable.app */, 76 | ); 77 | name = Products; 78 | sourceTree = ""; 79 | }; 80 | E5E7D0AF1A358B4800AB377F /* HorizontalTable */ = { 81 | isa = PBXGroup; 82 | children = ( 83 | E5E7D0B41A358B4800AB377F /* AppDelegate.h */, 84 | E5E7D0B51A358B4800AB377F /* AppDelegate.m */, 85 | E5E7D0B71A358B4800AB377F /* ViewController.h */, 86 | E5E7D0B81A358B4800AB377F /* ViewController.m */, 87 | E5E7D0BA1A358B4800AB377F /* Main.storyboard */, 88 | E5E7D0BD1A358B4800AB377F /* Images.xcassets */, 89 | E5E7D0B01A358B4800AB377F /* Supporting Files */, 90 | ); 91 | path = HorizontalTable; 92 | sourceTree = ""; 93 | }; 94 | E5E7D0B01A358B4800AB377F /* Supporting Files */ = { 95 | isa = PBXGroup; 96 | children = ( 97 | E5E7D0B11A358B4800AB377F /* Info.plist */, 98 | E5E7D0B21A358B4800AB377F /* main.m */, 99 | ); 100 | name = "Supporting Files"; 101 | sourceTree = ""; 102 | }; 103 | /* End PBXGroup section */ 104 | 105 | /* Begin PBXNativeTarget section */ 106 | E5E7D0AC1A358B4800AB377F /* HorizontalTable */ = { 107 | isa = PBXNativeTarget; 108 | buildConfigurationList = E5E7D0D01A358B4800AB377F /* Build configuration list for PBXNativeTarget "HorizontalTable" */; 109 | buildPhases = ( 110 | 14AEBE9D5D9519BDD61AA49B /* [CP] Check Pods Manifest.lock */, 111 | E5E7D0A91A358B4800AB377F /* Sources */, 112 | E5E7D0AA1A358B4800AB377F /* Frameworks */, 113 | E5E7D0AB1A358B4800AB377F /* Resources */, 114 | B223C9D5882BCEE9034E7215 /* [CP] Embed Pods Frameworks */, 115 | 8EE658D7A3E1BD06C2AA7D8C /* [CP] Copy Pods Resources */, 116 | ); 117 | buildRules = ( 118 | ); 119 | dependencies = ( 120 | ); 121 | name = HorizontalTable; 122 | productName = HorizontalTable; 123 | productReference = E5E7D0AD1A358B4800AB377F /* HorizontalTable.app */; 124 | productType = "com.apple.product-type.application"; 125 | }; 126 | /* End PBXNativeTarget section */ 127 | 128 | /* Begin PBXProject section */ 129 | E5E7D0A51A358B4800AB377F /* Project object */ = { 130 | isa = PBXProject; 131 | attributes = { 132 | LastUpgradeCheck = 0900; 133 | ORGANIZATIONNAME = PTEz; 134 | TargetAttributes = { 135 | E5E7D0AC1A358B4800AB377F = { 136 | CreatedOnToolsVersion = 6.1.1; 137 | }; 138 | }; 139 | }; 140 | buildConfigurationList = E5E7D0A81A358B4800AB377F /* Build configuration list for PBXProject "HorizontalTable" */; 141 | compatibilityVersion = "Xcode 3.2"; 142 | developmentRegion = English; 143 | hasScannedForEncodings = 0; 144 | knownRegions = ( 145 | en, 146 | Base, 147 | ); 148 | mainGroup = E5E7D0A41A358B4800AB377F; 149 | productRefGroup = E5E7D0AE1A358B4800AB377F /* Products */; 150 | projectDirPath = ""; 151 | projectRoot = ""; 152 | targets = ( 153 | E5E7D0AC1A358B4800AB377F /* HorizontalTable */, 154 | ); 155 | }; 156 | /* End PBXProject section */ 157 | 158 | /* Begin PBXResourcesBuildPhase section */ 159 | E5E7D0AB1A358B4800AB377F /* Resources */ = { 160 | isa = PBXResourcesBuildPhase; 161 | buildActionMask = 2147483647; 162 | files = ( 163 | E5E7D0BC1A358B4800AB377F /* Main.storyboard in Resources */, 164 | E5E7D0BE1A358B4800AB377F /* Images.xcassets in Resources */, 165 | ); 166 | runOnlyForDeploymentPostprocessing = 0; 167 | }; 168 | /* End PBXResourcesBuildPhase section */ 169 | 170 | /* Begin PBXShellScriptBuildPhase section */ 171 | 14AEBE9D5D9519BDD61AA49B /* [CP] Check Pods Manifest.lock */ = { 172 | isa = PBXShellScriptBuildPhase; 173 | buildActionMask = 2147483647; 174 | files = ( 175 | ); 176 | inputPaths = ( 177 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 178 | "${PODS_ROOT}/Manifest.lock", 179 | ); 180 | name = "[CP] Check Pods Manifest.lock"; 181 | outputPaths = ( 182 | "$(DERIVED_FILE_DIR)/Pods-HorizontalTable-checkManifestLockResult.txt", 183 | ); 184 | runOnlyForDeploymentPostprocessing = 0; 185 | shellPath = /bin/sh; 186 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 187 | showEnvVarsInLog = 0; 188 | }; 189 | 8EE658D7A3E1BD06C2AA7D8C /* [CP] Copy Pods Resources */ = { 190 | isa = PBXShellScriptBuildPhase; 191 | buildActionMask = 2147483647; 192 | files = ( 193 | ); 194 | inputPaths = ( 195 | ); 196 | name = "[CP] Copy Pods Resources"; 197 | outputPaths = ( 198 | ); 199 | runOnlyForDeploymentPostprocessing = 0; 200 | shellPath = /bin/sh; 201 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-HorizontalTable/Pods-HorizontalTable-resources.sh\"\n"; 202 | showEnvVarsInLog = 0; 203 | }; 204 | B223C9D5882BCEE9034E7215 /* [CP] Embed Pods Frameworks */ = { 205 | isa = PBXShellScriptBuildPhase; 206 | buildActionMask = 2147483647; 207 | files = ( 208 | ); 209 | inputPaths = ( 210 | "${SRCROOT}/Pods/Target Support Files/Pods-HorizontalTable/Pods-HorizontalTable-frameworks.sh", 211 | "${BUILT_PRODUCTS_DIR}/PTEHorizontalTableView/PTEHorizontalTableView.framework", 212 | ); 213 | name = "[CP] Embed Pods Frameworks"; 214 | outputPaths = ( 215 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PTEHorizontalTableView.framework", 216 | ); 217 | runOnlyForDeploymentPostprocessing = 0; 218 | shellPath = /bin/sh; 219 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-HorizontalTable/Pods-HorizontalTable-frameworks.sh\"\n"; 220 | showEnvVarsInLog = 0; 221 | }; 222 | /* End PBXShellScriptBuildPhase section */ 223 | 224 | /* Begin PBXSourcesBuildPhase section */ 225 | E5E7D0A91A358B4800AB377F /* Sources */ = { 226 | isa = PBXSourcesBuildPhase; 227 | buildActionMask = 2147483647; 228 | files = ( 229 | E5E7D0B91A358B4800AB377F /* ViewController.m in Sources */, 230 | E5E7D0B61A358B4800AB377F /* AppDelegate.m in Sources */, 231 | E5E7D0B31A358B4800AB377F /* main.m in Sources */, 232 | ); 233 | runOnlyForDeploymentPostprocessing = 0; 234 | }; 235 | /* End PBXSourcesBuildPhase section */ 236 | 237 | /* Begin PBXVariantGroup section */ 238 | E5E7D0BA1A358B4800AB377F /* Main.storyboard */ = { 239 | isa = PBXVariantGroup; 240 | children = ( 241 | E5E7D0D61A358BE200AB377F /* en */, 242 | ); 243 | name = Main.storyboard; 244 | sourceTree = ""; 245 | }; 246 | /* End PBXVariantGroup section */ 247 | 248 | /* Begin XCBuildConfiguration section */ 249 | E5E7D0CE1A358B4800AB377F /* Debug */ = { 250 | isa = XCBuildConfiguration; 251 | buildSettings = { 252 | ALWAYS_SEARCH_USER_PATHS = NO; 253 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 254 | CLANG_CXX_LIBRARY = "libc++"; 255 | CLANG_ENABLE_MODULES = YES; 256 | CLANG_ENABLE_OBJC_ARC = YES; 257 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 258 | CLANG_WARN_BOOL_CONVERSION = YES; 259 | CLANG_WARN_COMMA = YES; 260 | CLANG_WARN_CONSTANT_CONVERSION = YES; 261 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 262 | CLANG_WARN_EMPTY_BODY = YES; 263 | CLANG_WARN_ENUM_CONVERSION = YES; 264 | CLANG_WARN_INFINITE_RECURSION = YES; 265 | CLANG_WARN_INT_CONVERSION = YES; 266 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 267 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 268 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 269 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 270 | CLANG_WARN_STRICT_PROTOTYPES = YES; 271 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 272 | CLANG_WARN_UNREACHABLE_CODE = YES; 273 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 274 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 275 | COPY_PHASE_STRIP = NO; 276 | ENABLE_STRICT_OBJC_MSGSEND = YES; 277 | ENABLE_TESTABILITY = YES; 278 | GCC_C_LANGUAGE_STANDARD = gnu99; 279 | GCC_DYNAMIC_NO_PIC = NO; 280 | GCC_NO_COMMON_BLOCKS = YES; 281 | GCC_OPTIMIZATION_LEVEL = 0; 282 | GCC_PREPROCESSOR_DEFINITIONS = ( 283 | "DEBUG=1", 284 | "$(inherited)", 285 | ); 286 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 287 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 288 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 289 | GCC_WARN_UNDECLARED_SELECTOR = YES; 290 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 291 | GCC_WARN_UNUSED_FUNCTION = YES; 292 | GCC_WARN_UNUSED_VARIABLE = YES; 293 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 294 | MTL_ENABLE_DEBUG_INFO = YES; 295 | ONLY_ACTIVE_ARCH = YES; 296 | SDKROOT = iphoneos; 297 | TARGETED_DEVICE_FAMILY = "1,2"; 298 | }; 299 | name = Debug; 300 | }; 301 | E5E7D0CF1A358B4800AB377F /* Release */ = { 302 | isa = XCBuildConfiguration; 303 | buildSettings = { 304 | ALWAYS_SEARCH_USER_PATHS = NO; 305 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 306 | CLANG_CXX_LIBRARY = "libc++"; 307 | CLANG_ENABLE_MODULES = YES; 308 | CLANG_ENABLE_OBJC_ARC = YES; 309 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 310 | CLANG_WARN_BOOL_CONVERSION = YES; 311 | CLANG_WARN_COMMA = YES; 312 | CLANG_WARN_CONSTANT_CONVERSION = YES; 313 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 314 | CLANG_WARN_EMPTY_BODY = YES; 315 | CLANG_WARN_ENUM_CONVERSION = YES; 316 | CLANG_WARN_INFINITE_RECURSION = YES; 317 | CLANG_WARN_INT_CONVERSION = YES; 318 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 319 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 320 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 321 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 322 | CLANG_WARN_STRICT_PROTOTYPES = YES; 323 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 324 | CLANG_WARN_UNREACHABLE_CODE = YES; 325 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 326 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 327 | COPY_PHASE_STRIP = YES; 328 | ENABLE_NS_ASSERTIONS = NO; 329 | ENABLE_STRICT_OBJC_MSGSEND = YES; 330 | GCC_C_LANGUAGE_STANDARD = gnu99; 331 | GCC_NO_COMMON_BLOCKS = YES; 332 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 333 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 334 | GCC_WARN_UNDECLARED_SELECTOR = YES; 335 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 336 | GCC_WARN_UNUSED_FUNCTION = YES; 337 | GCC_WARN_UNUSED_VARIABLE = YES; 338 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 339 | MTL_ENABLE_DEBUG_INFO = NO; 340 | SDKROOT = iphoneos; 341 | TARGETED_DEVICE_FAMILY = "1,2"; 342 | VALIDATE_PRODUCT = YES; 343 | }; 344 | name = Release; 345 | }; 346 | E5E7D0D11A358B4800AB377F /* Debug */ = { 347 | isa = XCBuildConfiguration; 348 | baseConfigurationReference = 447AB9DF9530F579561E940F /* Pods-HorizontalTable.debug.xcconfig */; 349 | buildSettings = { 350 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 351 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 352 | INFOPLIST_FILE = HorizontalTable/Info.plist; 353 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 354 | PRODUCT_BUNDLE_IDENTIFIER = "com.PTEz.$(PRODUCT_NAME:rfc1034identifier)"; 355 | PRODUCT_NAME = "$(TARGET_NAME)"; 356 | }; 357 | name = Debug; 358 | }; 359 | E5E7D0D21A358B4800AB377F /* Release */ = { 360 | isa = XCBuildConfiguration; 361 | baseConfigurationReference = DD76A58B576496F2828A45D4 /* Pods-HorizontalTable.release.xcconfig */; 362 | buildSettings = { 363 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 364 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 365 | INFOPLIST_FILE = HorizontalTable/Info.plist; 366 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 367 | PRODUCT_BUNDLE_IDENTIFIER = "com.PTEz.$(PRODUCT_NAME:rfc1034identifier)"; 368 | PRODUCT_NAME = "$(TARGET_NAME)"; 369 | }; 370 | name = Release; 371 | }; 372 | /* End XCBuildConfiguration section */ 373 | 374 | /* Begin XCConfigurationList section */ 375 | E5E7D0A81A358B4800AB377F /* Build configuration list for PBXProject "HorizontalTable" */ = { 376 | isa = XCConfigurationList; 377 | buildConfigurations = ( 378 | E5E7D0CE1A358B4800AB377F /* Debug */, 379 | E5E7D0CF1A358B4800AB377F /* Release */, 380 | ); 381 | defaultConfigurationIsVisible = 0; 382 | defaultConfigurationName = Release; 383 | }; 384 | E5E7D0D01A358B4800AB377F /* Build configuration list for PBXNativeTarget "HorizontalTable" */ = { 385 | isa = XCConfigurationList; 386 | buildConfigurations = ( 387 | E5E7D0D11A358B4800AB377F /* Debug */, 388 | E5E7D0D21A358B4800AB377F /* Release */, 389 | ); 390 | defaultConfigurationIsVisible = 0; 391 | defaultConfigurationName = Release; 392 | }; 393 | /* End XCConfigurationList section */ 394 | }; 395 | rootObject = E5E7D0A51A358B4800AB377F /* Project object */; 396 | } 397 | -------------------------------------------------------------------------------- /Demo/HorizontalTable.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Demo/HorizontalTable.xcodeproj/xcshareddata/xcschemes/HorizontalTable.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 48 | 54 | 55 | 56 | 57 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 80 | 82 | 88 | 89 | 90 | 91 | 92 | 93 | 99 | 101 | 107 | 108 | 109 | 110 | 112 | 113 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /Demo/HorizontalTable.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Demo/HorizontalTable/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // HorizontalTable 4 | // 5 | // Created by Ernesto Rivera on 8/12/14. 6 | // Copyright (c) 2014-2017 PTEz. 7 | // Inspired by EasyTableView by Aleksey Novicov. 8 | // 9 | // Licensed under the Apache License, Version 2.0 (the "License"); 10 | // you may not use this file except in compliance with the License. 11 | // You may obtain a copy of the License at 12 | // 13 | // http://www.apache.org/licenses/LICENSE-2.0 14 | // 15 | // Unless required by applicable law or agreed to in writing, software 16 | // distributed under the License is distributed on an "AS IS" BASIS, 17 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | // See the License for the specific language governing permissions and 19 | // limitations under the License. 20 | // 21 | 22 | #import 23 | 24 | @interface AppDelegate : UIResponder 25 | 26 | @property (strong, nonatomic) UIWindow *window; 27 | 28 | 29 | @end 30 | 31 | -------------------------------------------------------------------------------- /Demo/HorizontalTable/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // HorizontalTable 4 | // 5 | // Created by Ernesto Rivera on 8/12/14. 6 | // Copyright (c) 2014-2017 PTEz. 7 | // Inspired by EasyTableView by Aleksey Novicov. 8 | // 9 | // Licensed under the Apache License, Version 2.0 (the "License"); 10 | // you may not use this file except in compliance with the License. 11 | // You may obtain a copy of the License at 12 | // 13 | // http://www.apache.org/licenses/LICENSE-2.0 14 | // 15 | // Unless required by applicable law or agreed to in writing, software 16 | // distributed under the License is distributed on an "AS IS" BASIS, 17 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | // See the License for the specific language governing permissions and 19 | // limitations under the License. 20 | // 21 | 22 | #import "AppDelegate.h" 23 | 24 | @interface AppDelegate () 25 | 26 | @end 27 | 28 | @implementation AppDelegate 29 | 30 | 31 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 32 | // Override point for customization after application launch. 33 | return YES; 34 | } 35 | 36 | - (void)applicationWillResignActive:(UIApplication *)application { 37 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 38 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 39 | } 40 | 41 | - (void)applicationDidEnterBackground:(UIApplication *)application { 42 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 43 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 44 | } 45 | 46 | - (void)applicationWillEnterForeground:(UIApplication *)application { 47 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 48 | } 49 | 50 | - (void)applicationDidBecomeActive:(UIApplication *)application { 51 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 52 | } 53 | 54 | - (void)applicationWillTerminate:(UIApplication *)application { 55 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 56 | } 57 | 58 | @end 59 | -------------------------------------------------------------------------------- /Demo/HorizontalTable/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "29x29", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "29x29", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "40x40", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "40x40", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "76x76", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "76x76", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } -------------------------------------------------------------------------------- /Demo/HorizontalTable/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "extent" : "full-screen", 14 | "minimum-system-version" : "7.0", 15 | "subtype" : "retina4", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "orientation" : "portrait", 20 | "idiom" : "ipad", 21 | "extent" : "full-screen", 22 | "minimum-system-version" : "7.0", 23 | "scale" : "1x" 24 | }, 25 | { 26 | "orientation" : "landscape", 27 | "idiom" : "ipad", 28 | "extent" : "full-screen", 29 | "minimum-system-version" : "7.0", 30 | "scale" : "1x" 31 | }, 32 | { 33 | "orientation" : "portrait", 34 | "idiom" : "ipad", 35 | "extent" : "full-screen", 36 | "minimum-system-version" : "7.0", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "orientation" : "landscape", 41 | "idiom" : "ipad", 42 | "extent" : "full-screen", 43 | "minimum-system-version" : "7.0", 44 | "scale" : "2x" 45 | }, 46 | { 47 | "orientation" : "portrait", 48 | "idiom" : "iphone", 49 | "extent" : "full-screen", 50 | "scale" : "1x" 51 | }, 52 | { 53 | "orientation" : "portrait", 54 | "idiom" : "iphone", 55 | "extent" : "full-screen", 56 | "scale" : "2x" 57 | }, 58 | { 59 | "orientation" : "portrait", 60 | "idiom" : "iphone", 61 | "extent" : "full-screen", 62 | "subtype" : "retina4", 63 | "scale" : "2x" 64 | }, 65 | { 66 | "orientation" : "portrait", 67 | "idiom" : "ipad", 68 | "extent" : "to-status-bar", 69 | "scale" : "1x" 70 | }, 71 | { 72 | "orientation" : "portrait", 73 | "idiom" : "ipad", 74 | "extent" : "full-screen", 75 | "scale" : "1x" 76 | }, 77 | { 78 | "orientation" : "landscape", 79 | "idiom" : "ipad", 80 | "extent" : "to-status-bar", 81 | "scale" : "1x" 82 | }, 83 | { 84 | "orientation" : "landscape", 85 | "idiom" : "ipad", 86 | "extent" : "full-screen", 87 | "scale" : "1x" 88 | }, 89 | { 90 | "orientation" : "portrait", 91 | "idiom" : "ipad", 92 | "extent" : "to-status-bar", 93 | "scale" : "2x" 94 | }, 95 | { 96 | "orientation" : "portrait", 97 | "idiom" : "ipad", 98 | "extent" : "full-screen", 99 | "scale" : "2x" 100 | }, 101 | { 102 | "orientation" : "landscape", 103 | "idiom" : "ipad", 104 | "extent" : "to-status-bar", 105 | "scale" : "2x" 106 | }, 107 | { 108 | "orientation" : "landscape", 109 | "idiom" : "ipad", 110 | "extent" : "full-screen", 111 | "scale" : "2x" 112 | } 113 | ], 114 | "info" : { 115 | "version" : 1, 116 | "author" : "xcode" 117 | } 118 | } -------------------------------------------------------------------------------- /Demo/HorizontalTable/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0.1 23 | LSRequiresIPhoneOS 24 | 25 | UIMainStoryboardFile 26 | Main 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UISupportedInterfaceOrientations~ipad 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationPortraitUpsideDown 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /Demo/HorizontalTable/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // HorizontalTable 4 | // 5 | // Created by Ernesto Rivera on 8/12/14. 6 | // Copyright (c) 2014-2017 PTEz. 7 | // Inspired by EasyTableView by Aleksey Novicov. 8 | // 9 | // Licensed under the Apache License, Version 2.0 (the "License"); 10 | // you may not use this file except in compliance with the License. 11 | // You may obtain a copy of the License at 12 | // 13 | // http://www.apache.org/licenses/LICENSE-2.0 14 | // 15 | // Unless required by applicable law or agreed to in writing, software 16 | // distributed under the License is distributed on an "AS IS" BASIS, 17 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | // See the License for the specific language governing permissions and 19 | // limitations under the License. 20 | // 21 | 22 | #import 23 | #import 24 | 25 | @interface ViewController : UIViewController 26 | 27 | 28 | @end 29 | 30 | -------------------------------------------------------------------------------- /Demo/HorizontalTable/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // HorizontalTable 4 | // 5 | // Created by Ernesto Rivera on 8/12/14. 6 | // Copyright (c) 2014-2017 PTEz. 7 | // Inspired by EasyTableView by Aleksey Novicov. 8 | // 9 | // Licensed under the Apache License, Version 2.0 (the "License"); 10 | // you may not use this file except in compliance with the License. 11 | // You may obtain a copy of the License at 12 | // 13 | // http://www.apache.org/licenses/LICENSE-2.0 14 | // 15 | // Unless required by applicable law or agreed to in writing, software 16 | // distributed under the License is distributed on an "AS IS" BASIS, 17 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | // See the License for the specific language governing permissions and 19 | // limitations under the License. 20 | // 21 | 22 | #import "ViewController.h" 23 | 24 | @implementation ViewController 25 | { 26 | NSArray * objects; 27 | } 28 | 29 | - (void)viewDidLoad 30 | { 31 | [super viewDidLoad]; 32 | 33 | objects = @[@"1", @"2", @"3", @"4", @"5", @"6", @"7", @"8", @"9", @"10"]; 34 | } 35 | 36 | - (NSInteger)tableView:(PTEHorizontalTableView *)horizontalTableView 37 | numberOfRowsInSection:(NSInteger)section 38 | { 39 | return objects.count; 40 | } 41 | 42 | - (UITableViewCell *)tableView:(PTEHorizontalTableView *)horizontalTableView 43 | cellForRowAtIndexPath:(NSIndexPath *)indexPath 44 | { 45 | UITableViewCell * cell = [horizontalTableView.tableView dequeueReusableCellWithIdentifier:@"pink_cell"]; 46 | UILabel * label = cell.contentView.subviews[0]; 47 | label.text = objects[indexPath.row]; 48 | return cell; 49 | } 50 | 51 | - (CGFloat)tableView:(PTEHorizontalTableView *)horizontalTableView widthForCellAtIndexPath:(NSIndexPath *)indexPath{ 52 | return 90; 53 | } 54 | 55 | - (UIView*)tableView:(PTEHorizontalTableView*)horizontalTableView viewForHeaderInSection:(NSInteger)section{ 56 | UIView *m = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 50,90)]; 57 | [m setBackgroundColor:[UIColor darkGrayColor]]; 58 | return m; 59 | } 60 | 61 | - (UIView*)tableView:(PTEHorizontalTableView*)horizontalTableView viewForFooterInSection:(NSInteger)section{ 62 | UIView *m = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 50,90)]; 63 | [m setBackgroundColor:[UIColor redColor]]; 64 | return m; 65 | } 66 | 67 | - (void)tableView:(PTEHorizontalTableView *)horizontalTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{ 68 | NSLog(@"selected row -> %ld",(long)indexPath.row); 69 | [horizontalTableView.tableView deselectRowAtIndexPath:indexPath animated:YES]; 70 | } 71 | 72 | @end 73 | 74 | -------------------------------------------------------------------------------- /Demo/HorizontalTable/en.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /Demo/HorizontalTable/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // HorizontalTable 4 | // 5 | // Created by Ernesto Rivera on 8/12/14. 6 | // Copyright (c) 2014-2017 PTEz. 7 | // Inspired by EasyTableView by Aleksey Novicov. 8 | // 9 | // Licensed under the Apache License, Version 2.0 (the "License"); 10 | // you may not use this file except in compliance with the License. 11 | // You may obtain a copy of the License at 12 | // 13 | // http://www.apache.org/licenses/LICENSE-2.0 14 | // 15 | // Unless required by applicable law or agreed to in writing, software 16 | // distributed under the License is distributed on an "AS IS" BASIS, 17 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | // See the License for the specific language governing permissions and 19 | // limitations under the License. 20 | // 21 | 22 | #import 23 | #import "AppDelegate.h" 24 | 25 | int main(int argc, char * argv[]) { 26 | @autoreleasepool { 27 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Demo/Podfile: -------------------------------------------------------------------------------- 1 | 2 | platform :ios, '8.0' 3 | use_frameworks! 4 | 5 | target 'HorizontalTable' do 6 | 7 | # For regular projects 8 | #pod 'PTEHorizontalTableView' 9 | 10 | # For development 11 | pod 'PTEHorizontalTableView', :path => '../' 12 | 13 | end 14 | -------------------------------------------------------------------------------- /Demo/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - PTEHorizontalTableView (1.1.0) 3 | 4 | DEPENDENCIES: 5 | - PTEHorizontalTableView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | PTEHorizontalTableView: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | PTEHorizontalTableView: 635dd91f11206ebeda9f300500e47fe970d56d32 13 | 14 | PODFILE CHECKSUM: 555dc5dc5e252b5fe78c8cfc240fdde7e318e260 15 | 16 | COCOAPODS: 1.3.1 17 | -------------------------------------------------------------------------------- /Demo/Pods/Local Podspecs/PTEHorizontalTableView.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "PTEHorizontalTableView", 3 | "version": "1.1.0", 4 | "summary": "Horizontal UITableView inspired by EasyTableView.", 5 | "homepage": "https://github.com/PTEz/PTEHorizontalTableView", 6 | "license": { 7 | "type": "Apache License, Version 2.0", 8 | "file": "LICENSE" 9 | }, 10 | "authors": { 11 | "Ernesto Rivera": "rivera.ernesto@gmail.com" 12 | }, 13 | "source": { 14 | "git": "https://github.com/PTEz/PTEHorizontalTableView.git", 15 | "tag": "1.1.0" 16 | }, 17 | "platforms": { 18 | "ios": "5.0" 19 | }, 20 | "requires_arc": true, 21 | "preserve_paths": [ 22 | "README.md", 23 | "NOTICE" 24 | ], 25 | "source_files": "PTEHorizontalTableView.{h,m}" 26 | } 27 | -------------------------------------------------------------------------------- /Demo/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - PTEHorizontalTableView (1.1.0) 3 | 4 | DEPENDENCIES: 5 | - PTEHorizontalTableView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | PTEHorizontalTableView: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | PTEHorizontalTableView: 635dd91f11206ebeda9f300500e47fe970d56d32 13 | 14 | PODFILE CHECKSUM: 555dc5dc5e252b5fe78c8cfc240fdde7e318e260 15 | 16 | COCOAPODS: 1.3.1 17 | -------------------------------------------------------------------------------- /Demo/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 185246FE1EB6955E4D375E65206ADFAD /* Pods-HorizontalTable-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = BF7D9BC5A065D66890837E8AEC9C1653 /* Pods-HorizontalTable-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 316AB7D933CCC963A255DDFF771E122C /* PTEHorizontalTableView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 91F197E38B6795E1AA072F3244ACC879 /* PTEHorizontalTableView-dummy.m */; }; 12 | 37E0D04F953DDFFD3FC064588F005D33 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 13 | 44C5AC95DCC5D6EDDCC2620BFF3D699E /* PTEHorizontalTableView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5A9D35CDE16D34401B6024DFAC3175E8 /* PTEHorizontalTableView.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 14 | 87443BE1D1E509BD4D46FCEB5E0AA9C3 /* PTEHorizontalTableView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D016071FAF91D3A7741667C023D689FA /* PTEHorizontalTableView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | 98CBFC02540BF997BE07EB08DB75CB8D /* PTEHorizontalTableView.h in Headers */ = {isa = PBXBuildFile; fileRef = C71EAF6066E36F60BA0D439803E33DD9 /* PTEHorizontalTableView.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | E1D05AC098DEA693A132B59B03D9C31E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 17 | F4F39E768A2464D88D95E19B5C1996C8 /* Pods-HorizontalTable-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 2AD393AC7AA55297450C0FED1E376126 /* Pods-HorizontalTable-dummy.m */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 06C6C295C969A6F442E4C2622A149E96 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = D32B8003812DADEC4EA9D45CA903FFE3; 26 | remoteInfo = PTEHorizontalTableView; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 2AD393AC7AA55297450C0FED1E376126 /* Pods-HorizontalTable-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-HorizontalTable-dummy.m"; sourceTree = ""; }; 32 | 2F5EA3B7AF24A55C983DC4A832FA93AA /* Pods-HorizontalTable-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-HorizontalTable-resources.sh"; sourceTree = ""; }; 33 | 3CD92C8BDAF30F406108674BD011FEFB /* PTEHorizontalTableView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = PTEHorizontalTableView.framework; path = PTEHorizontalTableView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 4F5955CFB752C8434C1739E61A412693 /* PTEHorizontalTableView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = PTEHorizontalTableView.xcconfig; sourceTree = ""; }; 35 | 5A9D35CDE16D34401B6024DFAC3175E8 /* PTEHorizontalTableView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = PTEHorizontalTableView.m; sourceTree = ""; }; 36 | 5C9E31A79C727B8B86B6B4F215661077 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 37 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 38 | 69B02D79682F74F3761C91C684679F51 /* Pods-HorizontalTable-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-HorizontalTable-frameworks.sh"; sourceTree = ""; }; 39 | 726467F25828C08B7A025CB52E49DD69 /* PTEHorizontalTableView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = PTEHorizontalTableView.modulemap; sourceTree = ""; }; 40 | 7E187E9AE596FA0F06C6C082B4B39EC4 /* Pods-HorizontalTable-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-HorizontalTable-acknowledgements.markdown"; sourceTree = ""; }; 41 | 8348770F9004A9E059E0497AB5F02383 /* Pods-HorizontalTable-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-HorizontalTable-acknowledgements.plist"; sourceTree = ""; }; 42 | 84758D2197E8929F31A7167DB8768FFF /* Pods-HorizontalTable.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-HorizontalTable.modulemap"; sourceTree = ""; }; 43 | 91F197E38B6795E1AA072F3244ACC879 /* PTEHorizontalTableView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "PTEHorizontalTableView-dummy.m"; sourceTree = ""; }; 44 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 45 | AB611A170DC09AB62C67735580688286 /* PTEHorizontalTableView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PTEHorizontalTableView-prefix.pch"; sourceTree = ""; }; 46 | AF22E66B250230D3E54D115BCF65143F /* Pods-HorizontalTable.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-HorizontalTable.debug.xcconfig"; sourceTree = ""; }; 47 | BC0E40A1C8D74D5D2FB9D75D5350D7F0 /* Pods-HorizontalTable.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-HorizontalTable.release.xcconfig"; sourceTree = ""; }; 48 | BDFB42D2B4E156F7E02DC2E89B3C7725 /* Pods_HorizontalTable.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_HorizontalTable.framework; path = "Pods-HorizontalTable.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | BF7D9BC5A065D66890837E8AEC9C1653 /* Pods-HorizontalTable-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-HorizontalTable-umbrella.h"; sourceTree = ""; }; 50 | C19C495B25FEC56E7768255A1FC4F32E /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 51 | C71EAF6066E36F60BA0D439803E33DD9 /* PTEHorizontalTableView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = PTEHorizontalTableView.h; sourceTree = ""; }; 52 | D016071FAF91D3A7741667C023D689FA /* PTEHorizontalTableView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PTEHorizontalTableView-umbrella.h"; sourceTree = ""; }; 53 | /* End PBXFileReference section */ 54 | 55 | /* Begin PBXFrameworksBuildPhase section */ 56 | 42D80D05F5529EB6F34DA3995E287C53 /* Frameworks */ = { 57 | isa = PBXFrameworksBuildPhase; 58 | buildActionMask = 2147483647; 59 | files = ( 60 | E1D05AC098DEA693A132B59B03D9C31E /* Foundation.framework in Frameworks */, 61 | ); 62 | runOnlyForDeploymentPostprocessing = 0; 63 | }; 64 | 8AE000D7C402992774F0AD0BB457E793 /* Frameworks */ = { 65 | isa = PBXFrameworksBuildPhase; 66 | buildActionMask = 2147483647; 67 | files = ( 68 | 37E0D04F953DDFFD3FC064588F005D33 /* Foundation.framework in Frameworks */, 69 | ); 70 | runOnlyForDeploymentPostprocessing = 0; 71 | }; 72 | /* End PBXFrameworksBuildPhase section */ 73 | 74 | /* Begin PBXGroup section */ 75 | 2C8A6631CDB3688E1469122117416D46 /* Development Pods */ = { 76 | isa = PBXGroup; 77 | children = ( 78 | F7F909E9CEFC6E003BB2A5CA5AF79ADC /* PTEHorizontalTableView */, 79 | ); 80 | name = "Development Pods"; 81 | sourceTree = ""; 82 | }; 83 | 4B192B31C3B1A611E19C3025931E3053 /* Products */ = { 84 | isa = PBXGroup; 85 | children = ( 86 | BDFB42D2B4E156F7E02DC2E89B3C7725 /* Pods_HorizontalTable.framework */, 87 | 3CD92C8BDAF30F406108674BD011FEFB /* PTEHorizontalTableView.framework */, 88 | ); 89 | name = Products; 90 | sourceTree = ""; 91 | }; 92 | 4FC3D5B3844970B37251090E63315CC7 /* Support Files */ = { 93 | isa = PBXGroup; 94 | children = ( 95 | C19C495B25FEC56E7768255A1FC4F32E /* Info.plist */, 96 | 726467F25828C08B7A025CB52E49DD69 /* PTEHorizontalTableView.modulemap */, 97 | 4F5955CFB752C8434C1739E61A412693 /* PTEHorizontalTableView.xcconfig */, 98 | 91F197E38B6795E1AA072F3244ACC879 /* PTEHorizontalTableView-dummy.m */, 99 | AB611A170DC09AB62C67735580688286 /* PTEHorizontalTableView-prefix.pch */, 100 | D016071FAF91D3A7741667C023D689FA /* PTEHorizontalTableView-umbrella.h */, 101 | ); 102 | name = "Support Files"; 103 | path = "Demo/Pods/Target Support Files/PTEHorizontalTableView"; 104 | sourceTree = ""; 105 | }; 106 | 7DB346D0F39D3F0E887471402A8071AB = { 107 | isa = PBXGroup; 108 | children = ( 109 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 110 | 2C8A6631CDB3688E1469122117416D46 /* Development Pods */, 111 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 112 | 4B192B31C3B1A611E19C3025931E3053 /* Products */, 113 | F111222824AC0FE5ABA6E27DFE1B5551 /* Targets Support Files */, 114 | ); 115 | sourceTree = ""; 116 | }; 117 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 118 | isa = PBXGroup; 119 | children = ( 120 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 121 | ); 122 | name = Frameworks; 123 | sourceTree = ""; 124 | }; 125 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 129 | ); 130 | name = iOS; 131 | sourceTree = ""; 132 | }; 133 | F111222824AC0FE5ABA6E27DFE1B5551 /* Targets Support Files */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | F919BDD407C7782FBC428D3F7D654566 /* Pods-HorizontalTable */, 137 | ); 138 | name = "Targets Support Files"; 139 | sourceTree = ""; 140 | }; 141 | F7F909E9CEFC6E003BB2A5CA5AF79ADC /* PTEHorizontalTableView */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | C71EAF6066E36F60BA0D439803E33DD9 /* PTEHorizontalTableView.h */, 145 | 5A9D35CDE16D34401B6024DFAC3175E8 /* PTEHorizontalTableView.m */, 146 | 4FC3D5B3844970B37251090E63315CC7 /* Support Files */, 147 | ); 148 | name = PTEHorizontalTableView; 149 | path = ../..; 150 | sourceTree = ""; 151 | }; 152 | F919BDD407C7782FBC428D3F7D654566 /* Pods-HorizontalTable */ = { 153 | isa = PBXGroup; 154 | children = ( 155 | 5C9E31A79C727B8B86B6B4F215661077 /* Info.plist */, 156 | 84758D2197E8929F31A7167DB8768FFF /* Pods-HorizontalTable.modulemap */, 157 | 7E187E9AE596FA0F06C6C082B4B39EC4 /* Pods-HorizontalTable-acknowledgements.markdown */, 158 | 8348770F9004A9E059E0497AB5F02383 /* Pods-HorizontalTable-acknowledgements.plist */, 159 | 2AD393AC7AA55297450C0FED1E376126 /* Pods-HorizontalTable-dummy.m */, 160 | 69B02D79682F74F3761C91C684679F51 /* Pods-HorizontalTable-frameworks.sh */, 161 | 2F5EA3B7AF24A55C983DC4A832FA93AA /* Pods-HorizontalTable-resources.sh */, 162 | BF7D9BC5A065D66890837E8AEC9C1653 /* Pods-HorizontalTable-umbrella.h */, 163 | AF22E66B250230D3E54D115BCF65143F /* Pods-HorizontalTable.debug.xcconfig */, 164 | BC0E40A1C8D74D5D2FB9D75D5350D7F0 /* Pods-HorizontalTable.release.xcconfig */, 165 | ); 166 | name = "Pods-HorizontalTable"; 167 | path = "Target Support Files/Pods-HorizontalTable"; 168 | sourceTree = ""; 169 | }; 170 | /* End PBXGroup section */ 171 | 172 | /* Begin PBXHeadersBuildPhase section */ 173 | 4297C3F6874F4A9BEB35FD48B8FC4036 /* Headers */ = { 174 | isa = PBXHeadersBuildPhase; 175 | buildActionMask = 2147483647; 176 | files = ( 177 | 87443BE1D1E509BD4D46FCEB5E0AA9C3 /* PTEHorizontalTableView-umbrella.h in Headers */, 178 | 98CBFC02540BF997BE07EB08DB75CB8D /* PTEHorizontalTableView.h in Headers */, 179 | ); 180 | runOnlyForDeploymentPostprocessing = 0; 181 | }; 182 | E606926051E3F4A6D05648E040DCAE19 /* Headers */ = { 183 | isa = PBXHeadersBuildPhase; 184 | buildActionMask = 2147483647; 185 | files = ( 186 | 185246FE1EB6955E4D375E65206ADFAD /* Pods-HorizontalTable-umbrella.h in Headers */, 187 | ); 188 | runOnlyForDeploymentPostprocessing = 0; 189 | }; 190 | /* End PBXHeadersBuildPhase section */ 191 | 192 | /* Begin PBXNativeTarget section */ 193 | D32B8003812DADEC4EA9D45CA903FFE3 /* PTEHorizontalTableView */ = { 194 | isa = PBXNativeTarget; 195 | buildConfigurationList = 810011634F0C31250BB549ACD73129E7 /* Build configuration list for PBXNativeTarget "PTEHorizontalTableView" */; 196 | buildPhases = ( 197 | D4350F7697606F710904CCB8101653C9 /* Sources */, 198 | 8AE000D7C402992774F0AD0BB457E793 /* Frameworks */, 199 | 4297C3F6874F4A9BEB35FD48B8FC4036 /* Headers */, 200 | ); 201 | buildRules = ( 202 | ); 203 | dependencies = ( 204 | ); 205 | name = PTEHorizontalTableView; 206 | productName = PTEHorizontalTableView; 207 | productReference = 3CD92C8BDAF30F406108674BD011FEFB /* PTEHorizontalTableView.framework */; 208 | productType = "com.apple.product-type.framework"; 209 | }; 210 | E836E68A1FAA27AF7807469FA08F4067 /* Pods-HorizontalTable */ = { 211 | isa = PBXNativeTarget; 212 | buildConfigurationList = 7456EB32A50FD92C38B846DD3922DEA0 /* Build configuration list for PBXNativeTarget "Pods-HorizontalTable" */; 213 | buildPhases = ( 214 | 882C2E4D2917F28A9EDB5B985AA804A4 /* Sources */, 215 | 42D80D05F5529EB6F34DA3995E287C53 /* Frameworks */, 216 | E606926051E3F4A6D05648E040DCAE19 /* Headers */, 217 | ); 218 | buildRules = ( 219 | ); 220 | dependencies = ( 221 | BCF4FDE5581D8E5CCAF407C15F6EAFCB /* PBXTargetDependency */, 222 | ); 223 | name = "Pods-HorizontalTable"; 224 | productName = "Pods-HorizontalTable"; 225 | productReference = BDFB42D2B4E156F7E02DC2E89B3C7725 /* Pods_HorizontalTable.framework */; 226 | productType = "com.apple.product-type.framework"; 227 | }; 228 | /* End PBXNativeTarget section */ 229 | 230 | /* Begin PBXProject section */ 231 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 232 | isa = PBXProject; 233 | attributes = { 234 | LastSwiftUpdateCheck = 0830; 235 | LastUpgradeCheck = 0700; 236 | }; 237 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 238 | compatibilityVersion = "Xcode 3.2"; 239 | developmentRegion = English; 240 | hasScannedForEncodings = 0; 241 | knownRegions = ( 242 | en, 243 | ); 244 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 245 | productRefGroup = 4B192B31C3B1A611E19C3025931E3053 /* Products */; 246 | projectDirPath = ""; 247 | projectRoot = ""; 248 | targets = ( 249 | E836E68A1FAA27AF7807469FA08F4067 /* Pods-HorizontalTable */, 250 | D32B8003812DADEC4EA9D45CA903FFE3 /* PTEHorizontalTableView */, 251 | ); 252 | }; 253 | /* End PBXProject section */ 254 | 255 | /* Begin PBXSourcesBuildPhase section */ 256 | 882C2E4D2917F28A9EDB5B985AA804A4 /* Sources */ = { 257 | isa = PBXSourcesBuildPhase; 258 | buildActionMask = 2147483647; 259 | files = ( 260 | F4F39E768A2464D88D95E19B5C1996C8 /* Pods-HorizontalTable-dummy.m in Sources */, 261 | ); 262 | runOnlyForDeploymentPostprocessing = 0; 263 | }; 264 | D4350F7697606F710904CCB8101653C9 /* Sources */ = { 265 | isa = PBXSourcesBuildPhase; 266 | buildActionMask = 2147483647; 267 | files = ( 268 | 316AB7D933CCC963A255DDFF771E122C /* PTEHorizontalTableView-dummy.m in Sources */, 269 | 44C5AC95DCC5D6EDDCC2620BFF3D699E /* PTEHorizontalTableView.m in Sources */, 270 | ); 271 | runOnlyForDeploymentPostprocessing = 0; 272 | }; 273 | /* End PBXSourcesBuildPhase section */ 274 | 275 | /* Begin PBXTargetDependency section */ 276 | BCF4FDE5581D8E5CCAF407C15F6EAFCB /* PBXTargetDependency */ = { 277 | isa = PBXTargetDependency; 278 | name = PTEHorizontalTableView; 279 | target = D32B8003812DADEC4EA9D45CA903FFE3 /* PTEHorizontalTableView */; 280 | targetProxy = 06C6C295C969A6F442E4C2622A149E96 /* PBXContainerItemProxy */; 281 | }; 282 | /* End PBXTargetDependency section */ 283 | 284 | /* Begin XCBuildConfiguration section */ 285 | 1C7D17A37D091C98D2F0DD886C3A9320 /* Debug */ = { 286 | isa = XCBuildConfiguration; 287 | buildSettings = { 288 | ALWAYS_SEARCH_USER_PATHS = NO; 289 | CLANG_ANALYZER_NONNULL = YES; 290 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 291 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 292 | CLANG_CXX_LIBRARY = "libc++"; 293 | CLANG_ENABLE_MODULES = YES; 294 | CLANG_ENABLE_OBJC_ARC = YES; 295 | CLANG_WARN_BOOL_CONVERSION = YES; 296 | CLANG_WARN_CONSTANT_CONVERSION = YES; 297 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 298 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 299 | CLANG_WARN_EMPTY_BODY = YES; 300 | CLANG_WARN_ENUM_CONVERSION = YES; 301 | CLANG_WARN_INFINITE_RECURSION = YES; 302 | CLANG_WARN_INT_CONVERSION = YES; 303 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 304 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 305 | CLANG_WARN_UNREACHABLE_CODE = YES; 306 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 307 | CODE_SIGNING_REQUIRED = NO; 308 | COPY_PHASE_STRIP = NO; 309 | ENABLE_TESTABILITY = YES; 310 | GCC_C_LANGUAGE_STANDARD = gnu99; 311 | GCC_DYNAMIC_NO_PIC = NO; 312 | GCC_OPTIMIZATION_LEVEL = 0; 313 | GCC_PREPROCESSOR_DEFINITIONS = ( 314 | "POD_CONFIGURATION_DEBUG=1", 315 | "DEBUG=1", 316 | "$(inherited)", 317 | ); 318 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 319 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 320 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 321 | GCC_WARN_UNDECLARED_SELECTOR = YES; 322 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 323 | GCC_WARN_UNUSED_FUNCTION = YES; 324 | GCC_WARN_UNUSED_VARIABLE = YES; 325 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 326 | ONLY_ACTIVE_ARCH = YES; 327 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 328 | STRIP_INSTALLED_PRODUCT = NO; 329 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 330 | SYMROOT = "${SRCROOT}/../build"; 331 | }; 332 | name = Debug; 333 | }; 334 | 34FE9531DA9AF2820790339988D5FF41 /* Release */ = { 335 | isa = XCBuildConfiguration; 336 | buildSettings = { 337 | ALWAYS_SEARCH_USER_PATHS = NO; 338 | CLANG_ANALYZER_NONNULL = YES; 339 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 340 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 341 | CLANG_CXX_LIBRARY = "libc++"; 342 | CLANG_ENABLE_MODULES = YES; 343 | CLANG_ENABLE_OBJC_ARC = YES; 344 | CLANG_WARN_BOOL_CONVERSION = YES; 345 | CLANG_WARN_CONSTANT_CONVERSION = YES; 346 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 347 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 348 | CLANG_WARN_EMPTY_BODY = YES; 349 | CLANG_WARN_ENUM_CONVERSION = YES; 350 | CLANG_WARN_INFINITE_RECURSION = YES; 351 | CLANG_WARN_INT_CONVERSION = YES; 352 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 353 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 354 | CLANG_WARN_UNREACHABLE_CODE = YES; 355 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 356 | CODE_SIGNING_REQUIRED = NO; 357 | COPY_PHASE_STRIP = YES; 358 | ENABLE_NS_ASSERTIONS = NO; 359 | GCC_C_LANGUAGE_STANDARD = gnu99; 360 | GCC_PREPROCESSOR_DEFINITIONS = ( 361 | "POD_CONFIGURATION_RELEASE=1", 362 | "$(inherited)", 363 | ); 364 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 365 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 366 | GCC_WARN_UNDECLARED_SELECTOR = YES; 367 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 368 | GCC_WARN_UNUSED_FUNCTION = YES; 369 | GCC_WARN_UNUSED_VARIABLE = YES; 370 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 371 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 372 | STRIP_INSTALLED_PRODUCT = NO; 373 | SYMROOT = "${SRCROOT}/../build"; 374 | VALIDATE_PRODUCT = YES; 375 | }; 376 | name = Release; 377 | }; 378 | 63AC56E2259C098D4BB469FAF57463EB /* Release */ = { 379 | isa = XCBuildConfiguration; 380 | baseConfigurationReference = 4F5955CFB752C8434C1739E61A412693 /* PTEHorizontalTableView.xcconfig */; 381 | buildSettings = { 382 | CODE_SIGN_IDENTITY = ""; 383 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 384 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 385 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 386 | CURRENT_PROJECT_VERSION = 1; 387 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 388 | DEFINES_MODULE = YES; 389 | DYLIB_COMPATIBILITY_VERSION = 1; 390 | DYLIB_CURRENT_VERSION = 1; 391 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 392 | ENABLE_STRICT_OBJC_MSGSEND = YES; 393 | GCC_NO_COMMON_BLOCKS = YES; 394 | GCC_PREFIX_HEADER = "Target Support Files/PTEHorizontalTableView/PTEHorizontalTableView-prefix.pch"; 395 | INFOPLIST_FILE = "Target Support Files/PTEHorizontalTableView/Info.plist"; 396 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 397 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 398 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 399 | MODULEMAP_FILE = "Target Support Files/PTEHorizontalTableView/PTEHorizontalTableView.modulemap"; 400 | MTL_ENABLE_DEBUG_INFO = NO; 401 | PRODUCT_NAME = PTEHorizontalTableView; 402 | SDKROOT = iphoneos; 403 | SKIP_INSTALL = YES; 404 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 405 | TARGETED_DEVICE_FAMILY = "1,2"; 406 | VERSIONING_SYSTEM = "apple-generic"; 407 | VERSION_INFO_PREFIX = ""; 408 | }; 409 | name = Release; 410 | }; 411 | 81DD4582D7EABC504DA52720155DE6BB /* Debug */ = { 412 | isa = XCBuildConfiguration; 413 | baseConfigurationReference = 4F5955CFB752C8434C1739E61A412693 /* PTEHorizontalTableView.xcconfig */; 414 | buildSettings = { 415 | CODE_SIGN_IDENTITY = ""; 416 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 417 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 418 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 419 | CURRENT_PROJECT_VERSION = 1; 420 | DEBUG_INFORMATION_FORMAT = dwarf; 421 | DEFINES_MODULE = YES; 422 | DYLIB_COMPATIBILITY_VERSION = 1; 423 | DYLIB_CURRENT_VERSION = 1; 424 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 425 | ENABLE_STRICT_OBJC_MSGSEND = YES; 426 | GCC_NO_COMMON_BLOCKS = YES; 427 | GCC_PREFIX_HEADER = "Target Support Files/PTEHorizontalTableView/PTEHorizontalTableView-prefix.pch"; 428 | INFOPLIST_FILE = "Target Support Files/PTEHorizontalTableView/Info.plist"; 429 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 430 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 431 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 432 | MODULEMAP_FILE = "Target Support Files/PTEHorizontalTableView/PTEHorizontalTableView.modulemap"; 433 | MTL_ENABLE_DEBUG_INFO = YES; 434 | PRODUCT_NAME = PTEHorizontalTableView; 435 | SDKROOT = iphoneos; 436 | SKIP_INSTALL = YES; 437 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 438 | TARGETED_DEVICE_FAMILY = "1,2"; 439 | VERSIONING_SYSTEM = "apple-generic"; 440 | VERSION_INFO_PREFIX = ""; 441 | }; 442 | name = Debug; 443 | }; 444 | E96CA1A9966752B97274E3B71E0A7F81 /* Debug */ = { 445 | isa = XCBuildConfiguration; 446 | baseConfigurationReference = AF22E66B250230D3E54D115BCF65143F /* Pods-HorizontalTable.debug.xcconfig */; 447 | buildSettings = { 448 | CODE_SIGN_IDENTITY = ""; 449 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 450 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 451 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 452 | CURRENT_PROJECT_VERSION = 1; 453 | DEBUG_INFORMATION_FORMAT = dwarf; 454 | DEFINES_MODULE = YES; 455 | DYLIB_COMPATIBILITY_VERSION = 1; 456 | DYLIB_CURRENT_VERSION = 1; 457 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 458 | ENABLE_STRICT_OBJC_MSGSEND = YES; 459 | GCC_NO_COMMON_BLOCKS = YES; 460 | INFOPLIST_FILE = "Target Support Files/Pods-HorizontalTable/Info.plist"; 461 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 462 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 463 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 464 | MACH_O_TYPE = staticlib; 465 | MODULEMAP_FILE = "Target Support Files/Pods-HorizontalTable/Pods-HorizontalTable.modulemap"; 466 | MTL_ENABLE_DEBUG_INFO = YES; 467 | OTHER_LDFLAGS = ""; 468 | OTHER_LIBTOOLFLAGS = ""; 469 | PODS_ROOT = "$(SRCROOT)"; 470 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 471 | PRODUCT_NAME = Pods_HorizontalTable; 472 | SDKROOT = iphoneos; 473 | SKIP_INSTALL = YES; 474 | TARGETED_DEVICE_FAMILY = "1,2"; 475 | VERSIONING_SYSTEM = "apple-generic"; 476 | VERSION_INFO_PREFIX = ""; 477 | }; 478 | name = Debug; 479 | }; 480 | FF4B71CF1EE1F40E93892568F3F67C34 /* Release */ = { 481 | isa = XCBuildConfiguration; 482 | baseConfigurationReference = BC0E40A1C8D74D5D2FB9D75D5350D7F0 /* Pods-HorizontalTable.release.xcconfig */; 483 | buildSettings = { 484 | CODE_SIGN_IDENTITY = ""; 485 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 486 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 487 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 488 | CURRENT_PROJECT_VERSION = 1; 489 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 490 | DEFINES_MODULE = YES; 491 | DYLIB_COMPATIBILITY_VERSION = 1; 492 | DYLIB_CURRENT_VERSION = 1; 493 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 494 | ENABLE_STRICT_OBJC_MSGSEND = YES; 495 | GCC_NO_COMMON_BLOCKS = YES; 496 | INFOPLIST_FILE = "Target Support Files/Pods-HorizontalTable/Info.plist"; 497 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 498 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 499 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 500 | MACH_O_TYPE = staticlib; 501 | MODULEMAP_FILE = "Target Support Files/Pods-HorizontalTable/Pods-HorizontalTable.modulemap"; 502 | MTL_ENABLE_DEBUG_INFO = NO; 503 | OTHER_LDFLAGS = ""; 504 | OTHER_LIBTOOLFLAGS = ""; 505 | PODS_ROOT = "$(SRCROOT)"; 506 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 507 | PRODUCT_NAME = Pods_HorizontalTable; 508 | SDKROOT = iphoneos; 509 | SKIP_INSTALL = YES; 510 | TARGETED_DEVICE_FAMILY = "1,2"; 511 | VERSIONING_SYSTEM = "apple-generic"; 512 | VERSION_INFO_PREFIX = ""; 513 | }; 514 | name = Release; 515 | }; 516 | /* End XCBuildConfiguration section */ 517 | 518 | /* Begin XCConfigurationList section */ 519 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 520 | isa = XCConfigurationList; 521 | buildConfigurations = ( 522 | 1C7D17A37D091C98D2F0DD886C3A9320 /* Debug */, 523 | 34FE9531DA9AF2820790339988D5FF41 /* Release */, 524 | ); 525 | defaultConfigurationIsVisible = 0; 526 | defaultConfigurationName = Release; 527 | }; 528 | 7456EB32A50FD92C38B846DD3922DEA0 /* Build configuration list for PBXNativeTarget "Pods-HorizontalTable" */ = { 529 | isa = XCConfigurationList; 530 | buildConfigurations = ( 531 | E96CA1A9966752B97274E3B71E0A7F81 /* Debug */, 532 | FF4B71CF1EE1F40E93892568F3F67C34 /* Release */, 533 | ); 534 | defaultConfigurationIsVisible = 0; 535 | defaultConfigurationName = Release; 536 | }; 537 | 810011634F0C31250BB549ACD73129E7 /* Build configuration list for PBXNativeTarget "PTEHorizontalTableView" */ = { 538 | isa = XCConfigurationList; 539 | buildConfigurations = ( 540 | 81DD4582D7EABC504DA52720155DE6BB /* Debug */, 541 | 63AC56E2259C098D4BB469FAF57463EB /* Release */, 542 | ); 543 | defaultConfigurationIsVisible = 0; 544 | defaultConfigurationName = Release; 545 | }; 546 | /* End XCConfigurationList section */ 547 | }; 548 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 549 | } 550 | -------------------------------------------------------------------------------- /Demo/Pods/Target Support Files/PTEHorizontalTableView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Demo/Pods/Target Support Files/PTEHorizontalTableView/PTEHorizontalTableView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_PTEHorizontalTableView : NSObject 3 | @end 4 | @implementation PodsDummy_PTEHorizontalTableView 5 | @end 6 | -------------------------------------------------------------------------------- /Demo/Pods/Target Support Files/PTEHorizontalTableView/PTEHorizontalTableView-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Demo/Pods/Target Support Files/PTEHorizontalTableView/PTEHorizontalTableView-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "PTEHorizontalTableView.h" 14 | 15 | FOUNDATION_EXPORT double PTEHorizontalTableViewVersionNumber; 16 | FOUNDATION_EXPORT const unsigned char PTEHorizontalTableViewVersionString[]; 17 | 18 | -------------------------------------------------------------------------------- /Demo/Pods/Target Support Files/PTEHorizontalTableView/PTEHorizontalTableView.modulemap: -------------------------------------------------------------------------------- 1 | framework module PTEHorizontalTableView { 2 | umbrella header "PTEHorizontalTableView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Demo/Pods/Target Support Files/PTEHorizontalTableView/PTEHorizontalTableView.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/PTEHorizontalTableView 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | PODS_BUILD_DIR = $BUILD_DIR 5 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Demo/Pods/Target Support Files/Pods-HorizontalTable/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Demo/Pods/Target Support Files/Pods-HorizontalTable/Pods-HorizontalTable-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## PTEHorizontalTableView 5 | 6 | Apache License 7 | Version 2.0, January 2004 8 | http://www.apache.org/licenses/ 9 | 10 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 11 | 12 | 1. Definitions. 13 | 14 | "License" shall mean the terms and conditions for use, reproduction, 15 | and distribution as defined by Sections 1 through 9 of this document. 16 | 17 | "Licensor" shall mean the copyright owner or entity authorized by 18 | the copyright owner that is granting the License. 19 | 20 | "Legal Entity" shall mean the union of the acting entity and all 21 | other entities that control, are controlled by, or are under common 22 | control with that entity. For the purposes of this definition, 23 | "control" means (i) the power, direct or indirect, to cause the 24 | direction or management of such entity, whether by contract or 25 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 26 | outstanding shares, or (iii) beneficial ownership of such entity. 27 | 28 | "You" (or "Your") shall mean an individual or Legal Entity 29 | exercising permissions granted by this License. 30 | 31 | "Source" form shall mean the preferred form for making modifications, 32 | including but not limited to software source code, documentation 33 | source, and configuration files. 34 | 35 | "Object" form shall mean any form resulting from mechanical 36 | transformation or translation of a Source form, including but 37 | not limited to compiled object code, generated documentation, 38 | and conversions to other media types. 39 | 40 | "Work" shall mean the work of authorship, whether in Source or 41 | Object form, made available under the License, as indicated by a 42 | copyright notice that is included in or attached to the work 43 | (an example is provided in the Appendix below). 44 | 45 | "Derivative Works" shall mean any work, whether in Source or Object 46 | form, that is based on (or derived from) the Work and for which the 47 | editorial revisions, annotations, elaborations, or other modifications 48 | represent, as a whole, an original work of authorship. For the purposes 49 | of this License, Derivative Works shall not include works that remain 50 | separable from, or merely link (or bind by name) to the interfaces of, 51 | the Work and Derivative Works thereof. 52 | 53 | "Contribution" shall mean any work of authorship, including 54 | the original version of the Work and any modifications or additions 55 | to that Work or Derivative Works thereof, that is intentionally 56 | submitted to Licensor for inclusion in the Work by the copyright owner 57 | or by an individual or Legal Entity authorized to submit on behalf of 58 | the copyright owner. For the purposes of this definition, "submitted" 59 | means any form of electronic, verbal, or written communication sent 60 | to the Licensor or its representatives, including but not limited to 61 | communication on electronic mailing lists, source code control systems, 62 | and issue tracking systems that are managed by, or on behalf of, the 63 | Licensor for the purpose of discussing and improving the Work, but 64 | excluding communication that is conspicuously marked or otherwise 65 | designated in writing by the copyright owner as "Not a Contribution." 66 | 67 | "Contributor" shall mean Licensor and any individual or Legal Entity 68 | on behalf of whom a Contribution has been received by Licensor and 69 | subsequently incorporated within the Work. 70 | 71 | 2. Grant of Copyright License. Subject to the terms and conditions of 72 | this License, each Contributor hereby grants to You a perpetual, 73 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 74 | copyright license to reproduce, prepare Derivative Works of, 75 | publicly display, publicly perform, sublicense, and distribute the 76 | Work and such Derivative Works in Source or Object form. 77 | 78 | 3. Grant of Patent License. Subject to the terms and conditions of 79 | this License, each Contributor hereby grants to You a perpetual, 80 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 81 | (except as stated in this section) patent license to make, have made, 82 | use, offer to sell, sell, import, and otherwise transfer the Work, 83 | where such license applies only to those patent claims licensable 84 | by such Contributor that are necessarily infringed by their 85 | Contribution(s) alone or by combination of their Contribution(s) 86 | with the Work to which such Contribution(s) was submitted. If You 87 | institute patent litigation against any entity (including a 88 | cross-claim or counterclaim in a lawsuit) alleging that the Work 89 | or a Contribution incorporated within the Work constitutes direct 90 | or contributory patent infringement, then any patent licenses 91 | granted to You under this License for that Work shall terminate 92 | as of the date such litigation is filed. 93 | 94 | 4. Redistribution. You may reproduce and distribute copies of the 95 | Work or Derivative Works thereof in any medium, with or without 96 | modifications, and in Source or Object form, provided that You 97 | meet the following conditions: 98 | 99 | (a) You must give any other recipients of the Work or 100 | Derivative Works a copy of this License; and 101 | 102 | (b) You must cause any modified files to carry prominent notices 103 | stating that You changed the files; and 104 | 105 | (c) You must retain, in the Source form of any Derivative Works 106 | that You distribute, all copyright, patent, trademark, and 107 | attribution notices from the Source form of the Work, 108 | excluding those notices that do not pertain to any part of 109 | the Derivative Works; and 110 | 111 | (d) If the Work includes a "NOTICE" text file as part of its 112 | distribution, then any Derivative Works that You distribute must 113 | include a readable copy of the attribution notices contained 114 | within such NOTICE file, excluding those notices that do not 115 | pertain to any part of the Derivative Works, in at least one 116 | of the following places: within a NOTICE text file distributed 117 | as part of the Derivative Works; within the Source form or 118 | documentation, if provided along with the Derivative Works; or, 119 | within a display generated by the Derivative Works, if and 120 | wherever such third-party notices normally appear. The contents 121 | of the NOTICE file are for informational purposes only and 122 | do not modify the License. You may add Your own attribution 123 | notices within Derivative Works that You distribute, alongside 124 | or as an addendum to the NOTICE text from the Work, provided 125 | that such additional attribution notices cannot be construed 126 | as modifying the License. 127 | 128 | You may add Your own copyright statement to Your modifications and 129 | may provide additional or different license terms and conditions 130 | for use, reproduction, or distribution of Your modifications, or 131 | for any such Derivative Works as a whole, provided Your use, 132 | reproduction, and distribution of the Work otherwise complies with 133 | the conditions stated in this License. 134 | 135 | 5. Submission of Contributions. Unless You explicitly state otherwise, 136 | any Contribution intentionally submitted for inclusion in the Work 137 | by You to the Licensor shall be under the terms and conditions of 138 | this License, without any additional terms or conditions. 139 | Notwithstanding the above, nothing herein shall supersede or modify 140 | the terms of any separate license agreement you may have executed 141 | with Licensor regarding such Contributions. 142 | 143 | 6. Trademarks. This License does not grant permission to use the trade 144 | names, trademarks, service marks, or product names of the Licensor, 145 | except as required for reasonable and customary use in describing the 146 | origin of the Work and reproducing the content of the NOTICE file. 147 | 148 | 7. Disclaimer of Warranty. Unless required by applicable law or 149 | agreed to in writing, Licensor provides the Work (and each 150 | Contributor provides its Contributions) on an "AS IS" BASIS, 151 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 152 | implied, including, without limitation, any warranties or conditions 153 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 154 | PARTICULAR PURPOSE. You are solely responsible for determining the 155 | appropriateness of using or redistributing the Work and assume any 156 | risks associated with Your exercise of permissions under this License. 157 | 158 | 8. Limitation of Liability. In no event and under no legal theory, 159 | whether in tort (including negligence), contract, or otherwise, 160 | unless required by applicable law (such as deliberate and grossly 161 | negligent acts) or agreed to in writing, shall any Contributor be 162 | liable to You for damages, including any direct, indirect, special, 163 | incidental, or consequential damages of any character arising as a 164 | result of this License or out of the use or inability to use the 165 | Work (including but not limited to damages for loss of goodwill, 166 | work stoppage, computer failure or malfunction, or any and all 167 | other commercial damages or losses), even if such Contributor 168 | has been advised of the possibility of such damages. 169 | 170 | 9. Accepting Warranty or Additional Liability. While redistributing 171 | the Work or Derivative Works thereof, You may choose to offer, 172 | and charge a fee for, acceptance of support, warranty, indemnity, 173 | or other liability obligations and/or rights consistent with this 174 | License. However, in accepting such obligations, You may act only 175 | on Your own behalf and on Your sole responsibility, not on behalf 176 | of any other Contributor, and only if You agree to indemnify, 177 | defend, and hold each Contributor harmless for any liability 178 | incurred by, or claims asserted against, such Contributor by reason 179 | of your accepting any such warranty or additional liability. 180 | 181 | END OF TERMS AND CONDITIONS 182 | 183 | APPENDIX: How to apply the Apache License to your work. 184 | 185 | To apply the Apache License to your work, attach the following 186 | boilerplate notice, with the fields enclosed by brackets "{}" 187 | replaced with your own identifying information. (Don't include 188 | the brackets!) The text should be enclosed in the appropriate 189 | comment syntax for the file format. We also recommend that a 190 | file or class name and description of purpose be included on the 191 | same "printed page" as the copyright notice for easier 192 | identification within third-party archives. 193 | 194 | Copyright 2014-2017 PTEz. 195 | 196 | Licensed under the Apache License, Version 2.0 (the "License"); 197 | you may not use this file except in compliance with the License. 198 | You may obtain a copy of the License at 199 | 200 | http://www.apache.org/licenses/LICENSE-2.0 201 | 202 | Unless required by applicable law or agreed to in writing, software 203 | distributed under the License is distributed on an "AS IS" BASIS, 204 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 205 | See the License for the specific language governing permissions and 206 | limitations under the License. 207 | 208 | 209 | Generated by CocoaPods - https://cocoapods.org 210 | -------------------------------------------------------------------------------- /Demo/Pods/Target Support Files/Pods-HorizontalTable/Pods-HorizontalTable-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Apache License 18 | Version 2.0, January 2004 19 | http://www.apache.org/licenses/ 20 | 21 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 22 | 23 | 1. Definitions. 24 | 25 | "License" shall mean the terms and conditions for use, reproduction, 26 | and distribution as defined by Sections 1 through 9 of this document. 27 | 28 | "Licensor" shall mean the copyright owner or entity authorized by 29 | the copyright owner that is granting the License. 30 | 31 | "Legal Entity" shall mean the union of the acting entity and all 32 | other entities that control, are controlled by, or are under common 33 | control with that entity. For the purposes of this definition, 34 | "control" means (i) the power, direct or indirect, to cause the 35 | direction or management of such entity, whether by contract or 36 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 37 | outstanding shares, or (iii) beneficial ownership of such entity. 38 | 39 | "You" (or "Your") shall mean an individual or Legal Entity 40 | exercising permissions granted by this License. 41 | 42 | "Source" form shall mean the preferred form for making modifications, 43 | including but not limited to software source code, documentation 44 | source, and configuration files. 45 | 46 | "Object" form shall mean any form resulting from mechanical 47 | transformation or translation of a Source form, including but 48 | not limited to compiled object code, generated documentation, 49 | and conversions to other media types. 50 | 51 | "Work" shall mean the work of authorship, whether in Source or 52 | Object form, made available under the License, as indicated by a 53 | copyright notice that is included in or attached to the work 54 | (an example is provided in the Appendix below). 55 | 56 | "Derivative Works" shall mean any work, whether in Source or Object 57 | form, that is based on (or derived from) the Work and for which the 58 | editorial revisions, annotations, elaborations, or other modifications 59 | represent, as a whole, an original work of authorship. For the purposes 60 | of this License, Derivative Works shall not include works that remain 61 | separable from, or merely link (or bind by name) to the interfaces of, 62 | the Work and Derivative Works thereof. 63 | 64 | "Contribution" shall mean any work of authorship, including 65 | the original version of the Work and any modifications or additions 66 | to that Work or Derivative Works thereof, that is intentionally 67 | submitted to Licensor for inclusion in the Work by the copyright owner 68 | or by an individual or Legal Entity authorized to submit on behalf of 69 | the copyright owner. For the purposes of this definition, "submitted" 70 | means any form of electronic, verbal, or written communication sent 71 | to the Licensor or its representatives, including but not limited to 72 | communication on electronic mailing lists, source code control systems, 73 | and issue tracking systems that are managed by, or on behalf of, the 74 | Licensor for the purpose of discussing and improving the Work, but 75 | excluding communication that is conspicuously marked or otherwise 76 | designated in writing by the copyright owner as "Not a Contribution." 77 | 78 | "Contributor" shall mean Licensor and any individual or Legal Entity 79 | on behalf of whom a Contribution has been received by Licensor and 80 | subsequently incorporated within the Work. 81 | 82 | 2. Grant of Copyright License. Subject to the terms and conditions of 83 | this License, each Contributor hereby grants to You a perpetual, 84 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 85 | copyright license to reproduce, prepare Derivative Works of, 86 | publicly display, publicly perform, sublicense, and distribute the 87 | Work and such Derivative Works in Source or Object form. 88 | 89 | 3. Grant of Patent License. Subject to the terms and conditions of 90 | this License, each Contributor hereby grants to You a perpetual, 91 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 92 | (except as stated in this section) patent license to make, have made, 93 | use, offer to sell, sell, import, and otherwise transfer the Work, 94 | where such license applies only to those patent claims licensable 95 | by such Contributor that are necessarily infringed by their 96 | Contribution(s) alone or by combination of their Contribution(s) 97 | with the Work to which such Contribution(s) was submitted. If You 98 | institute patent litigation against any entity (including a 99 | cross-claim or counterclaim in a lawsuit) alleging that the Work 100 | or a Contribution incorporated within the Work constitutes direct 101 | or contributory patent infringement, then any patent licenses 102 | granted to You under this License for that Work shall terminate 103 | as of the date such litigation is filed. 104 | 105 | 4. Redistribution. You may reproduce and distribute copies of the 106 | Work or Derivative Works thereof in any medium, with or without 107 | modifications, and in Source or Object form, provided that You 108 | meet the following conditions: 109 | 110 | (a) You must give any other recipients of the Work or 111 | Derivative Works a copy of this License; and 112 | 113 | (b) You must cause any modified files to carry prominent notices 114 | stating that You changed the files; and 115 | 116 | (c) You must retain, in the Source form of any Derivative Works 117 | that You distribute, all copyright, patent, trademark, and 118 | attribution notices from the Source form of the Work, 119 | excluding those notices that do not pertain to any part of 120 | the Derivative Works; and 121 | 122 | (d) If the Work includes a "NOTICE" text file as part of its 123 | distribution, then any Derivative Works that You distribute must 124 | include a readable copy of the attribution notices contained 125 | within such NOTICE file, excluding those notices that do not 126 | pertain to any part of the Derivative Works, in at least one 127 | of the following places: within a NOTICE text file distributed 128 | as part of the Derivative Works; within the Source form or 129 | documentation, if provided along with the Derivative Works; or, 130 | within a display generated by the Derivative Works, if and 131 | wherever such third-party notices normally appear. The contents 132 | of the NOTICE file are for informational purposes only and 133 | do not modify the License. You may add Your own attribution 134 | notices within Derivative Works that You distribute, alongside 135 | or as an addendum to the NOTICE text from the Work, provided 136 | that such additional attribution notices cannot be construed 137 | as modifying the License. 138 | 139 | You may add Your own copyright statement to Your modifications and 140 | may provide additional or different license terms and conditions 141 | for use, reproduction, or distribution of Your modifications, or 142 | for any such Derivative Works as a whole, provided Your use, 143 | reproduction, and distribution of the Work otherwise complies with 144 | the conditions stated in this License. 145 | 146 | 5. Submission of Contributions. Unless You explicitly state otherwise, 147 | any Contribution intentionally submitted for inclusion in the Work 148 | by You to the Licensor shall be under the terms and conditions of 149 | this License, without any additional terms or conditions. 150 | Notwithstanding the above, nothing herein shall supersede or modify 151 | the terms of any separate license agreement you may have executed 152 | with Licensor regarding such Contributions. 153 | 154 | 6. Trademarks. This License does not grant permission to use the trade 155 | names, trademarks, service marks, or product names of the Licensor, 156 | except as required for reasonable and customary use in describing the 157 | origin of the Work and reproducing the content of the NOTICE file. 158 | 159 | 7. Disclaimer of Warranty. Unless required by applicable law or 160 | agreed to in writing, Licensor provides the Work (and each 161 | Contributor provides its Contributions) on an "AS IS" BASIS, 162 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 163 | implied, including, without limitation, any warranties or conditions 164 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 165 | PARTICULAR PURPOSE. You are solely responsible for determining the 166 | appropriateness of using or redistributing the Work and assume any 167 | risks associated with Your exercise of permissions under this License. 168 | 169 | 8. Limitation of Liability. In no event and under no legal theory, 170 | whether in tort (including negligence), contract, or otherwise, 171 | unless required by applicable law (such as deliberate and grossly 172 | negligent acts) or agreed to in writing, shall any Contributor be 173 | liable to You for damages, including any direct, indirect, special, 174 | incidental, or consequential damages of any character arising as a 175 | result of this License or out of the use or inability to use the 176 | Work (including but not limited to damages for loss of goodwill, 177 | work stoppage, computer failure or malfunction, or any and all 178 | other commercial damages or losses), even if such Contributor 179 | has been advised of the possibility of such damages. 180 | 181 | 9. Accepting Warranty or Additional Liability. While redistributing 182 | the Work or Derivative Works thereof, You may choose to offer, 183 | and charge a fee for, acceptance of support, warranty, indemnity, 184 | or other liability obligations and/or rights consistent with this 185 | License. However, in accepting such obligations, You may act only 186 | on Your own behalf and on Your sole responsibility, not on behalf 187 | of any other Contributor, and only if You agree to indemnify, 188 | defend, and hold each Contributor harmless for any liability 189 | incurred by, or claims asserted against, such Contributor by reason 190 | of your accepting any such warranty or additional liability. 191 | 192 | END OF TERMS AND CONDITIONS 193 | 194 | APPENDIX: How to apply the Apache License to your work. 195 | 196 | To apply the Apache License to your work, attach the following 197 | boilerplate notice, with the fields enclosed by brackets "{}" 198 | replaced with your own identifying information. (Don't include 199 | the brackets!) The text should be enclosed in the appropriate 200 | comment syntax for the file format. We also recommend that a 201 | file or class name and description of purpose be included on the 202 | same "printed page" as the copyright notice for easier 203 | identification within third-party archives. 204 | 205 | Copyright 2014-2017 PTEz. 206 | 207 | Licensed under the Apache License, Version 2.0 (the "License"); 208 | you may not use this file except in compliance with the License. 209 | You may obtain a copy of the License at 210 | 211 | http://www.apache.org/licenses/LICENSE-2.0 212 | 213 | Unless required by applicable law or agreed to in writing, software 214 | distributed under the License is distributed on an "AS IS" BASIS, 215 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 216 | See the License for the specific language governing permissions and 217 | limitations under the License. 218 | 219 | 220 | License 221 | Apache License, Version 2.0 222 | Title 223 | PTEHorizontalTableView 224 | Type 225 | PSGroupSpecifier 226 | 227 | 228 | FooterText 229 | Generated by CocoaPods - https://cocoapods.org 230 | Title 231 | 232 | Type 233 | PSGroupSpecifier 234 | 235 | 236 | StringsTable 237 | Acknowledgements 238 | Title 239 | Acknowledgements 240 | 241 | 242 | -------------------------------------------------------------------------------- /Demo/Pods/Target Support Files/Pods-HorizontalTable/Pods-HorizontalTable-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_HorizontalTable : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_HorizontalTable 5 | @end 6 | -------------------------------------------------------------------------------- /Demo/Pods/Target Support Files/Pods-HorizontalTable/Pods-HorizontalTable-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 10 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 11 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 12 | 13 | install_framework() 14 | { 15 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 16 | local source="${BUILT_PRODUCTS_DIR}/$1" 17 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 18 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 19 | elif [ -r "$1" ]; then 20 | local source="$1" 21 | fi 22 | 23 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 24 | 25 | if [ -L "${source}" ]; then 26 | echo "Symlinked..." 27 | source="$(readlink "${source}")" 28 | fi 29 | 30 | # Use filter instead of exclude so missing patterns don't throw errors. 31 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 32 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 33 | 34 | local basename 35 | basename="$(basename -s .framework "$1")" 36 | binary="${destination}/${basename}.framework/${basename}" 37 | if ! [ -r "$binary" ]; then 38 | binary="${destination}/${basename}" 39 | fi 40 | 41 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 42 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 43 | strip_invalid_archs "$binary" 44 | fi 45 | 46 | # Resign the code if required by the build settings to avoid unstable apps 47 | code_sign_if_enabled "${destination}/$(basename "$1")" 48 | 49 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 50 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 51 | local swift_runtime_libs 52 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 53 | for lib in $swift_runtime_libs; do 54 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 55 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 56 | code_sign_if_enabled "${destination}/${lib}" 57 | done 58 | fi 59 | } 60 | 61 | # Copies the dSYM of a vendored framework 62 | install_dsym() { 63 | local source="$1" 64 | if [ -r "$source" ]; then 65 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" 66 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" 67 | fi 68 | } 69 | 70 | # Signs a framework with the provided identity 71 | code_sign_if_enabled() { 72 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 73 | # Use the current code_sign_identitiy 74 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 75 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 76 | 77 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 78 | code_sign_cmd="$code_sign_cmd &" 79 | fi 80 | echo "$code_sign_cmd" 81 | eval "$code_sign_cmd" 82 | fi 83 | } 84 | 85 | # Strip invalid architectures 86 | strip_invalid_archs() { 87 | binary="$1" 88 | # Get architectures for current file 89 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 90 | stripped="" 91 | for arch in $archs; do 92 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 93 | # Strip non-valid architectures in-place 94 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 95 | stripped="$stripped $arch" 96 | fi 97 | done 98 | if [[ "$stripped" ]]; then 99 | echo "Stripped $binary of architectures:$stripped" 100 | fi 101 | } 102 | 103 | 104 | if [[ "$CONFIGURATION" == "Debug" ]]; then 105 | install_framework "${BUILT_PRODUCTS_DIR}/PTEHorizontalTableView/PTEHorizontalTableView.framework" 106 | fi 107 | if [[ "$CONFIGURATION" == "Release" ]]; then 108 | install_framework "${BUILT_PRODUCTS_DIR}/PTEHorizontalTableView/PTEHorizontalTableView.framework" 109 | fi 110 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 111 | wait 112 | fi 113 | -------------------------------------------------------------------------------- /Demo/Pods/Target Support Files/Pods-HorizontalTable/Pods-HorizontalTable-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.xib) 55 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 56 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 106 | fi 107 | -------------------------------------------------------------------------------- /Demo/Pods/Target Support Files/Pods-HorizontalTable/Pods-HorizontalTable-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_HorizontalTableVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_HorizontalTableVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Demo/Pods/Target Support Files/Pods-HorizontalTable/Pods-HorizontalTable.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/PTEHorizontalTableView" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/PTEHorizontalTableView/PTEHorizontalTableView.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "PTEHorizontalTableView" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Demo/Pods/Target Support Files/Pods-HorizontalTable/Pods-HorizontalTable.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_HorizontalTable { 2 | umbrella header "Pods-HorizontalTable-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Demo/Pods/Target Support Files/Pods-HorizontalTable/Pods-HorizontalTable.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/PTEHorizontalTableView" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/PTEHorizontalTableView/PTEHorizontalTableView.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "PTEHorizontalTableView" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright 2014-2017 PTEz. 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | 203 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | 2 | PTEHorizontalTableView 3 | Copyright 2014-2017 PTEz. 4 | 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | -------------------------------------------------------------------------------- /PTEHorizontalTableView.h: -------------------------------------------------------------------------------- 1 | // 2 | // PTEHorizontalTableView.h 3 | // PTEHorizontalTableView 4 | // 5 | // Created by Ernesto Rivera on 8/12/14. 6 | // Copyright (c) 2014-2017 PTEz. 7 | // Inspired by EasyTableView by Aleksey Novicov. 8 | // 9 | // Licensed under the Apache License, Version 2.0 (the "License"); 10 | // you may not use this file except in compliance with the License. 11 | // You may obtain a copy of the License at 12 | // 13 | // http://www.apache.org/licenses/LICENSE-2.0 14 | // 15 | // Unless required by applicable law or agreed to in writing, software 16 | // distributed under the License is distributed on an "AS IS" BASIS, 17 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | // See the License for the specific language governing permissions and 19 | // limitations under the License. 20 | // 21 | 22 | #import 23 | 24 | @class PTEHorizontalTableView; 25 | 26 | @protocol PTETableViewDelegate 27 | 28 | - (NSInteger)tableView:(PTEHorizontalTableView *)horizontalTableView 29 | numberOfRowsInSection:(NSInteger)section; 30 | 31 | - (UITableViewCell *)tableView:(PTEHorizontalTableView *)horizontalTableView 32 | cellForRowAtIndexPath:(NSIndexPath *)indexPath; 33 | 34 | @optional 35 | 36 | - (NSUInteger)numberOfSectionsInTableView:(PTEHorizontalTableView*)horizontalTableView; 37 | 38 | - (void)tableView:(PTEHorizontalTableView *)horizontalTableView 39 | didSelectRowAtIndexPath:(NSIndexPath *)indexPath; 40 | 41 | - (UIView*)tableView:(PTEHorizontalTableView*)horizontalTableView 42 | viewForHeaderInSection:(NSInteger)section; 43 | 44 | - (UIView*)tableView:(PTEHorizontalTableView*)horizontalTableView 45 | viewForFooterInSection:(NSInteger)section; 46 | 47 | - (CGFloat)tableView:(PTEHorizontalTableView *)horizontalTableView 48 | widthForCellAtIndexPath:(NSIndexPath *)indexPath; 49 | 50 | @end 51 | 52 | 53 | @interface PTEHorizontalTableView : UIView 54 | 55 | @property (nonatomic, weak) IBOutlet id delegate; 56 | @property (nonatomic, weak) IBOutlet UITableView *tableView; 57 | 58 | @property (nonatomic) CGFloat rowWidth; 59 | @property (nonatomic, readonly) CGSize contentSize; 60 | @property (nonatomic) CGPoint contentOffset; 61 | - (void)setContentOffset:(CGPoint)offset 62 | animated:(BOOL)animated; 63 | 64 | @end 65 | 66 | -------------------------------------------------------------------------------- /PTEHorizontalTableView.m: -------------------------------------------------------------------------------- 1 | // 2 | // PTEHorizontalTableView.m 3 | // PTEHorizontalTableView 4 | // 5 | // Created by Ernesto Rivera on 8/12/14. 6 | // Copyright (c) 2014-2017 PTEz. 7 | // Inspired by EasyTableView by Aleksey Novicov. 8 | // 9 | // Licensed under the Apache License, Version 2.0 (the "License"); 10 | // you may not use this file except in compliance with the License. 11 | // You may obtain a copy of the License at 12 | // 13 | // http://www.apache.org/licenses/LICENSE-2.0 14 | // 15 | // Unless required by applicable law or agreed to in writing, software 16 | // distributed under the License is distributed on an "AS IS" BASIS, 17 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | // See the License for the specific language governing permissions and 19 | // limitations under the License. 20 | // 21 | 22 | #import 23 | #import "PTEHorizontalTableView.h" 24 | 25 | @implementation PTEHorizontalTableView 26 | 27 | @dynamic rowWidth; 28 | @dynamic contentSize; 29 | @dynamic contentOffset; 30 | 31 | - (void)setTableView:(UITableView *)tableView 32 | { 33 | _tableView = tableView; 34 | 35 | [self refreshOrientation]; 36 | 37 | _tableView.delegate = self; 38 | _tableView.dataSource = self; 39 | _tableView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; 40 | [self addSubview:_tableView]; 41 | } 42 | 43 | - (void)setFrame:(CGRect)frame 44 | { 45 | super.frame = frame; 46 | 47 | [self refreshOrientation]; 48 | } 49 | 50 | - (void)refreshOrientation 51 | { 52 | if (!self.tableView) 53 | return; 54 | 55 | // First reset rotation 56 | self.tableView.transform = CGAffineTransformIdentity; 57 | self.tableView.frame = CGRectMake(0, 0, self.bounds.size.width, self.bounds.size.height); 58 | 59 | // Adjust frame 60 | int xOrigin = (self.bounds.size.width - self.bounds.size.height) / 2.0; 61 | int yOrigin = (self.bounds.size.height - self.bounds.size.width) / 2.0; 62 | self.tableView.frame = CGRectMake(xOrigin, yOrigin, self.bounds.size.height, self.bounds.size.width); 63 | 64 | // Apply rotation again 65 | self.tableView.transform = CGAffineTransformMakeRotation(-M_PI/2); 66 | self.tableView.scrollIndicatorInsets = UIEdgeInsetsMake(0.0, 0.0, 0.0, self.bounds.size.height - 7.0); 67 | } 68 | 69 | - (CGPoint)contentOffset 70 | { 71 | CGPoint offset = self.tableView.contentOffset; 72 | return CGPointMake(offset.y, offset.x); 73 | } 74 | 75 | - (void)setContentOffset:(CGPoint)offset 76 | { 77 | [self setContentOffset:offset 78 | animated:NO]; 79 | } 80 | 81 | - (void)setContentOffset:(CGPoint)offset 82 | animated:(BOOL)animated 83 | { 84 | [self.tableView setContentOffset:CGPointMake(offset.y, offset.x) 85 | animated:animated]; 86 | } 87 | 88 | - (CGSize)contentSize 89 | { 90 | CGSize size = self.tableView.contentSize; 91 | return CGSizeMake(size.height, size.width); 92 | } 93 | 94 | - (CGFloat)rowWidth 95 | { 96 | return self.tableView.rowHeight; 97 | } 98 | 99 | - (void)setRowWidth:(CGFloat)rowWidth 100 | { 101 | self.tableView.rowHeight = rowWidth; 102 | } 103 | 104 | #pragma mark - TableViewDelegate 105 | 106 | -(CGFloat)tableView:(UITableView*)tableView heightForHeaderInSection:(NSInteger)section 107 | { 108 | if ([self.delegate respondsToSelector:@selector(tableView:viewForHeaderInSection:)]) 109 | { 110 | UIView *headerView = [self.delegate tableView:self viewForHeaderInSection:section]; 111 | return headerView.frame.size.width; 112 | } 113 | return 0.0; 114 | } 115 | 116 | -(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section 117 | { 118 | if ([self.delegate respondsToSelector:@selector(tableView:viewForFooterInSection:)]) 119 | { 120 | UIView *footerView = [self.delegate tableView:self viewForFooterInSection:section]; 121 | return footerView.frame.size.width; 122 | } 123 | return 0.0; 124 | } 125 | 126 | - (UIView *)viewToHoldSectionView:(UIView *)sectionView 127 | { 128 | // Enforce proper section header/footer view height and origin. This is required because 129 | // of the way UITableView resizes section views on orientation changes. 130 | sectionView.frame = CGRectMake(0, 0, sectionView.frame.size.width, self.frame.size.height); 131 | 132 | UIView *rotatedView = [[UIView alloc] initWithFrame:sectionView.frame]; 133 | 134 | rotatedView.transform = CGAffineTransformMakeRotation(M_PI/2); 135 | sectionView.autoresizingMask = UIViewAutoresizingFlexibleTopMargin; 136 | [rotatedView addSubview:sectionView]; 137 | return rotatedView; 138 | } 139 | 140 | -(UIView*)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section 141 | { 142 | if ([self.delegate respondsToSelector:@selector(tableView:viewForHeaderInSection:)]) 143 | { 144 | UIView *sectionView = [self.delegate tableView:self viewForHeaderInSection:section]; 145 | return [self viewToHoldSectionView:sectionView]; 146 | } 147 | return nil; 148 | } 149 | 150 | -(UIView*)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section 151 | { 152 | if ([self.delegate respondsToSelector:@selector(tableView:viewForFooterInSection:)]) 153 | { 154 | UIView *sectionView = [self.delegate tableView:self viewForFooterInSection:section]; 155 | return [self viewToHoldSectionView:sectionView]; 156 | } 157 | return nil; 158 | } 159 | 160 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath 161 | { 162 | if ([self.delegate respondsToSelector:@selector(tableView:didSelectRowAtIndexPath:)]) 163 | { 164 | [self.delegate tableView:self didSelectRowAtIndexPath:indexPath]; 165 | } 166 | } 167 | 168 | - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath 169 | { 170 | if ([self.delegate respondsToSelector:@selector(tableView:widthForCellAtIndexPath:)]) 171 | { 172 | return [self.delegate tableView:self widthForCellAtIndexPath:indexPath]; 173 | } 174 | return tableView.rowHeight; 175 | } 176 | 177 | #pragma mark - TableViewDataSource 178 | 179 | -(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView 180 | { 181 | if ([self.delegate respondsToSelector:@selector(numberOfSectionsInTableView:)]) 182 | { 183 | return [self.delegate numberOfSectionsInTableView:self]; 184 | } 185 | return 1; 186 | } 187 | 188 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section 189 | { 190 | return [self.delegate tableView:self numberOfRowsInSection:section]; 191 | } 192 | 193 | - (UITableViewCell *)tableView:(UITableView *)aTableView cellForRowAtIndexPath:(NSIndexPath *)indexPath 194 | { 195 | UITableViewCell * cell = [self.delegate tableView:self cellForRowAtIndexPath:indexPath]; 196 | 197 | // Rotate if needed 198 | if (CGAffineTransformEqualToTransform(cell.contentView.transform, CGAffineTransformIdentity)) 199 | { 200 | int xOrigin = (cell.bounds.size.width - cell.bounds.size.height) / 2.0; 201 | int yOrigin = (cell.bounds.size.height - cell.bounds.size.width) / 2.0; 202 | cell.contentView.frame = CGRectMake(xOrigin, yOrigin, cell.bounds.size.height, cell.bounds.size.width); 203 | cell.contentView.transform = CGAffineTransformMakeRotation(M_PI/2.0); 204 | } 205 | return cell; 206 | } 207 | 208 | @end 209 | 210 | -------------------------------------------------------------------------------- /PTEHorizontalTableView.podspec: -------------------------------------------------------------------------------- 1 | 2 | Pod::Spec.new do |s| 3 | 4 | s.name = "PTEHorizontalTableView" 5 | s.version = "1.1.0" 6 | s.summary = "Horizontal UITableView inspired by EasyTableView." 7 | s.homepage = "https://github.com/PTEz/PTEHorizontalTableView" 8 | 9 | s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' } 10 | s.author = { "Ernesto Rivera" => "rivera.ernesto@gmail.com" } 11 | s.source = { :git => "https://github.com/PTEz/PTEHorizontalTableView.git", :tag => "#{s.version}" } 12 | 13 | s.platform = :ios, '5.0' 14 | s.requires_arc = true 15 | s.preserve_paths = "README.md", "NOTICE" 16 | 17 | s.source_files = 'PTEHorizontalTableView.{h,m}' 18 | 19 | end 20 | 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | PTEHorizontalTableView 3 | ====================== 4 | 5 | [![Platform: iOS](https://img.shields.io/cocoapods/p/PTEHorizontalTableView.svg?style=flat)](http://cocoadocs.org/docsets/PTEHorizontalTableView/) 6 | [![Version: 1.1.0](https://img.shields.io/cocoapods/v/PTEHorizontalTableView.svg?style=flat)](http://cocoadocs.org/docsets/PTEHorizontalTableView/) 7 | [![License: Apache 2.0](https://img.shields.io/cocoapods/l/PTEHorizontalTableView.svg?style=flat)](http://cocoadocs.org/docsets/PTEHorizontalTableView/) 8 | [![Dependency Status](https://www.versioneye.com/objective-c/PTEHorizontalTableView/badge.svg?style=flat)](https://www.versioneye.com/objective-c/PTEHorizontalTableView) 9 | [![Build Status](http://img.shields.io/travis/PTEz/PTEHorizontalTableView/master.svg?style=flat)](https://travis-ci.org/PTEz/PTEHorizontalTableView) 10 | 11 | Horizontal UITableView inspired by [EasyTableView](https://github.com/alekseyn/EasyTableView). 12 | 13 | ![Screenshot 1](http://ptez.github.io/PTEHorizontalTableView/images/screenshot1.png) ![Screenshot 2](http://ptez.github.io/PTEHorizontalTableView/images/screenshot2.png) 14 | 15 | ## Features 16 | 17 | * PTEHorizontalTableView wraps a `UITableView` rotated horizontally using a `CGAffineTransform` whose cells' content views are rotated back vertically. 18 | * `PTETableViewDelegate` very similar to the standard `UITableViewDelegate` with some method name such as `tableView:widthForCellAtIndexPath:`. 19 | * Support for standard scroll indicators, headers and footers. 20 | * Full Interface Builder support including creating Static/Prototype Cells using Storyboards. 21 | 22 | ## Demo 23 | 24 | A demo project is [included](Demo) in the repository. 25 | 26 | ## Installation 27 | 28 | Simply add `pod 'PTEHorizontalTableView'` to your [CocoaPods](http://cocoapods.org)' [Podfile](http://guides.cocoapods.org/syntax/podfile.html). 29 | 30 | ```ruby 31 | platform :ios, '8.0' 32 | use_frameworks! 33 | 34 | pod 'PTEHorizontalTableView' 35 | ``` 36 | 37 | ## Documentation 38 | 39 | http://cocoadocs.org/docsets/PTEHorizontalTableView/ 40 | 41 | ## Usage 42 | 43 | Simply implement the `PTETableViewDelegate` protocol: 44 | 45 | ```obj-c 46 | @protocol PTETableViewDelegate 47 | 48 | - (NSInteger)tableView:(PTEHorizontalTableView *)horizontalTableView 49 | numberOfRowsInSection:(NSInteger)section; 50 | 51 | - (UITableViewCell *)tableView:(PTEHorizontalTableView *)horizontalTableView 52 | cellForRowAtIndexPath:(NSIndexPath *)indexPath; 53 | 54 | @optional 55 | 56 | - (NSUInteger)numberOfSectionsInTableView:(PTEHorizontalTableView*)horizontalTableView; 57 | 58 | - (void)tableView:(PTEHorizontalTableView *)horizontalTableView 59 | didSelectRowAtIndexPath:(NSIndexPath *)indexPath; 60 | 61 | - (UIView*)tableView:(PTEHorizontalTableView*)horizontalTableView 62 | viewForHeaderInSection:(NSInteger)section; 63 | 64 | - (UIView*)tableView:(PTEHorizontalTableView*)horizontalTableView 65 | viewForFooterInSection:(NSInteger)section; 66 | 67 | - (CGFloat)tableView:(PTEHorizontalTableView *)horizontalTableView 68 | widthForCellAtIndexPath:(NSIndexPath *)indexPath; 69 | 70 | @end 71 | 72 | ``` 73 | 74 | ## License 75 | 76 | Copyright 2014-2017 PTEz. 77 | 78 | Licensed under the Apache License, Version 2.0 (the "License"); 79 | you may not use this file except in compliance with the License. 80 | You may obtain a copy of the License at 81 | 82 | http://www.apache.org/licenses/LICENSE-2.0 83 | 84 | Unless required by applicable law or agreed to in writing, software 85 | distributed under the License is distributed on an "AS IS" BASIS, 86 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 87 | See the License for the specific language governing permissions and 88 | limitations under the License. 89 | 90 | --------------------------------------------------------------------------------