Xcode6 beta 4 issue (change substringFromIndex parameter)