<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">A static method or property on a protocol already means something separate - that the types which implement that protocol that static method/property.<div class=""><br class=""></div><div class="">I’d recommend moving your factory method to another type or a global function?</div><div class=""><br class=""></div><div class="">-DW</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 15, 2016, at 10:10 AM, Reynaldo Aguilar Casajuana via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_quote"><div dir="ltr" class="">Hi.<div class="">I was thinking about a simple way of implementing the handling of dependencies in swift and arrived to the following solution, however, currently it isn't supported in swift. Can we get a way of making this work?</div><div class=""><br class=""></div><div class=""><a href="http://stackoverflow.com/questions/40595621/getting-dependencies-using-static-members-in-protocol-in-swift" target="_blank" class="">http://stackoverflow.com/<wbr class="">questions/40595621/getting-<wbr class="">dependencies-using-static-<wbr class="">members-in-protocol-in-swift</a><br class=""></div><div class=""><br class=""></div></div>
</div><br class=""></div>
_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></blockquote></div><br class=""></div></body></html>