title: UICollectionViewFlowLayoutBreakForInvalidSizes to catch this in the debugger
body: <p>I am trying to create a seat map layout functionality that takes the coordinates and create a map i want to provide the value of the sections that the map contains. I am using custom collectionViewLayout to create the cells but i am getting that error in the title .</p>
  
  <p>Here is my protocol-</p>
  
  <pre><code>  protocol SeatMapDelegate: class {
  
      func getSectionCoordinates() -&gt; [Int]
  
    }
  </code></pre>
  
  <p>Definition -</p>
  
  <pre><code>func getSectionCoordinates() -&gt; [Int] {
          return sectionHeader
      }
  </code></pre>
  
  <p>and then i am assigning the values to the array</p>
  
  <pre><code>  var sectionHeader = [Int]()
    sectionHeader=(delegate?.getSectionCoordinates())!
  </code></pre>