~iaz/+junk/gnustep-objc-osx

« back to all changes in this revision

Viewing changes to tree/class.h

  • Committer: ivan.a.zorin at gmail
  • Date: 2011-11-16 16:27:57 UTC
  • Revision ID: ivan.a.zorin@gmail.com-20111116162757-uci949xe5xv0l7kc
gnustep-objc-osx: separate samples to single/ and tree/ - commit fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#import <Foundation/NSObject.h>
 
3
 
 
4
/* declaration:
 
5
 * @interface <ClassName> : <ParentClassName>
 
6
 */
 
7
 
 
8
@interface class : NSObject
 
9
{
 
10
        /* class variables */
 
11
        int i;
 
12
}
 
13
 
 
14
/* class methods:
 
15
 * <type> (<output>) <name> [ : (<input>) <variable> ];
 
16
 * */
 
17
 
 
18
+ (int) ClassMethod;
 
19
- (int) ObjectMethod;
 
20
 
 
21
@end
 
22