Lists of Views
Lists of Views
- Subject: Lists of Views
- From: email@hidden
- Date: Mon, 19 Jul 2004 09:20:30 -0700 (PDT)
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,
-- DTC
_______________________________________________
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.