Access protocol extensions with generics declared in a framework

90 Views Asked by At

Can we access protocol extensions implemented in a framework outside the framework? I mean suppose there is a target say "Framework" in which I declared a protocol and implemented protocol extension. Now if I try to access this protocol outside the framework it asks me to reimplement the protocol methods. Can we share the extension implemented in the framework?

func createObject<T: NSManagedObject>(type: T.Type, filterPredicate: NSPredicate, context: NSManagedObjectContext) -> NSManagedObject

Thanks

Ankit

0

There are 0 best solutions below