title: ios - Can I use an IBAction from another ViewController?
body: <p>I am using storyboard and I have 2 custom views in them.</p>
  
  <p>Now if i have a button on the main View then I am able to move the embedded views, but if the buttons are on the custom views I cannot get the same effect. Yes I can move the view of the View Controller I am on, but I cannot control the action of the parent controller.</p>
  
  <p>Is that out of the question or am I looking at this the wrong way?</p>
  
  <p>Please observe the image and I will explain what I am trying to achieve:</p>
  
  <p><img src="https://i.stack.imgur.com/2atoG.png" alt="My Storyboard"></p>
  
  <p>Please note I have seen this question :<a href="https://stackoverflow.com/questions/12763470/passing-an-ibaction-to-another-viewcontroller">Passing an IBAction to another ViewController</a>
  This does not seem to work in my setup.</p>
  
  <p>Ok, so Main Right and Main Left work as expected - they shift the Right SideVC to the right and reveal the left and back.</p>
  
  <p>Now I want those behavior to take place on the Right Side VC and the Left Side VC, because I want to remove the Main Right and Main Left button.</p>