• 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: NSTextView woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView woes


  • Subject: Re: NSTextView woes
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 21 Jun 2004 10:58:00 -0700

On Jun 21, 2004, at 10:38 AM, Rick Bischoff wrote:

But next text is showing up with the default helvetica font and not the
fixedPitchFont I set in init. I realize that I can set the font every
time I append the text, but this seems wasteful and unnecessary.

Sometimes, I would say, making certain of the right result is worth an additional line of code and an extra message send. You can probably get by with just doing it the first time, but if setting this font accurately expresses your intent, it's probably better to do it explicitly rather than relying on the font in the existing text being correct.

Douglas Davidson
_______________________________________________
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: 
 >NSTextView woes (From: Rick Bischoff <email@hidden>)

  • Prev by Date: Re: Where's the NSWindowController in a default document-based app
  • Next by Date: Re: Multiple declarations and the ID type
  • Previous by thread: NSTextView woes
  • Next by thread: Re: NSTextView woes
  • Index(es):
    • Date
    • Thread