Create new Foundation Command Line Tool called Stocks. Then create a class called StockHolding to represent a stock that you have purchased. It will be a subclass of NSObject. For instance variables, it will have two floats named purchaseSharePrice and currentSharePrice and one int named numberOfShares. Create accessor methods for the instance variables. Create two other instance methods:
- (float)costInDollars; // purchaseSharePrice * numberOfShares - (float)valueInDollars; // currentSharePrice * numberOfShares
In main(), fill an array with three instances of StockHolding. Then iterate through the array printing out the value of each.