• 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: tables cells and views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tables cells and views


  • Subject: Re: tables cells and views
  • From: nicolas berloquin <email@hidden>
  • Date: Sun, 28 Apr 2002 17:20:39 +0200

Actually it is *very* easy to make a cell which would contain and display a view (see docs). Though, there generally is no reason to do so.

please, I'm not asking questions about ethics, but about know how...

let's say I want to show a list of thumnails with a filename, and a couple of buttons underneath each thumbnail,
could someone tell me if I really can't design one copy of this as a custom view in a NIB file, then
set it as a cell basis inside a matrix ?

You can, quite easily, see above. I would guess though that such a GUI would badly need some refactoring -- this sounds like a Web page, not like a decent Cocoa app. I might be wrong in this of course, since I haven't seen the whole thing. Though, I would very definitely recommend first trying a number of other Cocoa apps to decide whether you won't see a better approach there, like

(see above)
and, yes, I have good reasons to do this, explaining why is off topic. So your advice is to create a nscell subclass and have its render method draw an nsview ?
sounds reasonable, it would have been nice if cocoa had let us do this directly... (are all lists only text or simple images ?)
_______________________________________________
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.
  • Follow-Ups:
    • Re: tables cells and views
      • From: Andy Lee <email@hidden>
    • Re: tables cells and views
      • From: Ondra Cada <email@hidden>
References: 
 >Re: tables cells and views (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: tables cells and views
  • Next by Date: Re: tables cells and views
  • Previous by thread: Re: tables cells and views
  • Next by thread: Re: tables cells and views
  • Index(es):
    • Date
    • Thread