﻿using CSharpMath.Apple;

namespace CSharpMath.Ios
{
  static class IosMathLabels
  {
    public static AppleLatexView LatexView(string latex)
    {
      var typesettingContext = AppleTypesetters.CreateTypesettingContext()
      var view = new AppleLatexView();
      view.SetLatex(latex);
      return view;
    }
  }
}
﻿using CSharpMath.Apple;

namespace CSharpMath.Ios
{
  static class IosMathLabels
  {
    public static AppleLatexView LatexView(string latex)
    {
      var typesettingContext = AppleTypesetters.CreateLatinMath();
      var view = new AppleLatexView(typesettingContext);
      view.SetLatex(latex);
      return view;
    }
  }
}
Use the new factory for Typesetting context
Use the new factory for Typesetting context
