Type casting in for-in loop Type casting in for-in loop swift swift