Building a panel with templated views?
Building a panel with templated views?
- Subject: Building a panel with templated views?
- From: Graham cox <email@hidden>
- Date: Thu, 28 Oct 2004 09:24:04 +1000
I'm trying to make a dialog panel for a search function, a bit like
iTunes' smart playlist interface.
Each search criterion is represented by one "line" of items in the
panel, consisting of several view items. The particular collection of
views will depend on the type of data being searched for, but overall
there are only about four different kinds. However there could be any
number of these actually displayed in the panel.
So I created each line of items as children of a custom view in IB. The
question I have is how to take those and make instances as needed at
run time. I can easily get one instance of each type, but it's unclear
how to make clones - I need the custom view object from IB to act as a
template for numerous future instances rather than an actual instance.
Any ideas on how to do this?
--Graham
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden