title: Does Objective-C forbid use of structs?
body: <p>I'm new to Objective C</p>
  
  <p>I tried using a simple <code>struct</code> and got</p>
  
  <pre><code>arc forbids objective-c objects in struct
  </code></pre>
  
  <p><a href="http://clang.llvm.org/docs/AutomaticReferenceCounting.html" rel="noreferrer">Looking up ARC</a>, it looks like this is the specification that defines Objective C syntaxt - is that correct?</p>
  
  <p>Secondly, how do I go about using <code>struct</code> if it's not allowed?</p>
  
  <p>Thank you!</p>
  
  <p>Edit: Some code as a sample</p>
  
  <pre><code>@implementation Cities {
      // The goal is to have a struct that holds information about a city,
      // like when a person started and ended living there.
      // I was trying to make this struct an instance variable of the Cities
      // class
      // XCode doesn't like the below struct definition
  
      struct City
      {
          NSString *name;
          int *_startYear;
          int *_endYear;
      };
  }
  </code></pre>