🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.objective-c
4 messages
4 total messages Started by Kostarev A. Mon, 05 Oct 1992 11:39
Help! @interface, @implementation etc
#176
Author: Kostarev A.
Date: Mon, 05 Oct 1992 11:39
14 lines
908 bytes
Hi Guys:

In "[FAQ] A Simple Sample Objective-C Programm" (Bill Shirley)
we have found several unknown
construction : @interface, @implementation etc..
We have read "Object-Oriented Programming" An Evolutionary Approach
(August 1986), but can't find this constructions.

Can somebody say what means these keywords and where can we
find full formal descriptions of additional possibilities.

--------
Alexey F. Kostarev
Igor N. Avtaev
Re: Help! @interface, @implementation etc
#195
Author: Frank Mitchell
Date: Wed, 07 Oct 1992 18:14
46 lines
2205 bytes
In article <AB2c2qg402@terem.perm.su> kaf@terem.perm.su (Kostarev A.) writes:
> Hi Guys:
> 
> In "[FAQ] A Simple Sample Objective-C Programm" (Bill Shirley)
> we have found several unknown
> construction : @interface, @implementation etc..
> We have read "Object-Oriented Programming" An Evolutionary Approach
> (August 1986), but can't find this constructions.
> 
> Can somebody say what means these keywords and where can we
> find full formal descriptions of additional possibilities.
> 
> --------
> Alexey F. Kostarev
> Igor N. Avtaev

Sorry, I've never read "Object-Oriented Programming", so I'm not sure if it 
covers Objective-C -- which is a distinct language from C++, although both 
are based on C.

Constructions beginning with `@' are Objective-C compiler directives.

@interface ThisClass : ThatClass
	means that the following statements (until a @end) declare instance 
variables and methods for a class named ThisClass, which is a subclass of
ThatClass.

@interface ThisClass
	means that the following statements (until a @end) define the methods
that ThisClass responds to.

An excellent introduction to Objective-C can be found in _NeXTSTEP_Concepts_,
by the staff of NeXT Computer, Inc.  In the United States it is published by 
Addison-Wesley.  I don't know if it is available in the CIS, although I've 
heard NeXT sells machines in Russia.

Perhaps someone can suggest a more widely available (and less machine-specific)
reference.  Anybody?

--
Frank Mitchell,	Business Systems Analyst, First National Bank of Chicago
email:frank@fnbc.com (NeXTmail)

"In a way, staring into a computer screen is like staring into an eclipse. 
It's brilliant and you don't realize the damage until its too late."
-- Bruce Sterling, LA Times, 2/20/92
Re: Help! @interface, @implementation etc
#197
Author: Dave McIntyre
Date: Thu, 08 Oct 1992 20:32
28 lines
1903 bytes
In article <1992Oct7.181415.3185@fnbc.com>, frank@fnbc.com (Frank
Mitchell) writes:
|> In article <AB2c2qg402@terem.perm.su> kaf@terem.perm.su (Kostarev A.)
writes:
||> > In "[FAQ] A Simple Sample Objective-C Programm" (Bill Shirley)
|> > we have found several unknown
|> > construction : @interface, @implementation etc..
|> > We have read "Object-Oriented Programming" An Evolutionary Approach
|> > (August 1986), but can't find this constructions.
||> 
|> Sorry, I've never read "Object-Oriented Programming", so I'm not sure if it 
|> covers Objective-C -- which is a distinct language from C++, although both 
|> are based on C.

The book mentioned is the original presentation of Objective-C by Brad Cox.
The language syntax used in that early book is slightly different than that
which is currently used.  A new version of the book has been published, which
is much improved:

Object-Oriented Programming: An Evolutionary Approach
	Brad J. Cox and Andrew J. Novobilski
	Addison-Wesley, 1991.
	ISBN 0-201-54834-8

I would be careful about reading Next manuals unless you are actually going
to be programming on a Next machine.  The Next version of the language is
non-standard, and won't necessarily be compatible with compilers produced
for other platforms by Stepstone and others.
Re: Help! @interface, @implementation etc
#198
Author: Guy
Date: Fri, 09 Oct 1992 10:44
19 lines
1010 bytes
>Perhaps someone can suggest a more widely available 
> (and less machine-specific) reference.  Anybody?
>Frank Mitchell.

How about "Objective-C Object-Orientated Programming Techniques" 
by Lewis J. Pinson and Richard S. Wiener, published by 
Addison-Wesley 1991 ISBN 0-201-50828-1.

It compares the Stepstone and NeXT implementations of Objective C 
and gives lots of example code. Class libraries from each are 
covered.

Hope that this is useful.

Guy Roberts, Infotec SA. guy@infotec.ch.
-- 
Guy Roberts(guy@infotec.ch) Infotec S.A.
phone: 022/738 44 33        8 avenue de Frontenex
fax:   022/786 50 61        Geneva, Switzerland.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads