Open
Description
@jpotts18
I'm trying to debug leaks, none of my VC's implementing this library are calling deinit
so I was wondering if it has to do with the way the delegate validator delegate is set. I may be wrong but it appears that this holds a strong reference to my VC?
self.validator.validate(self)
Also validation delegate is not declare as a class protocol so no weak references can be made to it I assume?
public protocol ValidationDelegate {
/**
This method will be called on delegate object when validation is successful.
- returns: No return value.
*/
func validationSuccessful()
/**
This method will be called on delegate object when validation fails.
- returns: No return value.
*/
func validationFailed(_ errors: [(Validatable, ValidationError)])
}
Metadata
Metadata
Assignees
Labels
No labels