Re: custom NSViews and subviews - creating in IB

2009-05-11 Thread Erik Buck
Do you have a question ? Why don't you just create a subview with various controls in IB. Then, in code, make a copy of that object and in turn make modifications to some of the objects in that view. For example, set a text field to a value. Then, add it to a super view. You seem to kno

Re: custom NSViews and subviews - creating in IB

2009-05-11 Thread Kevin Cathey
Hi Jack, Your best bet is probably to create a new nib file that contains a top- level view which is your "subview". Then, have outlets on the File's Owner that connect to your various controls like the text field (or just use bindings). In your code, then you would instantiate this nib as

custom NSViews and subviews - creating in IB

2009-05-11 Thread Jack Carbaugh
I'm not sure if this is possible, but here goes: I would like to "create" a subview with various controls in IB. Then, in code, make a copy of that object and in turn make modifications to some of the objects in that view. For example, set a text field to a value. Then, i'd like to add it