Swift 2.x 升为 swift 3后语法不兼容问题适配 【解决方法】设置 Build Settings —-> Use Legacy Swift Language Version —-> 改为YES