[swift-dev] Array with associatedtype protocol pattern

4 bottiglie g 4bottiglie at gmail.com
Wed Jul 13 13:23:36 CDT 2016


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, 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160713/e7d688e1/attachment.html>


More information about the swift-dev mailing list