UIViewController 中的 Core-Plot 图表

发布于 2024-09-06 04:45:14 字数 193 浏览 1 评论 0原文

我试图将 Coreplot 图表放入 UIView 中。 有些问题,我应该在XIB做吗?或者我应该以编程方式执行此操作?

如果是的话我应该怎么写代码?等等。

我实际上有两个课程。一个名为 GraphView 的项目应该保存 Coreplot 图表。 另一个称为 CorePlotViewController。

谢谢寻找的人。

im trying to put a Coreplot graph in a UIView.
Some questions, should i do it in XIB? or should i do it programmically ?

If so how should i write the codes? etc.

I actually have two Classes. one called GraphView which is supposed to hold the Coreplot graph.
Another called CorePlotViewController.

Thx for looking guys.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夜血缘 2024-09-13 04:45:14

嗯,我想我一定是一个真正的新手才能问这种类型的问题:/
但我想我解决了。

CorePlotViewController *aCorePlotViewController = [[CorePlotViewController alloc] initWithNibName:@"CorePlotViewController" bundle:nil];
[self.view addSubview :aCorePlotViewController.view];

hmm i guess i must be some real newb to ask even this type of question :/
but i guess i solved it .

CorePlotViewController *aCorePlotViewController = [[CorePlotViewController alloc] initWithNibName:@"CorePlotViewController" bundle:nil];
[self.view addSubview :aCorePlotViewController.view];
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文