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