The best way I know to understand Swift’s keywords SOME & ANY is to look at good examples.
John Sundell's article has some great examples.
https://www.swiftbysundell.com/articles/referencing-generic-protocols-with-some-and-any-keywords/
No comments:
Post a Comment