//
//  Person.m
//  Adding Properties to Classes
//
//  Created by Vandad Nahavandipoor on 07/07/2011.
//  Copyright 2011 Pixolity Ltd. All rights reserved.
//

#import "Person.h"

@implementation Person
@synthesize firstName;
@synthesize lastName;

- (void) setFirstName:(NSString *)paramFirstName{
  firstName = [paramFirstName stringByAppendingString:@" Jr"];
}

- (id)init
{
  self = [super init];
  if (self) {
    // Miejsce na kod inicjalizujący.
    lastName = @"Kowalski";
  }
  
  return self;
}

@end
