title: '@end' is missing in implementation context
body: <p>Have two errors which relate to implementation. Have commented out the errors. </p>
  
  <pre><code>Header file: 
  #import &lt;Foundation/Foundation.h&gt;
  
  @interface Appliance : NSObject {
    NSString *productName;
    int voltage;
  }
  
  @property (copy)NSString *productName;
  @property int voltage;
  -(id)initWithProductName:(NSString *)pn;
  
  @end
  </code></pre>
  
  <p>Implementation file:</p>
  
  <pre><code>#import "Appliance.h"
  
  @implementation Appliance //'@end' is missing in implementation context
  
  @synthesize productName, voltage;
  
  -(id)initWithProductName:(NSString *)pn
  {
    // Call the NSObject's init method
    self = [super init];
  
    // Did it return something non-nil?
    if (self) {
  
      // Set the product name
      [self setProductName:pn];
  
      // Give voltage a starting value
      [self setVoltage:120];
  
    // Return a pointer to the new object
    return self;
  }
  @end // unexpected '@' in program
  </code></pre>