they can only change computed properties like var name: String { return “” }

by using the “override” keyword in the subclass

   override var name: String {
       return “ants”
   }

1. Structures vs Classes

Use a structure when:

If you intend to encapsulate a few relatively simple data types then you should use structures. If you intend that the values to be copied rather than be referenced then you should use structures. If the properties stored by the structures are themselves value types. The structure does not need to inherit properties or behaviors from an existing type.

2. View Controller Lifecycle

very important project must study, has everything about view controller lifecycle methods.

  1. current context means the root view will appear in the background