// TEST CODE FOR PRODUCT CLASS Product *one = [[Product alloc] initWithName:@"apple" andFileName:@"apple.jpeg"]; Product *two = [Product alloc]; two.name = @"orange"; two.imgFileName = @"orange.jpg"; [one acceptDelivery:100]; [two acceptDelivery:50]; [one releaseStock:3]; NSLog(@"%@ stock: %d", one.name, one.stockLevel); NSLog(@"%@ stock: %d", two.name, two.stockLevel);