• 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
NSMatrix overhead
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMatrix overhead


  • Subject: NSMatrix overhead
  • From: Francisco Tolmasky <email@hidden>
  • Date: Tue, 22 Jul 2003 21:36:21 -0700

I've been implementing line number in several different ways, and am now considering making a lineNumberCell and putting a bunch of those in an NSMatrix subclass, for example, ten lines would have ten associated cells, and thus allow me to later have buttons there too possibly. My question is, would this generate too much overhead. Currently I just calculate what numbers fall where and draw them out. This would require an NSCell for every line. I'm not sure how "heavyweight" nscells are though, since they are in theory made to make things have less overhead.

Any input on this?

Francisco Tolmasky
email@hidden
http://users.adelphia.net/~ftolmasky
_______________________________________________
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.

  • Prev by Date: Re: Bug reports and documentation updates (was Re: Subclassing NSPort (or NSSocketPort))
  • Next by Date: Design for Cocoa (was Re: Can a subclass of NSDictionary do this?)
  • Previous by thread: Open GL animation library
  • Next by thread: Odd NSDictionary Problem
  • Index(es):
    • Date
    • Thread