From 67eaf0e99962a42d8f9ebd71b7b4781e315b1e83 Mon Sep 17 00:00:00 2001 From: Shukhrat Tursunov Date: Sun, 27 Nov 2016 16:47:18 -0800 Subject: [PATCH] Focus in tvOS app Summary: fixed #261 Closes https://github.com/Instagram/IGListKit/pull/262 Differential Revision: D4235651 Pulled By: jessesquires fbshipit-source-id: 9777927d2c1c89ad838197fc10db81a069bbf197 --- .../Views/EmbeddedCollectionViewCell.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Examples/Examples-tvOS/IGListKitExamples/Views/EmbeddedCollectionViewCell.swift b/Examples/Examples-tvOS/IGListKitExamples/Views/EmbeddedCollectionViewCell.swift index 5ed2e32f..bee6a99e 100644 --- a/Examples/Examples-tvOS/IGListKitExamples/Views/EmbeddedCollectionViewCell.swift +++ b/Examples/Examples-tvOS/IGListKitExamples/Views/EmbeddedCollectionViewCell.swift @@ -32,10 +32,10 @@ final class EmbeddedCollectionViewCell: UICollectionViewCell { super.layoutSubviews() collectionView.frame = contentView.frame } - - override var preferredFocusedView: UIView? { + + override var canBecomeFocused: Bool { get { - return collectionView + return false } }