https://github.com/Invisibi/HLDigitInputField/blob/master/Pod/Classes/HLDigitInputField.h#L26 As a result the text field is not released from the memory. Solution: make the delegate weak