mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
17 lines
481 B
Swift
17 lines
481 B
Swift
// Copyright 2016 Yandex LLC. All rights reserved.
|
|
|
|
import UIKit
|
|
|
|
// swiftlint:disable use_exclusive_touch_collection_view
|
|
@available(tvOS, unavailable)
|
|
public func ExclusiveTouchCollectionView(
|
|
frame: CGRect,
|
|
collectionViewLayout: UICollectionViewLayout
|
|
) -> UICollectionView {
|
|
let result = UICollectionView(frame: frame, collectionViewLayout: collectionViewLayout)
|
|
result.isExclusiveTouch = true
|
|
return result
|
|
}
|
|
|
|
// swiftlint:enable use_exclusive_touch_collection_view
|