Callable Objects and callAsFunction() in Swift

Vadim Bulavin
Jan 25, 2021
Image via Undraw

This is a cross-post from my blog on Advanced Swift Development. Click below to directly open this article 👇.

  • đź’ˇ Explore what is callAsFunction(); why it’s important; what can we get from it.
  • âť“ Does callAsFunction() have any real use cases other than offering yet another syntactic sugar convention?

--

--

Vadim Bulavin

Senior iOS Software Engineer at Pluto TV. Creator of Yet Another Swift Blog https://www.vadimbulavin.com/. Coding for fun since 2008, for food since 2012.