Newsgroups: comp.sys.next
Path: utzoo!utgpu!judge
From: judge@gpu.utcs.utoronto.ca (Peter Judge)
Subject: IB help
Message-ID: <1990Jun13.031640.1835@gpu.utcs.utoronto.ca>
Organization: UTCS Public Access
Date: Wed, 13 Jun 90 03:16:40 GMT

Could someone point out what I'm doing wrong here?
 
I'm working on a (minor) variation of Project Four (p. 8-51). This is the
one where you use two interface files in your application.

The program compiles ok, but when I select the menu item that invokes 
the - createTextEditor method, it only gets as far as sending the message
"+ new" to my TextEditor object.

The "+ new" method in the TextEditor class 
is copied straight from the book.

It hangs in the "+ new method (which is found in TextEditor.m). 
 
 I put a printf() right after "self = [super new];" and before 
"[NXApp loadNibSection:"textEditor.nib" owner:self];" 

This printf() is printed out in an endless loop!
The menu item remains highlited and no window is seen on the screen.

I'm sure this is the result of something stupid I'm doing, since I am 
modifying the example in the book somewhat.

I'd be grateful if someone could point me in the right direction.

Thanks in advance.

Peter Judge	(judge@credit.erin.utoronto.ca)

 
-- 
===============================================
judge@credit.erin.utoronto.ca	(Peter Judge) |)
judge@gpu.utcs.utoronto.ca 
===============================================
