The compiler is unable to type-check this expression in reasonable time

It is not possible to compile if the line 146 de the file "pointage.swift" is not in comment.  Otherwise we get this alarm :  The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions

Replies

Move all of your core data operations into its own class. Take a look at the food truck example code. View-only code should exist only in the view.

@crafth As lines are not numbered, impossible to know what is line 146 !

How is ReadRelevesBancaires defined ?

  • What is the syntax here
                    ForEach (0.. [ReleveBancaire] {

If you mean to a count, it could be

                    ForEach (0..<fetchRecords.count) {
  • You use var that are undefined: mois, pointe…

So please show complete and precise code and exact location of error