How to access enum through all classes. Let me explain:
enum
{
BottomBackButtonNav = 0,
BottomNextButtonNav,
BottomSliderIncreaseNav,
BottomSliderDcreaseNav,
PageSwipeLeftNav,
PageSwipeRightNav,
NavFromThumbnailView,
NavFromTOCView,
} NavigationType;
This enum is defined in my MainViewController's header and want to use it to all my views. How to do this, please guide.
Regards.
You can define it in an header file (.h) and import it in each module you need
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With