> Le 10 févr. 2017 à 18:04, Trevör Anne Denise <trevor.anneden...@icloud.com> a > écrit : > > Hi Matthew, > > Thanks for this quick reply, happy to see that this is something the > community is working on, this will make protocols even more useful! > > Since this isn't implemented yet, I am wondering what would be the best > approach to my problem with the current Swift version... > Currently since there is no valid default implementation for my methods I use > closures (at init time, that then get called by the methods) to let the user > of my classes choose his implementation, this is the safest approach I could > think of but its isn't pretty and I'm not sure that this really is the best > approach... > > Trevör
_______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users