title: container view calls parent func in swift
body: <p>In the storyBoard "parent" scene with its parentVC.swift, there is a containerView with embedded segue with its containerVC.swift.<br>
  I am able to call containerView.myFunc() in the  parentVC viewDidLoad() with no problems.<br>
  How can I call a custom func defined in parentView from an action of a button in containerView.</p>
  
  <pre><code>self.parentViewController.myCustomFunc()
  </code></pre>
  
  <p>I get </p>
  
  <blockquote>
    <p>Value of type UIViewController? has no member myCustomFunc</p>
  </blockquote>