Login
Roast topics
Find topics
Find it!
From:
Swift by Sundell
(Uncensored)
subscribe
Type placeholders in Swift
https://www.swiftbysundell.com/articles/type-placeholders-in-swift
links
backlinks
Roast topics
Find topics
Roast it!
New in Swift 5.6: We can now use type placeholders to select what generic types that we want the compiler to infer. Let’s take a look at how those placeholders work, and what kinds of situations that they could be really useful in.