I have a bunch of simple NSManagedObjects I create in a unit test. They just have a single name attribute of type NSString *. I always
NSManagedObject
name
NSString *
Maybe i misunderstand what you are trying to achieve. To get the class of an iVar, can't you use the class method of the iVar?
like:
NSString *aString = @"random string"; NSLog(@"%@",NSStringFromClass([aString class]));