• 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: Custom NSView That is iChat Chat Log Like
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Custom NSView That is iChat Chat Log Like
      • From: Jones Curtis <email@hidden>
References: 
 >Custom NSView That is iChat Chat Log Like (From: Jones Curtis <email@hidden>)
 >Re: Custom NSView That is iChat Chat Log Like (From: Andreas Mayer <email@hidden>)
 >Re: Custom NSView That is iChat Chat Log Like (From: Jones Curtis <email@hidden>)

  • Prev by Date: Re: Custom NSView That is iChat Chat Log Like
  • Next by Date: Re: Custom NSView That is iChat Chat Log Like
  • Previous by thread: Re: Custom NSView That is iChat Chat Log Like
  • Next by thread: Re: Custom NSView That is iChat Chat Log Like
  • Index(es):
    • Date
    • Thread