tags:

views:

13

answers:

1

Hi Guys,

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.

+1  A: 

You can define it in an header file (.h) and import it in each module you need

rano
Thanks rano..it works for me.
iWasRobot