Selaa lähdekoodia

Merge pull request #190 from mrchenhao/master

add swiftlint disable
Wei Wang 10 vuotta sitten
vanhempi
commit
f4c47bc704
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      Kingfisher-Demo/ViewController.swift

+ 1 - 0
Kingfisher-Demo/ViewController.swift

@@ -58,6 +58,7 @@ extension ViewController {
     override func collectionView(collectionView: UICollectionView, didEndDisplayingCell cell: UICollectionViewCell, forItemAtIndexPath indexPath: NSIndexPath) {
         
         // This will cancel all unfinished downloading task when the cell disappearing.
+        // swiftlint:disable force_cast
         (cell as! CollectionViewCell).cellImageView.kf_cancelDownloadTask()
     }