My program was running fine, but I changed something and now it has over 48 errors.
I think I know the problem, but I don\'t know how to fix it. I created a class ca
You can use a forward declaration in one of your header files to avoid the need to import the other header. For example, in mViewBase.h, you can say:
@class Cakes2;
Now the compiler knows that "Cakes2" refers to a class, and you don't need to import the entire Cakes2.h file.
I think you should perhaps consider using a UITabBarController
. It is made specifically for managing several view controllers from a bar at the bottom of the screen.