Interface Builder: How to load view from nib file

前端 未结 4 2106
孤街浪徒
孤街浪徒 2021-02-10 19:28

I have a MyCustomView subclassed from NSView designed in a .xib.

I would like to insert this view into some of my other xib\'s round my application. How should

4条回答
  •  感动是毒
    2021-02-10 19:52

    Sounds like you need a container view. But I think you will have to use storyboard for it to be doable in interface builder.

提交回复
热议问题