iOS, Swift, Swiftui, Mobile, Mobile App Development.
our view model to inject the type of service we want, decorated by any number of aspects. let viewModel = ViewModel( allShowsService: DelayService(decoratee: LoggingService(decoratee: AllShowsService()), nanoseconds: 5 * NSEC_PER_SEC), markShowAsWatchedService: LoggingService(decoratee: