November 2013
Beginner
325 pages
9h 47m
English
Using the BNRStockHolding class from a previous challenge, make a tool that creates an instance of a BNRPortfolio class and fills it with stock holdings. A portfolio can tell you what its current value is.
Also, add a symbol property to BNRStockHolding that holds the stock ticker symbol as an NSString.
Figure 21.4 Create a BNRPortfolio class
Read now
Unlock full access