• 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: Combining Images with text for a TableView cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Combining Images with text for a TableView cell


  • Subject: Re: Combining Images with text for a TableView cell
  • From: Olivier <email@hidden>
  • Date: Thu, 22 Aug 2002 10:56:38 -0500

look in the example in the developer tools. One is named
DragNDropOutlineView and has a ImageAndTextCell, that i what you are
looking for.

Olivier

On Wednesday, August 21, 2002, at 11:31 PM, Yojimbo wrote:

> Greetings!
>
> I apologize up front as I realize this is a newbie question, but I'm
> hoping someone here can point me in the right direction. I'm
> interested in implementing an iTunes Playlist style view that uses an
> icon/image in front of an editable text cell that would differentiate
> the item type (Library vs. Playlist vs. Smart Playlist etc).
>
> I'm afraid I'm stuck at this point. I realize that trying to affect
> the NSTextFieldCell from within the NSTableView delgate methods
> affects all the rows for the target column. All the examples I have
> found to date refer strictly to NSString objects and while I
> understand that I can apply that to any type of object, I'm having
> difficultly making the connection of how to get something like a
> combination icon-editable text type of object/view/cell to show up.
> I tried setting up the image and title values for the cell object
> directly, but all I get are blank cells that retains, but doesn't
> display, the values.
>
> Any pointers or recommendations would be greatly appreciated.
>
> Thanks in advance for your help,
> - JP
> _______________________________________________
> 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: 
 >Combining Images with text for a TableView cell (From: Yojimbo <email@hidden>)

  • Prev by Date: Re: Unloading a class
  • Next by Date: Re: Equivalent to the fscanf() C function in Cocoa?
  • Previous by thread: Combining Images with text for a TableView cell
  • Next by thread: What method to override to initialize fields on a form?
  • Index(es):
    • Date
    • Thread