Skip to content

Retain cycles #2

@DaleLJefferson

Description

@DaleLJefferson

Everything in the VIPER TODO example is using strong references.

  • View controllers is strongly referenced by the Wireframes.
  • Presenters are strongly referenced by the View controllers.
  • View controllers are strongly referenced by the Presenters.
  • And so on.

Unless i'm missing something this will result in nothing being released from memory. Is this behaviour intended?

I we are allocating all the dependancies, wireframes, presenters, etc in the app delegate how does this scale to a large application. Is there room in this architecture for lazy initialisation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions