Re: Variable Sized Subview
Re: Variable Sized Subview
- Subject: Re: Variable Sized Subview
- From: Matt Neuburg <email@hidden>
- Date: Tue, 3 Sep 2002 09:27:08 -0700
On Mon, 02 Sep 2002 20:41:22 -0400 (EDT), Chris Backas
<email@hidden> said:
>
I'm looking to implement a window which contains a variable number of
>
criteria - and each 'criteria' is visually displayed as 3 or 4 controls.
>
Basically, what I'm trying to do is similar to what iTunes 3 does for
>
Advanced Smart Playlists (when you add or remove a filtering criteria) -
>
or even better, the File Search Dialog in Jaguar (Command-F in Finder).
>
>
My question is, how do I go about doing this at a high level? Do I want
>
to put an NSMatrix in there and add cell rows to it (and create a custom
>
cell that can draw all the Controls I need?)
You'll probably find it easiest to use NSViews. You can draw a
free-standing NSView in IB, and then in your code you can add, remove, swap
NSViews in a window to your heart's content. I do this all the time. m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.