pass empty array to delegate function in swift 5 code example Example: how to present a uiview after an array of cards is empty swift EMPTY ARRAY