The example in the middle is in Swift, regardless of which language you've selected.
But the API list at the bottom does reflect your current language selection.