Skip to content

Commit 0dbdc4f

Browse files
committed
Fix ipad touch bug
1 parent 342b0f0 commit 0dbdc4f

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

Diff for: ContinuesTouchCollectionView.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |spec|
1616
#
1717

1818
spec.name = "ContinuesTouchCollectionView"
19-
spec.version = "0.0.2"
19+
spec.version = "0.0.3"
2020
spec.summary = "A collection view subview for handling multiple touch on cells."
2121
spec.swift_version = "5.0"
2222

Diff for: ContinuesTouchCollectionView.xcodeproj/project.pbxproj

+2-7
Original file line numberDiff line numberDiff line change
@@ -189,16 +189,11 @@
189189
files = (
190190
);
191191
inputFileListPaths = (
192-
);
193-
inputPaths = (
194-
"${PODS_ROOT}/Target Support Files/Pods-ContinuesTouchCollectionView/Pods-ContinuesTouchCollectionView-frameworks.sh",
195-
"${BUILT_PRODUCTS_DIR}/COSTouchVisualizer/COSTouchVisualizer.framework",
192+
"${PODS_ROOT}/Target Support Files/Pods-ContinuesTouchCollectionView/Pods-ContinuesTouchCollectionView-frameworks-${CONFIGURATION}-input-files.xcfilelist",
196193
);
197194
name = "[CP] Embed Pods Frameworks";
198195
outputFileListPaths = (
199-
);
200-
outputPaths = (
201-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/COSTouchVisualizer.framework",
196+
"${PODS_ROOT}/Target Support Files/Pods-ContinuesTouchCollectionView/Pods-ContinuesTouchCollectionView-frameworks-${CONFIGURATION}-output-files.xcfilelist",
202197
);
203198
runOnlyForDeploymentPostprocessing = 0;
204199
shellPath = /bin/sh;

Diff for: ContinuesTouchCollectionView/ContinuesTouchCollectionView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ open class ContinuesTouchCollectionView: UICollectionView {
7272
if let indexPath = indexPathForItem(at: location),
7373
let cell = cellForItem(at: indexPath) as? ContinuesTouchCollectionViewCell,
7474
!cell.isTouching {
75-
cell.touch? = touch
75+
cell.touch = touch
7676
touchingCells.append(cell)
7777
}
7878
}

Diff for: Podfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ SPEC CHECKSUMS:
1313

1414
PODFILE CHECKSUM: e4fe0da0b239e31aa29d1eb902a4ca0870f029bc
1515

16-
COCOAPODS: 1.6.0
16+
COCOAPODS: 1.7.5

0 commit comments

Comments
 (0)