How to make math equations in Xcode?

I'm starting with Xcode and Objective-C, but I have some experience with OOP in C ++. I bought this book. I read about how to make a simple application, and removed the rest of the book. I want to make an iPhone application that people can use to search for mathematical equations, such as quadratic echoing, Pythagorean identification, etc. I plan to include many things and do many things better than other applications that I have seen. However, before I pay Apple $ 99 for a full iOS developer, I want to know that it is not so difficult to make the Greek letters and mathematical notation that we see in math books. For example, what code is needed to create an iPhone application that displays enter image description here . Of course, I want to use functions that, as I understand it, are included in Xcode to do this kind of thing, and do not do graphics with another program that my application will use when necessary. Beyond this specific example, where is the Apple documentation for creating other math symbols and symbols displayed by my iPhone application? If this is the wrong place to ask, it would be great if you could tell me about a place where I could ask my question.

+3
source share
2 answers

This will require a lot of writing in order to get good layouts using system frameworks. All the building blocks are there, but your program needs a lot of rendering setup to get the layouts you expect. You need characters in the details, but you will need to write a bunch of support code to properly resize, position, and position these characters.

You might want to find a suitable licensed library that you can use that specializes in this. Perhaps rendering LaTeX will offer some good results.

+1
source

Use the basic animation levels to build the elements of the analyzed equation. Use Quartz to draw lines, symbols, to visualize the operation elements using an equation. Also use Core Plot . And then ultimately output to latex after parsing into a hierarchical data structure. Also check out the Graham Cox GCMathParser .

Similar question: Drawing formulas using Quartz 2d

+1
source

All Articles