title: confused about initWithCoder and custom UIViews
body: <p>I'm trying to create a custom <code>UIView</code> that brings in it's view from a nib file. </p>
  
  <p>In my controller I have something like:</p>
  
  <pre><code>self.arcView=[[JtView alloc] initWithCoder:self];
  self.arcView.backgroundColor=[UIColor redColor];
  self.arcView.frame=CGRectMake(30.0f,200.0f, 100.0f, 100.0f);
  [self.view addSubview:self.arcView];
  </code></pre>
  
  <p>My first question is what should go into the argument for <code>initWithCoder (NSCoder *)</code>? I tried self but got an incompatible pointer type but this seemed to work.  But on to question #2:</p>
  
  <p>Second, the argument is that you use <code>initWithCoder</code> with <code>nibs</code> and <code>initWithFrame</code> when putting your custom view in a frame. Well, I want to load a <code>nib</code> in my custom view and then put it into  a frame. Can I just add a frame as above and it's ok (it looks like it works)?</p>