I would like to add an extension on Dictionary that only applies to a dictionary with Strings as Keys and Array of NSManagedObject as Value
Ideally it would look like this:
extension Dictionary where Key : StringLiteralConvertible, Value: [NSManagedObject] {
or
extension Dictionary where Key : StringLiteralConvertible, Value: SequenceType<NSManagedObject> {
If i only set Value : NSManagedObject
, it works. But not if its an array of that. Does anyone know a workaround for this?