Skip to content

Commit

Permalink
Fix ipad touch bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cemolcay committed Nov 8, 2019
1 parent 342b0f0 commit 0dbdc4f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ContinuesTouchCollectionView.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |spec|
#

spec.name = "ContinuesTouchCollectionView"
spec.version = "0.0.2"
spec.version = "0.0.3"
spec.summary = "A collection view subview for handling multiple touch on cells."
spec.swift_version = "5.0"

Expand Down
9 changes: 2 additions & 7 deletions ContinuesTouchCollectionView.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -189,16 +189,11 @@
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-ContinuesTouchCollectionView/Pods-ContinuesTouchCollectionView-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/COSTouchVisualizer/COSTouchVisualizer.framework",
"${PODS_ROOT}/Target Support Files/Pods-ContinuesTouchCollectionView/Pods-ContinuesTouchCollectionView-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
);
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/COSTouchVisualizer.framework",
"${PODS_ROOT}/Target Support Files/Pods-ContinuesTouchCollectionView/Pods-ContinuesTouchCollectionView-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ open class ContinuesTouchCollectionView: UICollectionView {
if let indexPath = indexPathForItem(at: location),
let cell = cellForItem(at: indexPath) as? ContinuesTouchCollectionViewCell,
!cell.isTouching {
cell.touch? = touch
cell.touch = touch
touchingCells.append(cell)
}
}
Expand Down
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: e4fe0da0b239e31aa29d1eb902a4ca0870f029bc

COCOAPODS: 1.6.0
COCOAPODS: 1.7.5

0 comments on commit 0dbdc4f

Please sign in to comment.