From the course: iOS App Development: Design Patterns for Mobile Architecture

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Presenter conversion

Presenter conversion

From the course: iOS App Development: Design Patterns for Mobile Architecture

Start my 1-month free trial

Presenter conversion

- [Narrator] So let's continue by first looking at the app delegate. And in this app delegate, all we need to do is remove this shared instance. That's now handled within our dependency registry, and I'm just going to create a variable, call it dependencyRegistry, and remember that this variable is instantiated within our whole SwinjectStoryboard process. And that's all we really need to do here. This variable will eventually be assigned within that process and the web server will be initialized. And then, let's start going through each of our different views and cells and make sure that things are connected properly. So, let's go up into here, into the creation process of this cell, and instead of passing in a spy, we're actually just going to pass in a presenter, cause the presenter will be created with its properties within the dependency registry. So, spyCellPresenter, and we aren't even responsible for creating it here anymore. The next thing that we're going to look at is the…

Contents