Thanks for the suggestion! While this did resolve the "type of expression is ambiguous without more context" error, a new problem was introduced: when I tried to access the property, the inferred type was a double optional. Using your app as an example, the type of the currentDeck would be currentDeck??. Has anybody encountered this issue?