Hi, i have asked the same question : Here: https://forums.developer.apple.com/message/153781#153781 <https://forums.developer.apple.com/message/153781#153781> And here : http://stackoverflow.com/questions/38281800/array-with-associatedtype-protocol <http://stackoverflow.com/questions/38281800/array-with-associatedtype-protocol>
But it seams like swift doesn’t have generic protocols arrays. I am asking here as a last resource if it can be done yet or there is a better design. Regards,
_______________________________________________ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev