I've got a couple of UITextFields implemented in a UITableView for a login form. When resigning first responder in both the very first time, a really strange animation jump is occurring. Since these are almost entirely build in Interface Builder with a .xib file, I've got virtually no code to add in. But here's a fun .gif that shows the behavior:

Update:
I've narrowed it down to the fact that I'm listening to keyboard events to adjust the view constraints. This is the code that's causing the problem:
func keyboardWillHide(notification: NSNotification) {
// tried self.formContainer.layoutIfNeeded() here too to force pending layouts
formContainerYConstraint.constant = 40
UIView.animateWithDuration(0.4) { () -> Void in
self.formContainer.layoutIfNeeded()
}
}
... where the form container is a view that houses the table view and login button.