Hi, thanks for the code, this could be really helpful!
I'm having a problem using Genericsable on classes which contain collection properties.
Say your MyClass example had another property, an NSArray called myArray. When I compile that, Xcode insists that any objects inside [MyClass myArray] also needs to be of type MyClass. Does this work for you?
Also, in your example you have an NSArray<NSString> -- how do you genericise NSString or any built-in class?
Cheers,
Nick
Hi, thanks for the code, this could be really helpful!
I'm having a problem using Genericsable on classes which contain collection properties.
Say your MyClass example had another property, an NSArray called myArray. When I compile that, Xcode insists that any objects inside [MyClass myArray] also needs to be of type MyClass. Does this work for you?
Also, in your example you have an
NSArray<NSString>-- how do you genericise NSString or any built-in class?Cheers,
Nick