title: awakeFromNib vs. initWithFrame for custome UITableViewCell
body: <p>I need to make a custom UITableViewCell, so I created a subclass with associated nib file. </p>
  
  <p>I need to add some subviews to it. Does awakeFromNib replace initWithFrame when using a nib file? I am using <code>[[NSBundle mainBundle] loadNibNamed:</code> in my <code>cellForRowAtIndexPath</code> method.</p>
  
  <p>Do I use initWithFrame like so? </p>
  
  <pre><code>- (id)initWithFrame:(CGRect)frame
  {
      if ((self = [super initWithFrame:frame]))
      {
          self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, 100, 320)]
  
          [self addSubview:self.horizontalTableView];
      }
  
      return self;
  }
  </code></pre>
  
  <p>Or do I do it in awakeFromNib like so</p>
  
  <pre><code>- (void)awakeFromNib
  {
     self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, 100, 320)]
  
              [self addSubview:self.horizontalTableView];
  }
  </code></pre>