title: Assigning readonly property
body: <p>I have following code:</p>
  
  <pre><code>-(id) initWithCoordinate:(CLLocationCoordinate2D)c title:(NSString *)t
  {
      self = [super init];
  
      if (self)
      {
          coordinate = c;
          self.title = t;
      }
  
      return self;
  }
  </code></pre>
  
  <p>where <code>coordinate</code> is:</p>
  
  <pre><code>@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
  </code></pre>
  
  <p>I had two questions:</p>
  
  <ul>
  <li>is it OK to assign to a property that is readonly?</li>
  <li>should not <code>coordinate</code> have <code>self</code> before it? (e.g., <code>self.coordinate = c</code>).</li>
  </ul>
  
  <p><em>ps. I don't get any errors using this code - and it is an example from a book.</em></p>