Bigair
Bigair

Reputation: 1592

Can a VIPER architecture have multiple UIViewControllers inside a single module?

Can a VIPER architecture have multiple UIViewControllers inside a single module?

Examples of VIPER architecture usually have only one UIViewController in one VIPER module.

I'm wondering if multiple UIViewControllers share closely related logics and UIControllers themselves are also closely related, a single VIPER module may have multiple UIViewController.

Upvotes: 1

Views: 179

Answers (1)

Zafar Ivaev
Zafar Ivaev

Reputation: 133

VIPER is a pattern, not a set of strict rules. Therefore, you may have multiple UIViewControllers inside a single module, when it makes it easier for you.

Upvotes: 2

Related Questions