| { |
| "name": "ContinuesTouchCollectionView", |
| "version": "0.0.3", |
| "summary": "A collection view subview for handling multiple touch on cells.", |
| "swift_versions": "5.0", |
| "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!", |
| "homepage": "https://github.com/cemolcay/ContinuesTouchCollectionView", |
| "license": "MIT", |
| "authors": { |
| "cemolcay": "ccemolcay@gmail.com" |
| }, |
| "platforms": { |
| "ios": "9.0" |
| }, |
| "source": { |
| "git": "https://github.com/cemolcay/ContinuesTouchCollectionView.git", |
| "tag": "0.0.3" |
| }, |
| "source_files": "ContinuesTouchCollectionView/ContinuesTouchCollectionView.swift", |
| "requires_arc": true, |
| "swift_version": "5.0" |
| } |