title: Custom ui component from framework not rendered to story board
body: <p>I am creating a swift framework which has some reusable UI components.</p>
  
  <p>When I am importing this framework in another application, I am able to add custom component programmatically.</p>
  
  <p>But, if I add UIView on storyboard and change its class to customComponent, I am not able to see its preview on storyboard. Due to this i cannot distribute this framework to other developers as they can't visualize the component in InterfaceBuilder.</p>
  
  <p>Though, I can see the component at run-time, it reduces the effectiveness of using framework in storyboard.</p>
  
  <p>I have followed a <a href="https://medium.com/flawless-app-stories/getting-started-with-reusable-frameworks-for-ios-development-f00d74827d11" rel="nofollow noreferrer">link</a> to develop swift framework. </p>
  
  <p>Thre are two projects Library and SampleApp.</p>
  
  <p>Libray : This is a swift framework which as one custom ui component as MyButton. its very basic ui just to avoid any confusion.</p>
  
  <p>SampleApp : This application uses Library to show MyButton on sample screen</p>
  
  <p>Please let me know the way i can see the preview of custom UI component from framework in any other application.</p>
  
  <p>Edit1:</p>
  
  <p>I have uploaded my sample code where I have applied the suggestions, but not able to resolve this.
  <a href="https://github.com/manishjaswal/iOS_Lib_Sample" rel="nofollow noreferrer">Code</a></p>
  
  <p>Edit 2:
  Rectified the broken link of tutorial. I have not used outlets just to make it simpler.</p>
  
  <p>Edit 3:
  There are two projects: Library and SampleApp</p>
  
  <p>I have <a href="https://github.com/manishjaswal/iOS_Lib_Sample/blob/master/Library/Library/MyButton.swift" rel="nofollow noreferrer">MyButton.swift</a> as a custom widget in Library project. </p>
  
  <p>I have added UIView in <a href="https://github.com/manishjaswal/iOS_Lib_Sample/blob/master/SampleApp/SampleApp/Base.lproj/Main.storyboard" rel="nofollow noreferrer">StoryBoard</a> and changed its class to MyButton(from library Framework)</p>
  
  <p><a href="https://i.stack.imgur.com/FyOIG.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FyOIG.jpg" alt="enter image description here"></a></p>