[iOS] Fix Swift QS

Update code due to changes in Swift language