Jak uzyskać liczbę obiektów w sekcji NSFetchedResultcController w Swift?Jak uzyskać liczbę obiektów w sekcji NSFetchedResultsController Swift
if let s = self.fetchedResultsController?.sections as? NSFetchedResultsSectionInfo {
}
daje mi Cannot downcast from '[AnyObject]' to [email protected] protocol type NSFetchedResultsSectionInfo
var d = self.fetchedResultsController?.sections[section].numberOfObjects
daje mi does not have member named 'subscript'