user11737584
user11737584

Reputation:

How to give an identifier for UIViewController (Swift) which has no storyboard?

I have multiple view controllers created programmatically. (No storyboards)

Is there a way of giving an identifier or something to differentiate between view controllers just like giving an identifier for storyboards.

Upvotes: 0

Views: 195

Answers (1)

Amine Gn
Amine Gn

Reputation: 138

NO, there are no ways to give an identifier to differentiate between view controllers. The name of your UIViewController is its identifier.

Upvotes: 1

Related Questions