title: Which init method for UIView will be called when using drag and drop in xib file
body: <p>here is the custom collection view,and below label is the (rating view i design).<br>
  <img src="https://i.stack.imgur.com/YTjIJ.png" alt="enter image description here"> </p>
  
  <pre><code>    - (id)initWithFrame:(CGRect)frame
  {
      self = [super initWithFrame:frame];
      if (self) {
  
          [self initGrayStarView];
  
          [self initYellowStarView];
  
          [self initRatingLabel];
      }
      return self;
  }
  </code></pre>
  
  <p>but i find that it every time the rating view didn't appear(image view and label did).  then i found it's because that i didn't call the init method for rating view,so it's nil ,but why?<br>
  this is the init method.</p>
  
  <blockquote>
    <p>but it never call it ,it only call the layoutSubview method.</p>
  </blockquote>