[Add] AlibabacloudBPStudio20210931 4.0.4
[CocoaPods.git] / Specs / 7 / 9 / 8 / ContinuesTouchCollectionView / 0.0.2 / ContinuesTouchCollectionView.podspec.json
blobe833d0624eeba7ed080c1a94662cfb7b0494d680
2   "name": "ContinuesTouchCollectionView",
3   "version": "0.0.2",
4   "summary": "A collection view subview for handling multiple touch on cells.",
5   "swift_version": "5.0",
6   "description": "ContinuesTouchCollectionView\n====\n\nA collection view subview for handling multiple touch on cells.\n\nDemo\n----\n\n![alt tag](https://github.com/cemolcay/ContinuesTouchCollectionView/raw/master/Demo.gif)\n\n\nInstall\n----\n\n``` ruby\npod 'ContinuesTouchCollectionView'\n```\n\nRequirements\n----\n\n* Swift 4.2+\n* iOS 9.0+\n\n\nUsage\n----\n\n* Create a `ContinuesTouchCollectionView` instance and populate `ContinuesTouchCollectionViewCell`s on it.\n* You can set `isLocked` property to true for disabling the scrolling on collection view and enabling multiple touches.\n* When you are populating your cells, set `ContinuesTouchCollectionViewCellDelegate` to the view controller you are working on.\n* Get informed when your cells started or stopped being touched with the delegate methods.\n\n``` swift\npublic protocol ContinuesTouchCollectionViewCellDelegate: class {\nfunc continuesTouchCollectionViewCellDidStartTouching(_ continuesToucCollectionViewCell: ContinuesTouchCollectionViewCell)\nfunc continuesTouchCollectionViewCellDidStopTouching(_ continuesToucCollectionViewCell: ContinuesTouchCollectionViewCell)\n}\n```\n\n* You may also override `isTouching` property inside your cell class in order to make it responding highlight colors.\n* Use `isTouching` instead of `isHihglighed` property.\n\n``` swift\noverride var isTouching: Bool {\ndidSet {\nbackgroundColor = isTouching ? .lightGray : .darkGray\n}\n}\n```\n\n* Check out the example project for the implementation.\n\nAppStore\n----\n\nThis library is used in my app [ScaleBud](https://itunes.apple.com/us/app/scalebud-auv3-midi-keyboard/id1409125865?ls=1&mt=8) (iOS, AUv3) in the app store, check it out!",
7   "homepage": "https://github.com/cemolcay/ContinuesTouchCollectionView",
8   "license": "MIT",
9   "authors": {
10     "cemolcay": "ccemolcay@gmail.com"
11   },
12   "platforms": {
13     "ios": "9.0"
14   },
15   "source": {
16     "git": "https://github.com/cemolcay/ContinuesTouchCollectionView.git",
17     "tag": "0.0.2"
18   },
19   "source_files": "ContinuesTouchCollectionView/ContinuesTouchCollectionView.swift",
20   "requires_arc": true