I think that this may be impossible, but what I was trying to do write an static initializer in my super class "load" that will initialize even my subclasses.
+ (id) load
{
Class c = [self class];
NSString *cString = NSStringFromClass([self class]);
NSLog(@"%@",cString);
id a = [[c alloc] init];
[a autorelease];
return a;
}
The result of [self class] here is the superclass, but I want to initialize the class itself (in this case it will always be the subclass). Maybe this is just a terrible programming idea though.