Just FYI to anyone else doing the Swift Apprentice playground exercises in Xcode 8 beta, Swift 3 apparently has changed something that breaks stringByApplyingTransform because it no longer works.
The error is:
value of type 'String' has no member 'stringByApplyingTransform'