title: initWithFrame not executing in UIVIew
body: <p>I have made a <code>UIView</code> subclass &amp; want to execute a method on <code>initWithFrame:</code>, but this method is not being called. </p>
  
  <p>When I call the method from <code>initWithCoder:</code>, which is executing, the code crashes showing this error:</p>
  
  <blockquote>
    <p><strong>Terminating app due to uncaught exception 'NSGenericException', reason: 'This coder requires that replaced objects be returned from initialization coder method:'</strong> </p>
  </blockquote>
  
  <p>My code is: </p>
  
  <pre><code>-(void)initialize
  {
      //code
  }
  
  -(id)initWithFrame:(CGRect)frame
  {
      self = [super initWithFrame:frame];
      if (self) {
          [self initialize];
  
          // Initialization code
      }
      return self;
  }
  
  - (id)initWithCoder:(NSCoder *)aCoder
  { 
      self = [super initWithCoder:aCoder];
  
      if(self)
      {
          [self initialize];
      }
      return self;
  }
  </code></pre>