title: Infinite loop when overriding initWithCoder
body: <p>I have a <code>UIViewController</code> with some controllers and some views. Two of these views (Grid Cell) are other nibs. I've got outlets from the Grid Cells to File's Owner, but they aren't loaded automatically.</p>
  
  <p>So I try to override <code>GridCell.m</code>'s <code>initWithCoder</code>.
  This starts an infinite loop.</p>
  
  <p>I know it's possible to just override <code>initWithFrame</code> and add the subview from code, but this is not what I want. I want to be able to move the view around in Interface Builder and have Xcode initialize the view with the right frame.</p>
  
  <p>How do I go about achieving this?</p>
  
  <p><strong>EDIT 1</strong></p>
  
  <p>I'm trying to get it working with the help of Alexander. This is how I've now got it set up:
  MainView has UIView with a Custom class set as GridCell. It got an outlet in the MainView/File's Owner.</p>
  
  <p><img src="https://i.stack.imgur.com/5Pau7.png" alt="Pic 1"></p>
  
  <p>Removed all init-code from GridCell.m and set up an outlet to my custom class</p>
  
  <p><img src="https://i.stack.imgur.com/0ZSGV.png" alt="Pic 2"></p>
  
  <p><img src="https://i.stack.imgur.com/Y44TQ.png" alt="Pic 3"></p>
  
  <p>The MainView don't still display the GridCell though. There's no error, just a lonely, empty space where the red switch should be. What am I doing wrong?</p>
  
  <p>I'm very close to just doing this programmatically. I would love to learn how to this with nibs though.</p>