开发者

Cocoa touch - UIView in Interface Builder

I've created a UIView (of type ColumnView) in Interface Builder.

Is it possible to add that UIView multiple times to my window?

I'm trying to create a UIView template that I can add to my window in a couple of places but can't figure out how to do that.

I tried referencing the outlet of that开发者_高级运维 UIView to 2 different IBOutlets but when I add the 2 outlets to my window, it's just treated as a single UIView.

Need the UIView to be duplicated.

Thanks,

Tee


A simple way is to duplicate the view in the Inteface Builder so there are two instances. Wire them to the outlets and you are done.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜