title: Global Property in Objective C
body: <p>I have an enum defined in the Constants.h file this way:</p>
  
  <pre><code>typedef enum {
      CalendarTypeMonth = 0,
      CalendarTypeWeek
  } CalendarType;
  </code></pre>
  
  <p>Then in my view controller I determine what the calendar type should be and store it in a property this way:</p>
  
  <pre><code>@property (nonatomic) CalendarType myCalendarType;
  </code></pre>
  
  <p>Now I want all the classes in my project have access to the calendar type. How can I set this property to be global/extern so that all classes can read this?</p>
  
  <p>EDIT: I know the definition of the enum will be available across the project. But what I am interested in is the <strong>value of <code>myCalendarType</code></strong>. How can I access the value of myCalendarType across all classes?</p>