• 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
Re: Lists of Views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lists of Views


  • Subject: Re: Lists of Views
  • From: Daniel Todd Currie <email@hidden>
  • Date: Tue, 20 Jul 2004 00:08:47 -0700

Thanks for the insight... I think the solution for me is just to have an NSView subclass that i can instantiate and position below the previous instance. I don't need a scroll view, columns, headers, etc., so there really isn't much point in using a table. Thanks again for such a useful resource.

-- DTC


On 2004 Jul 19, at 12:12, j o a r wrote:

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.
_______________________________________________
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.


References: 
 >Lists of Views (From: email@hidden)
 >Re: Lists of Views (From: j o a r <email@hidden>)

  • Prev by Date: Re: NSTextField changing first responder on return key not working
  • Next by Date: Re: I've lost my MainMenu.
  • Previous by thread: Re: Lists of Views
  • Next by thread: Setting standard input with NSPipe
  • Index(es):
    • Date
    • Thread