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

Re: NSTextView


  • Subject: Re: NSTextView
  • From: Brian Howard <email@hidden>
  • Date: Sat, 25 Aug 2001 20:00:08 -0400

On Saturday, August 25, 2001, at 07:37 PM, Vince DeMarco wrote:

On Saturday, August 25, 2001, at 04:02 pm, Brian Howard wrote:

On Saturday, August 25, 2001, at 02:59 PM, Ondra Cada wrote:

Johan,

Johan Lindberg (JL) wrote at Sat, 25 Aug 2001 18:54:04 +0200:
JL> How do I put text, programatically, in a NSTextView? I've looked
JL> everywhere for a method to do this, but I haven't found any. . .

RTFM NSText.html, there are many methods there
(replaceCharactersInRange...).



I don't want to get starting in some big fight here but look at

/Developer/Documentation/Cocoa/Reference/ApplicationKit/ObjC_classic/Classes/
NSText.html

there is a section that describes the replaceCharactersInRange:... methods

Its not perfect, but there is some documentation there.


Yes, Vince, the mojo is there: but I would not have known where to look two months ago, and maybe Johan is new enough to not have figured it out, either. Until Apple provide a COMPREHENSIVE guide to Cocoa, people on this list need to cut EVERY _lame_ question asked some major slack! I asked some pretty silly stuff early on, and will probably do so again, and you know what?: I got several "Go away and stop the noise" e-mails, mostly on-list although the most hostile were admittedly private, but just as many, mostly off-list, replies telling me to ignore the holier-than-thou gurus. If the gurus who think folks like me and Johan are making too muck noise, then they should support a Beginners List.

Brian E. Howard
Cocoa Cult Central


  • Follow-Ups:
    • Re: NSTextView
      • From: Markus Hitter <email@hidden>
References: 
 >Re: NSTextView (From: Vince DeMarco <email@hidden>)

  • Prev by Date: Re: NSTextView
  • Next by Date: Re: NSTextView
  • Previous by thread: Re: NSTextView
  • Next by thread: Re: NSTextView
  • Index(es):
    • Date
    • Thread