如何在 Xcode 中制作数学方程式? [英] How to make math equations in Xcode?

查看:31
本文介绍了如何在 Xcode 中制作数学方程式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Xcode 和 Objective C 的初学者,但我对 C++ 中的 OOP 有一些经验.我买了这本书.我阅读了如何制作一个简单的应用程序,并浏览了本书的其余部分.我想做的是制作一个 iPhone 应用程序,人们可以用它来查找数学方程,例如二次方程、勾股定理等.我计划包含很多东西,并且比我拥有的其他应用程序做得更好看到了.然而,在我向 Apple 支付 99 美元成为一名成熟的 iOS 开发人员之前,我想知道制作我们在数学书中看到的希腊字母和数学符号并不太难.例如,制作一个显示 的 iPhone 应用程序需要什么代码.当然,我想使用我理解的 Xcode 中包含的功能来执行此类操作,而不是使用我的应用程序在需要时使用的另一个程序制作图形.除了那个特定的例子,用于制作我的 iPhone 应用程序将显示的其他数学符号和符号的 Apple 文档在哪里?如果这是一个错误的提问地点,如果您能告诉我一个更好的地方来发布我的问题,那就太好了.

I am a total beginner 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 app, and skimmed the rest of the book. What I want to do is make an iPhone app people can use to look up math equations such as the quadratic eqauation, pythagorean identity, etc. I plan to include a lot of stuff, and do a lot of things better than other apps I have seen. However, before I pay Apple $99 to be a full fledged iOS developer, I want to know that it isn't too hard to make the Greek letters and Math notation that we see in math books. So for example, what code is needed to make an iPhone app that display . Of course I want to use features that I understand are included in Xcode for doing this sort of thing, rather than, make a graphic with another program that my app would use when needed. Besides that specific example, where is the Apple documentation for making other math symbols and notation that my iPhone app will display? If this is the wrong place to ask, it would be great if you could tell me of a beter place to post my question.

推荐答案

需要大量的写作才能使用系统框架获得良好的布局.所有的构建块都在那里,但您的程序需要大量的渲染定制才能获得您期望的布局.详细地说,您需要的字符都在那里,但您需要编写一堆支持代码才能正确调整这些字符的大小、位置和布局.

It's going to require a lot of writing to get good layouts using the system frameworks. All the building blocks are there, but your program would need significant rendering customization to get the layouts you expect. In detail, the characters you need are there, but you will need to write a bunch of supporting code in order to resize, position, and layout these characters correctly.

您可能想要寻找可以使用的专门用于此目的的适当许可的库.也许 LaTeX 渲染器会提供一些好的线索.

You may want to look for a suitably licensed library you can use which specializes in this purpose. Perhaps a LaTeX renderer would offer some good leads.

这篇关于如何在 Xcode 中制作数学方程式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆