How to create a NSMatrix of NSImageCell in Interface Builder in 10.6

这一生的挚爱 提交于 2020-01-21 08:23:27

问题


How can I create a matrix (NSMatrix object) of NSImageCell cells (usually located in an NSImageView) in Interface Builder 3.2.1 (i.e. the one made for Snow Leopard?)

In the "old days", you would drag an NSImageView, and then option-drag the corner of the control. It seemed to have stopped working in 3.2.1... Is there another way? Am I doing something wrong?


回答1:


Just drag an instance of NSImageView into your view in IB. Select it and then choose Layout > Embed Objects In > Matrix from IB's menu.



来源:https://stackoverflow.com/questions/1771835/how-to-create-a-nsmatrix-of-nsimagecell-in-interface-builder-in-10-6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!