I get two options under ios template “Objective C Class” and “UiViewController Subclass”.
Can anybody explain to me what is the difference between “Objective C Class” and “UiViewController Subclass”? What do you use them? Basically in what case should I use “Objective C Class” and in what case should I use “UiViewController Subclass”?
I get two options under ios template Objective C Class and UiViewController Subclass. Can
Share
If you want to create a viewController then you should create a subclass of UIViewController.
If you want to create a class with any general functionality, then you should create a subclass of Objective-C class.