title: Drawing labels using iosMath library
body: <p>I'm trying to use iosMath but it shows nothing. How can I use the iosMath library to draw math labels?</p>
  <blockquote>
  <p><a href="https://github.com/kostub/iosMath" rel="nofollow noreferrer">https://github.com/kostub/iosMath</a></p>
  <p><code>iosMath</code> is a library for displaying beautifully rendered math equations in iOS and MacOS applications. It typesets formulae written using the LaTeX in a <code>UILabel</code> equivalent class. It uses the same typesetting rules as LaTeX and so the equations are rendered exactly as LaTeX would render them.</p>
  </blockquote>
  <p>I installed pod file.</p>
  <pre><code>import UIKit
  import Foundation
  import CoreGraphics
  import QuartzCore
  import CoreText
  import iosMath
  
  
  class Deneme_VC: UIViewController {
  
  
      override func viewDidLoad() {
          super.viewDidLoad()
          // Do any additional setup after loading the view, typically from a nib.
          let label: MTMathUILabel = MTMathUILabel()
          label.latex = &quot;x = \\frac{-b \\pm \\sqrt{b^2-4ac}}{2a}&quot;
  
          //ADD THIS LABE TO THE VIEW HEIRARCHY
          view.addSubview(label)
      }
  
      override func didReceiveMemoryWarning() {
          super.didReceiveMemoryWarning()
          // Dispose of any resources that can be recreated.
      }
  
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/bli1H.png" rel="nofollow noreferrer">enter image description here</a></p>