With Swift specifically, I’ve found it to be very helpful 50% of the time, and very convincingly hallucinate things the other 50% of the time.
Like it makes up with it would imagine Apple’s API should look like, when it does not in fact the API does not look like that at all.