Re: Newbie Question about Document/Window/Text Field
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.