title: Custom UIView with UILabel iOS
body: <p>I have a <code>UIView</code> with two UILabel that I want to reuse in more than one <code>UIViewController</code>. I use storyboard and I assign a custom class <code>alertView:UIView</code> that I declared.
  file AlertRemote.h</p>
  
  <pre><code>@interface AlertRemote: UIView
  @property (weak, nonatomic) IBOutlet UILabel *label1;
  @property (weak, nonatomic) IBOutlet UILabel *label2;
  -(void) setTextLabel;
  </code></pre>
  
  <p>file AlertRemote.m</p>
  
  <pre><code>-(void) setTextLabel{
      [ _label1 setText:@"attention..."];
      [_label2 setText:@"the program..."];
  }
  </code></pre>
  
  <p>file Controllo.m</p>
  
  <pre><code>//the view present in the storyboard alertView linked to the uiview
  @property (strong, nonatomic)IBOutlet AlertRemote *alertView; 
  @property AlertRemote *alRemView;
  [super viewDidLoad];
  _alertView=_alRemView; [_alertView setTextLabel];
  [_alertView setTextLabel];
  </code></pre>
  
  <p>if I put some breakpoints inside setTextLabel the code don't works
  thanks!!</p>