how to call an array with custom data type swift code example Example: swift array of objects var foundation = [baseMakeUp]()