Re: Custom NSView That is iChat Chat Log Like
Re: Custom NSView That is iChat Chat Log Like
- Subject: Re: Custom NSView That is iChat Chat Log Like
- From: "I. Savant" <email@hidden>
- Date: Wed, 28 Feb 2007 00:39:11 -0500
On Feb 28, 2007, at 12:16 AM, Jones Curtis wrote:
or in my case, data packets -- with hex offset, hex and ascii data
in three columns, along with a background color behind the hex data
to represent the direction the data was traveling (send, receive).
... really, (my previous message notwithstanding), I don't see why
this can't be done with a simple table view. You can use one of many
different methods (such as setting an NSTextField cell's background
color in the -tableView:willDisplayCell:forTableColumn:row: NSTable
delegate method, for example) to color the background of each item
depending on their 'sending direction'.
This would be ****FAR**** more efficient and ****WAY**** easier
than a slew of NSViews (or trying to reuse a few views to represent a
large list for that matter).
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden