title: Extension initializer is inaccessible due to 'internal' protection level swift 4
body: <p>I have a convenience initializer in an extension inside my framework.
  And I want to use it in another extension in my project.
  It granted public access to everything I could but the compiler keeps saying "initializer is inaccessible due to 'internal' protection level"...</p>
  
  <p>Here is my extension in framework:</p>
  
  <pre><code>public extension UIColor {
      public convenience init(hex: Int) {
          self.init(red:(hex &gt;&gt; 16) &amp; 0xff, green:(hex &gt;&gt; 8) &amp; 0xff, blue:hex &amp; 0xff)
      }
  }
  </code></pre>
  
  <p>and here is my extension in my project:</p>
  
  <pre><code>import myFramework
  
  extension UIColor {
      class var backgroundGrey: UIColor {
          return UIColor(hex: 0xe3e8eb)
      }
  }
  </code></pre>
  
  <p>The error is when I call UIColor(hex).</p>
  
  <p>Do you know what's wrong here ?</p>
  
  <p><strong>Edit:</strong> I added the framework import</p>