• 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: How can I implement labels without the overhead of an NSTextField?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How can I implement labels without the overhead of an NSTextField?


  • Subject: RE: How can I implement labels without the overhead of an NSTextField?
  • From: email@hidden
  • Date: Mon, 13 Dec 2004 07:37:37 +0000

Okay, I will do as you wish. I picked up a copy of "Cocoa Programming" from the bookstore and am reading chapter 14 and others. I will report back when I have either found a way to solve my problem or given up.


> > > Presumably you are simply using [string drawAtPoint:withAttributes:] or
> > > [string drawInRect:withAttributes:] or the equivalent methods in
> > > NSAttributedString.  The AppKit string drawing methods are not intended
> > > for drawing and redrawing lots of strings.  They are fine for a few
> > > static labels, but not for a huge number of labels that have to be
> > > redrawn a lot.
> >
> > What are you talking about? I was just dragging NSTextViews from
> > the palette. The ones that looks like labels. Hence my complaint
> > that all of the labels were NSTextViews.
>
> Well, that may be your problem.  NSTextViews are fairly expensive objects.
> You want to use NSTextFields (although maybe you are doing that already and
> just don't know the difference?).
>
> > I am not interested in how they work, I just want to get them
> > going as soon as possible.
>
> You will get nowhere fast on this list with that attitude.
>
> Jonathan
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How can I implement labels without the overhead of an NSTextField?
      • From: Guy English <email@hidden>
    • Re: How can I implement labels without the overhead of an NSTextField?
      • From: Mark Munz <email@hidden>
  • Prev by Date: Re: Seeking advice on NSLock usage
  • Next by Date: Re: How can I implement labels without the overhead of an NSTextField?
  • Previous by thread: Re: How can I implement labels without the overhead of an NSTextField?
  • Next by thread: Re: How can I implement labels without the overhead of an NSTextField?
  • Index(es):
    • Date
    • Thread