Article View: comp.lang.objective-c
Article #195Re: Help! @interface, @implementation etc
From: Frank Mitchell
Date: Wed, 07 Oct 1992 18:14
Date: Wed, 07 Oct 1992 18:14
46 lines
2205 bytes
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
Technical Details
Message-ID:
<1992Oct7.181415.3185@fnbc.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!psinntp!psinntp!juliet!newsReferences:
<AB2c2qg402@terem.perm.su>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.objective-c Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!psinntp!psinntp!juliet!news From: frank@fnbc.com (Frank Mitchell) Subject: Re: Help! @interface, @implementation etc Message-ID: <1992Oct7.181415.3185@fnbc.com> Sender: news@fnbc.com Organization: First National Bank Of Chicago, Chicago IL, USA References: <AB2c2qg402@terem.perm.su> Date: Wed, 7 Oct 92 18:14:15 GMT Lines: 46