title: iOS how to start a viewcontroller from framework
body: <p>I have created my private framework successfully. It has no error. I have created a project now I want a simple thing but I do not have clue. Following is what I want</p>
  
  <blockquote>
    <p>I want to start the Framework view controller.
    You can think it is the whole app. I want to start its first view
    controller. and then the app flow is as per business logic. I
    want to exit app when user exit the Framework main view controller. Actually it was the complete app but I decided to make it framework for different clients because only small modifications are needed for different clients but I do not know how it should be done. </p>
  </blockquote>
  
  <p>here is how I am trying to start first view controller in my Client project but it does not recognize that controller. </p>
  
  <pre><code> @IBAction func onClickBtnStartOver(_ sender: Any)
   {
       let storyBoard : UIStoryboard = UIStoryboard(name: "Storyboard", bundle:nil)            
       let nextViewController = storyBoard.instantiateViewControllerWithIdentifier("idFrameworkVC") as FwViewController
       self.presentViewController(nextViewController, animated:true, completion:nil)
   }
  </code></pre>
  
  <p>It gives me error like "<strong><em>Use of undeclared type 'FwViewController'</em></strong>"</p>
  
  <p>So what should I do to start the  first viewcontroller of framework.</p>
  
  <p><strong>Note: I have viewcontrollers in one Storyboard namely Storyboard inside Framework</strong></p>