In the project i am currently working upon, there are lots and lots of UIViewController
objects (of some UIViewController
subclass) are created and used. And believe me it was creating lots of issues. And I am working upon it (kind of refactoring).
As I see, most of the (those)objects required initialization only once and used multiple times. As I will be working on this project from now (and also the project is of long duration), How can I be sure that each of the UIViewController
Subclass object is only one alive at a time.
I doubt if I should make all the UIViewControllers
Singleton. And if so, How should I implement that. Meaning; Should I initialize all the objects in applicationDidFinishedLaunching:WithOptions
or where?
Another Question is: (As I think might not be true) Should all the UIViewController
in project be singleton?