Wrong to use let in apple swift