You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
@interface NSRuby : NSObject {
|
|
int x, y;
|
|
}
|
|
-(void) sayHello;
|
|
+(NSString *) scientificName;
|
|
@end
|
|
|
|
@implementation
|
|
-(void) sayHello {
|
|
NSLog(@"Hello, World!");
|
|
}
|
|
|
|
+(NSString *) scientificName {
|
|
int x = 2 + 5 * 5 / 8;
|
|
return @"Homo Sapien!";
|
|
}
|
|
@end
|