title: Accessing uibutton action from a different class Swift
body: <p>I have an <code>UITableView</code> that is loaded from two custom cell <code>xib</code> files.
  The second one contains an <code>UIButton</code>.</p>
  
  <p>But since i've added the custom class for <code>xib</code> - it has its own actions and functions, which i cannot access from <code>ViewController</code>.</p>
  
  <p>My goal is to apply some action on <code>UIButton</code> when the custom cell is loaded in the tableview.</p>
  
  <p>My function is defined in ViewController (because all variables are there) and my <code>UIButton</code> action is defined in Custom class for <code>xib</code>. </p>
  
  <p>How do i connect one to another?</p>
  
  <p>Thank you</p>