Hi - this is my very first post. I have been playing with this thing for hours. All of my attempts fail and I would appreciate some help.
Here is my Main Program:
StockHolding *sh1 = [ForeignStockHolding new]; StockHolding *sh2 = [ForeignStockHolding new]; StockHolding *sh3 = [ForeignStockHolding new]; sh1.PurchaseSharePrice=1.8; sh1.CurrentSharePrice=3.6; sh1.NumberOfShares=1000; sh1.ConversionRate=1.6;
This last instruction gives me the error “Property ‘ConversionRate’ not found on object of type Stockholding *”
Here is my ForeignStockHolding.h file:
@interface ForeignStockHolding : StockHolding
@property float conversionRate;