ftp.nice.ch/pub/next/unix/developer/ObjcGrammarTest.s.tar.gz#/ObjcGrammarTest/TestClass.m

This is TestClass.m in view mode; [Download] [Up]

//
// TestClass
//
// An Objective-C class to test out some of the
// features of Objective-C.
//
// By Gregor N. Purdy
// 
// See the README file.
//


#import "TestClass.h"


@implementation TestClass


+ (int):anObject
{
    return 1;
}


+ (BOOL):(int)a isLessThan:(int)b
{
    return(a < b);
}


- :a :b :c :d
{
    return self;
}


@end


//
// End of file.
//

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.