如何获取Swift中NSFetchedResultcController节的对象数?如何获取节中的对象数NSFetchedResultsController Swift
if let s = self.fetchedResultsController?.sections as? NSFetchedResultsSectionInfo {
}
是给我Cannot downcast from '[AnyObject]' to [email protected] protocol type NSFetchedResultsSectionInfo
var d = self.fetchedResultsController?.sections[section].numberOfObjects
给我does not have member named 'subscript'