• 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: Newbie Question about Document/Window/Text Field
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Question about Document/Window/Text Field


  • Subject: Re: Newbie Question about Document/Window/Text Field
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 16 May 2001 04:07:38 +0100

I wrote:

(b)
[...]
(b) Implement dataRepresentationOfType: and loadDataRepresentation:ofType:

Oops, some bits got messed up in copy and paste...

You probably also want:

- (void)windowControllerDidLoadNib:(NSWindowController *) aController{

[super windowControllerDidLoadNib:aController];
[textView replaceCharactersInRange: NSMakeRange(0,0) withRTF: [self model]];
}

to ensure the document is properly displayed when opened.

mmalc.


  • Follow-Ups:
    • Re: Newbie Question about Document/Window/Text Field
      • From: Deirdre Saoirse Moen <email@hidden>
References: 
 >Re: Newbie Question about Document/Window/Text Field (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Property List Question
  • Next by Date: Re: Newbie Question about Document/Window/Text Field
  • Previous by thread: Re: Newbie Question about Document/Window/Text Field
  • Next by thread: Re: Newbie Question about Document/Window/Text Field
  • Index(es):
    • Date
    • Thread