#ifndef YSSTRING_H #define YSSTRING_H #import "YSObject.h" //does it make sense to subclass YSObject? //probably not but it would be fun to //deallocate a constant string @interface YSConstantString : YSObject { char *c_string; unsigned int len; } -(const char *) cString; -(unsigned int) length; -(void) dealloc; @end #endif