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,
TeeA 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.
精彩评论