title: how to write custom IBInspectable for fonts and direction?
body: <p>I decide write extension for text field in swift, and add some feature to UITextField for example add label, title, direction for title, custom color, custom font for title and etc.</p>
  
  <p>The RTL Language direction number (for example phone number) in the Left, but title direction in the Right, because of that I forced separate direction text field and label.</p>
  
  <p>My problem with IBInspectable, because I want add direction and custom font for label text field (title) but IBInspectable don't support this feature of NSTextDirection, UIFont and just support few thinks:</p>
  
  <ul>
  <li>Int</li>
  <li>CGFloat</li>
  <li>Double</li>
  <li>String</li>
  <li>Bool</li>
  <li>CGPoint</li>
  <li>CGSize</li>
  <li>CGRect</li>
  <li>UIColor</li>
  <li>UIImage</li>
  </ul>
  
  <p>And I don't want use boolean for direction in IBInspectable.</p>
  
  <p>Do you have any idea for this subject?</p>
  
  <p>Thanks for your help, and I apologize for weak English.</p>