Article View: comp.lang.objective-c
Article #200Re: method inheritance in NeXT ObjC classes
From: Vince Demarco
Date: Sun, 11 Oct 1992 19:37
Date: Sun, 11 Oct 1992 19:37
12 lines
822 bytes
822 bytes
The problem is in the push and pop, you do a [myStack addObject:etc] it should shave [self addObject: [[Integer new] set: input]; etc Also in your code don't use the new methods anymore, use alloc and init. Hope this helps
Technical Details
Message-ID:
<DEMARCO.92Oct11123711@fsd.cpsc.ucalgary.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!cpsc.ucalgary.ca!newshost!demarcoReferences:
<7493@blue.cis.pitt.edu.UUCP>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.objective-c Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!cpsc.ucalgary.ca!newshost!demarco From: demarco@fsd.cpsc.ucalgary.ca (Vince Demarco) Subject: Re: method inheritance in NeXT ObjC classes In-Reply-To: jamison@vms.cis.pitt.edu's message of 11 Oct 92 17:02:40 GMT Message-ID: <DEMARCO.92Oct11123711@fsd.cpsc.ucalgary.ca> Sender: news@cpsc.ucalgary.ca (News Manager) Organization: University of Calgary References: <7493@blue.cis.pitt.edu.UUCP> Date: Sun, 11 Oct 1992 19:37:11 GMT Lines: 13