how to create an array of objects in swift code example Example: swift array of objects var foundation = [baseMakeUp]()