title: RFQuiltLayout and UICollectionView margin
body: <p>I am trying to use RFQuiltLayout in my Collection View and I keep running into an size/margin issue. It seems appears fine using the 4s and 5s simulator but when I test it on the 6 or 6plus, the blocks get pushed over to the left side of the screen and leave a large margin on the right.</p>
  <p>Not sure what's going on here.</p>
  <p><a href="https://www.dropbox.com/s/mzs4ln0g4omstcr/Screen%20Shot%202015-07-28%20at%209.00.33%20PM.png?dl=0" rel="nofollow noreferrer">image of problem</a></p>
  <p><a href="https://www.dropbox.com/s/864yap9atv2dqna/Screen%20Shot%202015-07-28%20at%209.17.07%20PM.png?dl=0" rel="nofollow noreferrer">storyboard</a></p>
  <p>Here is the code for the collection view controller</p>
  <p><strong>.h</strong></p>
  <pre><code>#import &quot;RFQuiltLayout.h&quot;
  #import &lt;UIKit/UIKit.h&gt;
  
  @interface ViewController : UIViewController&lt;UICollectionViewDataSource, UICollectionViewDelegate, RFQuiltLayoutDelegate, UICollectionViewDelegateFlowLayout&gt;
  @property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
  @property (nonatomic, strong) NSArray *greekLetters;
  </code></pre>
  <p><strong>.m</strong></p>
  <pre><code>#import &quot;ViewController.h&quot;
  #import &quot;CollectionViewCell.h&quot;
  @interface ViewController ()
  
  @end
  
  @implementation ViewController
  
  - (void)viewDidLoad {
      [super viewDidLoad];
      // Do any additional setup after loading the view, typically from a nib.
      RFQuiltLayout* layout = (id)[self.collectionView collectionViewLayout];
      layout.direction = UICollectionViewScrollDirectionVertical;
      layout.blockPixels = CGSizeMake(75, 75);
      
      
       self.greekLetters = @[@&quot;Alpha&quot;, @&quot;Beta&quot;, @&quot;Cappa&quot;,@&quot;Delta&quot;, @&quot;Epsilon&quot;, @&quot;Zeta&quot;, @&quot;Eta&quot;, @&quot;Theta&quot;, @&quot;Iota&quot;, @&quot;Kappa&quot;, @&quot;Lambda&quot;, @&quot;Mu&quot;, @&quot;Nu&quot;, @&quot;Xi&quot;, @&quot;omicron&quot;, @&quot;pi&quot;,@&quot;rho&quot;,@&quot;sigma&quot;, @&quot;tau&quot;, @&quot;upsilon&quot;, @&quot;phi&quot;, @&quot;chi&quot;,@&quot;psi&quot;,@&quot;omega&quot;];
      
      
  
      
    //  [[self collectionView]setDataSource:self];
     // [[self collectionView]setDelegate:self];
      
  }
  
  - (void)didReceiveMemoryWarning {
      [super didReceiveMemoryWarning];
      // Dispose of any resources that can be recreated.
  }
  
  
  #pragma - mark CollectionView DelegateMethods:
  
  
  -(NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView{
  
      return 1;
  }
  
  - (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section{
  
      return self.greekLetters.count;
  }
  
  - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath{
  
      NSString *CellIdentifer = @&quot;cell&quot;;
      CollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:CellIdentifer forIndexPath:indexPath];
      
      cell.cellLabel.text = [self.greekLetters objectAtIndex:indexPath.row];
      
      return cell;
  
  }
  
  
  #pragma mark – RFQuiltLayoutDelegate
  
  
  -(CGSize) collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout blockSizeForItemAtIndexPath:(NSIndexPath *)indexPath{
      
      if (indexPath.row %2) {
          return CGSizeMake(2, 3);
          
      }else{
          return CGSizeMake(2, 2);
      }
  }
  
  - (UIEdgeInsets)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout insetsForItemAtIndexPath:(NSIndexPath *)indexPath {
      return UIEdgeInsetsMake(5, 5, 5, 5);
  }
  
  @end
  </code></pre>
  <p>Not sure what could be causing it.
  Any help is greatly appreciated.</p>
  <p>thanks.</p>