#import <objc/objc.h>
#import <objc/Object.h>

@interface TestObj : Object
{

}
- (void)foo;
@end

@implementation TestObj

- (void)foo {
     printf("foo\n");
}

int main()
{
    Graphic *graphic = [[Graphic alloc] init];
NSColor *color = [graphic color];
CGFloat xLoc = [graphic xLoc];
BOOL hidden = [graphic hidden];
int textCharacterLength = [[graphic text] length];
if ([graphic isTextHidden] != YES) {
[graphic setText:@"Hello"];
}
@end