开发者

array of buttons in cocoa?

开发者 https://www.devze.com 2022-12-30 17:07 出处:网络
Hey guys, I want to layout a group of buttons on the开发者_开发知识库 window. What I want is connecting those buttons to a \"buttons array\" I set up in the controller class. Is there a faster way to

Hey guys, I want to layout a group of buttons on the开发者_开发知识库 window. What I want is connecting those buttons to a "buttons array" I set up in the controller class. Is there a faster way to do the connection in the IB? I know one way to do that is to layout those buttons programmatically, but somehow I am not quite familiar with the view architecture under Cocoa.


Assuming you're on the mac, check out NSMatrix.

0

精彩评论

暂无评论...
验证码 换一张
取 消