本文介绍了如何创建iPhoto像界面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个iPhoto类似的应用程序,其中使用对象数组,我想显示一个拇指以及每个拇指底部的标题。如何显示像iPhoto的对象?

I'm trying to create a iPhoto like application, where using an array of objects I want to display a thumb along with a title at the bottom of each thumb. How do I display objects like iPhoto does?

推荐答案

查看。

Interface Builder中有另一个工具调色板,名为。您必须在IB的首选项(插件调色板)中启用插件。然后,在对象库下,选择图像工具包以查看其提供的控件。 IKImageBrowserView给你一个现成的控件(具有显示标题的能力),但我不认为它像NSCollectionView / Item一样灵活。

There is another tool palette in Interface Builder called Image Kit. You have to enable the plugin in IB's preferences (the Plug-ins palette). Then, under the object library, select the Image Kit to see the controls it offers. IKImageBrowserView gives you a ready-made control (with the ability to show titles) but I don't think it's as flexible as NSCollectionView/Item.

这篇关于如何创建iPhoto像界面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-25 09:30