title: How can I select specific indexpath of a UICollectionView by default?
body: <p>I want to highlight the specific cell of the UICollectionView by default.<br>
  However I can not do that.The code is below.<br><br>
  UIView(in the init method):</p>
  
  <pre><code>    let selectedIndexPath = IndexPath(item: 0, section: 0)
      collectionView.selectItem(at: selectedIndexPath, animated: false, scrollPosition: [])
  </code></pre>
  
  <p>UICollectionViewCell:</p>
  
  <pre><code>override var isSelected: Bool {
      didSet {
          imageView.tintColor = isSelected ? UIColor.white : UIColor.red
      }
  }
  </code></pre>
  
  <p>How can I select specific indexpath of a UICollectionView by default ?
  If you need any other information to solve it, let me know.
  Thank you.</p>