1
我對核心數據使用NSFetchedResultsController。'UICollectionView'類型的值沒有成員'beginUpdates' - Swift 3 issue
並在執行controllerWillChangeContent()方法。
self.collectionView.beginUpdates()
顯示來自Xcode 8,swift 3的錯誤。
任何建議。
我對核心數據使用NSFetchedResultsController。'UICollectionView'類型的值沒有成員'beginUpdates' - Swift 3 issue
並在執行controllerWillChangeContent()方法。
self.collectionView.beginUpdates()
顯示來自Xcode 8,swift 3的錯誤。
任何建議。
beginUpdates
來自UITableView
。 UICollectionView
有performBatchUpdates(_:completion:)
方法。
對於使用NSFetchedResultsController
和UICollectionView
的信息,我建議查看this answer。