funckeyboardWillShow(notification:NSNotification){letuserInfo=notification.userInfoletkeyboardFrame=userInfo?[UIKeyboardFrameEndUserInfoKey]asNSValueletkeyboardSize=keyboardFrame.CGRectValue().sizeletanimationDurationValue=userInfo?[UIKeyboardAnimationDurationUserInfoKey]asNSValuevaranimationDur