Re: Lists of Views
Re: Lists of Views
- Subject: Re: Lists of Views
- From: j o a r <email@hidden>
- Date: Mon, 19 Jul 2004 21:12:21 +0200
I wrote a suggestion on how to do that:
<
http://www.stepwise.com/Articles/Technical/2003-12-20.01.html>
Note that it's just a proposal of sorts, a bit of inspiration for your
further investigations.
j o a r
On 2004-07-19, at 18.20, email@hidden wrote:
>
I'm trying to achieve functionality similar to that of Mail.app >
>
Preferences > Rules > Edit Rule, where there is a column of views laid
>
out, and the user can add or remove identical views. They seem to be
>
listed in an NSTableView, but since NSCell is not a subclass of NSView,
>
can it really be a table?
>
>
In any case, I don't need a table necessarily, but I'm wondering how
>
best
>
to implement this functionality. It seems like the best way to go is
>
to
>
make an NSView subclass that contains all the text fields, buttons,
>
etc.
>
and create new instances of it as these view items are added to the
>
list.
>
But how does one attach a nib to a class? I've only ever attached
>
NSViews
>
to outlets of my controller class...
>
>
Of course this is just a thought, perhaps there are better ways to do
>
this. Any comments would be appreciated. Thanks,
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.