• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Building a panel with templated views?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Building a panel with templated views?
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: Building a panel with templated views?
      • From: Scott Stevenson <email@hidden>
  • Prev by Date: Re: [OT] Re: [ANN] Cocoa Style for ObjC: 1 and 2
  • Next by Date: Updating /etc/hostconfig
  • Previous by thread: Re: Saving image as JPG, GIF, PNG, etc.
  • Next by thread: Re: Building a panel with templated views?
  • Index(es):
    • Date
    • Thread