Cocoa 中 .Net 数据中继器的等效项

发布于 2024-09-24 10:55:37 字数 250 浏览 1 评论 0原文

我对 Xcode 和 Interface Builder 完全是菜鸟。我使用的是 3.2.3 版本和 OSX 10.6.4。

我想知道但没能找到的是如何显示 n 个项目的列表。使用.Net,我可能会使用数据重复器控件,然后使用它来重复填充我想要显示的控件。

是否有等效的方法或者我是否以错误的方式处理事情?我在 IB 控件库中没有看到任何我正在寻找的东西。

非常感谢任何帮助,甚至是相关教程或其他内容的指导。

问候, 伊恩

I'm a total noob to Xcode and Interface builder. I'm on version 3.2.3 and OSX 10.6.4.

What I'd like to know, and haven't been able to find out, is how to display a list of n items. Using .Net, I'd probably use a Data Repeater control and then use that to repeatedly populate the controls I'd like to display.

Is there an equivalent or am I going about things in the wrong way? I don't see anything in the IB controls library that is quite what I'm looking for.

Any help is much appreciated, even a direction to a relevant tutorial or something.

Regards,
Iain

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

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

发布评论

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

评论(2

濫情▎り 2024-10-01 10:55:37

我猜您正在寻找 NSTableView 及其数据源(ArrayController 或等效项)及其委托(用于定义 N 个项目)?

I guess you are looking for NSTableView with it's DataSource (ArrayController or equivalent) and it's delegate (for defining N items)?

奶茶白久 2024-10-01 10:55:37

显示列表的最常见视图是 NSTableView。网络上有很多很多教程...只需谷歌“nstableview 教程”并进行选择。 :-)

The most common view for displaying lists is NSTableView. There are many, many tutorials on the web... Just google 'nstableview tutorial' and take your pick. :-)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文