swift array with string and object code example Example: swift array of objects var foundation = [baseMakeUp]()