How do solve this without having to suppress generics warnings:
array = editingContext.objectsWithFetchSpecification(spec);
and
array = instance.valueForKey("key");
where
NSArray<EOEnterpriseObject> array;
You cannot right now ... Either EOFetchSpec would have to be
genericized with the objects that it will return as well has having
ec.objectsWithFetchSpec genericized probably with a single method
generic to do it. As far as valueForKey, I don't think there's any
way to make that generic in any meaningful way -- you're essentially
performing reflection, so I suspect you will never see a generic
version of that.
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]