Xcode 7 contains an Objective-C variant, where you can define a type-hint for (homogenous)
NSArray return values and properties, defined such as
I'd like to use this feature to rewrite my JSON-deserializer class (which needs such kind of type hints – previously I have solved this by adding a
-(Class)jsonHintForKey:(NSString*)key to my classes that have homogenous arrays as properties.)
Do you know whether (and if so, how) I can use the Objective-C runtime to get the class of this new type hint at runtime?