Subclassing NSString
Using WSDL2ObjC I am getting lot of classes which are subclasses of NSString. I am finding it troublesome to initialize the NSString value of any object of those classes. Say my class looks like this : @interface mClass ; NSString { int value; } Now in my code I would like to use objects of mClass as both NSString and also want to use its attribute value which is an integer. How can I do that? I am trying to use code like this mClass *obj = [[mClass alloc] initWithString:@"Hello"]; But it's showing me an error saying I am using an abstract object of a class , I should use concrete instance