I’m trying to follow how things happen in Eddies Electronics (iOS). It may be best to point me directly to the appropriate documentation but a little plain language explanation will help. I’ve been working with Xojo (and previously Delphi) on the desktop and get the basics of OOP but I’m certainly no master of if. But I did write COBOL and CICS for about 30 years.
Here’s what I understand: CustomerView opens by default and connects to the DB which loads the recordset. When the users clicks on a customer from the CustomerView Table a new instance of a CustomerDetailView is created and the instance of Customer is set to the selected record.
Why do you create a new instance of CustomerDetailView - why not just use the base view?
In the DetailView, there is an instance of Customer defined as a property. Why do you pass another instance of Customer (as"c") to the DisplayCustomer method.
Why do you define a property as a public instance of customer and then define another instance of customer (mCustomer) as a private property.
I’m having a little trouble grasping the scope of instances of the class.
thanks for your patience…