title: Opening a view from a custom class Swift IOS
body: <p>I have this problem:</p>
  
  <p>Im having a custom class named <code>CoredataAction</code></p>
  
  <p>In this class I do all my CoreData actions and it is not an <code>UIViewController</code>.</p>
  
  <p>How can I open a view from my <code>CoreDataAction</code> class?</p>
  
  <p>I have tryied opening a storyboard but did didn't work! It got me an bad_access error</p>