Delete the text NSNotification.Name. written before the UIResponder to remove the error. Share this:TwitterFacebookLike this:Like Loading... Post navigation ‘characters’ is unavailable: Please use String directly Error iOS How to capitalise first letter of String in Swift?