iOS开源绘图应用程序源代码
问题描述:
在哪里可以找到适用于iOS的基于Quartz的绘图应用程序的示例源代码?
由于iPhone / iPad周围有各种各样的绘图应用程序,我认为必须有某种开源项目用于绘图。但是,搜索没有带来任何结果。
Where can I find a sample source code of a Quartz-based drawing application for iOS ? As there are tons of various drawing applications for iPhone/iPad around, I assume there must be some kind of an open source project for drawing. However, the search brings nothing.
答
您可以使用 UIBezierPath 时,检查出这个教程和示例代码。这实际上非常简单。
You can use UIBezierPath, check out this tutorial and sample code. It's actually surprisingly easy.