Skip to content

Instantly share code, notes, and snippets.

@wanewang
Created April 23, 2011 18:07
Show Gist options
  • Save wanewang/938838 to your computer and use it in GitHub Desktop.
Save wanewang/938838 to your computer and use it in GitHub Desktop.
class declaration
@interface Number : NSObject{
double real;
double imaginary;
}
-(void) setReal : (double) r;
-(void) setImaginary : (double) i;
-(void) setAll : (double) r : (double) i;
-(void) print;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment