Michael Long
Jun 8, 2022

--

  1. Yeah, it was influenced by SwiftUI, but can be used in UIKit.
  2. If you define a factory on a container the factory will be used. But if you use register to define a new result then that registration will be used.

Register overrides the default factory closure. If you call register more than once the latest registration is used.

--

--

Michael Long
Michael Long

Written by Michael Long

I write about Apple, Swift, and SwiftUI in particular, and technology in general. I'm also a Lead iOS Engineer at InRhythm, a modern digital consulting firm.

Responses (1)