title: Cocoa: Incomplete implementation of class 'Driver'
body: <p>In advance: sorry for the noob question but I'm learning Cocoa &amp; Objective-C and I have this problem on which I've been searching for a complete hour. It'll be very nice if someone could find the problem!</p>
  
  <p>Here's my two files:
  <strong>Driver.m</strong></p>
  
  <pre><code>#import "Driver.h"
  
  @implementation Driver
  
  - (int)go:(BOOL)distance {
   if (distance) {
    return 10;
   } else {
    return 5;
   }
  }
  
  - (NSString *)firstName {
   return firstName;
  }
  
  - (void)setFirstName:(NSString *)name {
   [name retain];
   [firstName release];
   firstName = name;
  }
  
  - (void)dealloc {
   [firstName release];
   [super dealloc];
  }
  
  @end
  </code></pre>
  
  <p>And here is the other one:
  <strong>Driver.h</strong></p>
  
  <pre><code>#import &lt;Cocoa/Cocoa.h&gt;
  
  @interface Driver : NSObject {
   NSString *firstName;
  }
  
  - (int)go:(int)direction theDistance:(BOOL)distance;
  - (NSString *)firstName;
  - (void)setFirstName:(NSString *)name;
  
  @end
  </code></pre>
  
  <p>The problem is happening at the @end line of my implementation of Driver. I tried to clean and build, and I looked up google but did not found any help yet.</p>
  
  <p>Thanks a lot!</p>