Code Monkey home page Code Monkey logo

spmathkit's Introduction

#MathKit

###What's New?

  • New optimization to the extreme of the new rendering controls, efficiency and fluency have been greatly improved!SPMathKit_N.zip
  • Support new codeType ,MathML code had been supported!!! MathML code is WebKit supported code,is so easy to render math code!!! Now,you can easy to build your app with MathKit to render math code with two easy-ways.

##What MathKit can do?

  • It will render you your math, physics, chemistry or any science formula,Geometric graphics and pictures, as well as general text.

  • MathKit used by the rendering engine from the current fastest performance of the best JavaScript mathematical formula rendering engine

  • MathKit the mathematical formula derived from the code is very simple and very easy to store the Latex code

Based on this, we believe that it will become the most popular science formula and graphics rendering Library ##Why you need MathKit?

  • Strong rendering performance
  • Very simple code
  • Fast integration
  • Minimal dependency Library
  • support new codeType MathML

KaTeX and MathJax Comparison Demo

Time to process page with Katex = 80~100 ms

Time to process page with MathJax = 900~2000 ms

This shows that Katex faster than MathJax 10 times to 20 times

And MathKit is based on the Katex engine to achieve

##Usage

  1. Download all the files in the MathKit subdirectory.
  2. Add the source files to your Xcode project.
  3. Link with required frameworks:
  4. Import MathSubjectView.h.
  5. Initialization of an instance object, and give the testStr attribute assignment, where the object will be copied to the mixture of arbitrary science formulas and pictures of the string. Note: Here's the formula in the string need to use a tag similar to @math#...@/math# wrapped up, and the picture will need to use a tag similar to @image#...@/image# wrapped up, so as to be recognized
  6. Add the instance object to your view.

If you still do not know how to use it, then download the code to see it, the package has my prepared sample demo.

##Result img

spmathkit's People

Contributors

codingsha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

spmathkit's Issues

是否可以解析 mathML 而不用 webView?

因为内容是通过 label 的 attributeText 去显示的,所以只想把 mathML 格式的内容转成文字,不是直接通过 view 去显示,是否能办到?
能给个联系方式讨论下吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.