swift array of objects of class code example Example: swift array of objects var foundation = [baseMakeUp]()