Chapter 23 functional programming use of stringByApplyingTransform

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'

Hi scottaw,

Please try like this.

transformedLabel.text = “Hello, world!”.applyingTransform(StringTransform(rawValue: items[row]), reverse: false)

Thank you for the heads up - much appreciated! :]