NSFetchedResultsController - 错误 - 必须分隔一行上的连续语句

时间:2016-12-16 16:05:41

标签: swift

请有人帮助我,我收到此错误,但我无法理解为什么我会收到此错误。在这种情况下,有人可以帮助我吗?

enter image description here

错误在第一行。

Uncaught exception 'PHPExcel_Calculation_Exception' with message 'SomeSheet1 !BE11 -> Formula Error: An unexpected error occured' in /Applications/XAMPP/xamppfiles/htdocs/timetable/phpexcel/Classes/PHPExcel/Cell.php:291 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/timetable/phpexcel/Classes/PHPExcel/Cell.php(189): PHPExcel_Cell->getCalculatedValue() #1 /Applications/XAMPP/xamppfiles/htdocs/timetable/excelparser/ClassExcelParser.php(63): PHPExcel_Cell->getFormattedValue() #2 /Applications/XAMPP/xamppfiles/htdocs/timetable/test/test.php(45): ClassExcelParser->parse() #3 {main} thrown in /Applications/XAMPP/xamppfiles/htdocs/timetable/phpexcel/Classes/PHPExcel/Cell.php on line 291

1 个答案:

答案 0 :(得分:0)

该错误具有误导性。

NSFetchedResultsController也是通用的。

lazy var fetchedResultsController: NSFetchedResultsController<NSFetchRequestResult> = { 
    let fetchRequest = ...