Hi folks,
My new app will have 3 View Controllers and while I was building the one Controller I realized this would be a perfect opportunity to start flexing my newbie muscles.
Since %90 percent of the methods could be left unchanged for the other two Controllers I thought I would just create a new View Controller class. My question is that I used something like...
...in my header so that I can keep the code as generic as possible. However are those preprocessor #define statements inherited? If so can they be overwritten? Because if I can just define new ones for other Controllers than all my code with work without me needing to make any changes.
My new app will have 3 View Controllers and while I was building the one Controller I realized this would be a perfect opportunity to start flexing my newbie muscles.
Since %90 percent of the methods could be left unchanged for the other two Controllers I thought I would just create a new View Controller class. My question is that I used something like...
Code:
#define numOfItems 3
...in my header so that I can keep the code as generic as possible. However are those preprocessor #define statements inherited? If so can they be overwritten? Because if I can just define new ones for other Controllers than all my code with work without me needing to make any changes.