Listing 8.9 and uppercaseString

In Swift 3 the following line (Listing 8.9):

var upCaseErrorDescription = errorDescription?.uppercaseString

has to be replaced with:

var upCaseErrorDescription = errorDescription?.uppercased()