Theeaxe

Lynda Command Line - Employee.m

Apr 30th, 2014
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //
  2. //  Employee.m
  3. //  Test-Command-Line
  4. //
  5. //  Created by Masen Beliveau on 4/30/14.
  6. //  Copyright (c) 2014 KidCO. All rights reserved.
  7. //
  8.  
  9. #import "Employee.h"
  10.  
  11. @implementation Employee
  12.  
  13. -(NSString *) description {
  14.     NSString *desc = [NSString stringWithFormat:@"\t Employee: %i \n \t Name: %@ %@ \n \t Was hired on: %@ \n -----", [self employeeNumber], [self firstName], [self lastName], [self hireDate] ];
  15.     return desc;
  16. };
  17.  
  18. @end
Advertisement
Add Comment
Please, Sign In to add comment