generic
Why do hospitals keep running out of generic drugs?
There's something strange going on in hospitals. Cheap, common drugs that nurses use every day seem to be constantly hit by shortages. These are often generic d…
Specialized extensions using generic type constraints
How Swift’s generics system enables us to create specialized extensions that only apply to types that fit certain requirements, and how that capability can be r…
Using the ‘some’ and ‘any’ keywords to reference generic protocols in Swift 5.7
How Swift 5.7 makes generic protocols more powerful and easier to work with, thanks to the ‘some’ and ‘any’ keywords.






