Open cjarman opened 7 years ago
Changed this line as once the parent viewController was dismissed a nil pointer error was being thrown after returning to the previous viewController.
While the fix works i'm not sure as to what is the underlying issue.
open override func willMove(toSuperview newSuperview: UIView?) { super.willMove(toSuperview: newSuperview) commonInit() //Changed this if (newSuperview != nil){ setupAutocompleteTable(newSuperview!) } }
Changed this line as once the parent viewController was dismissed a nil pointer error was being thrown after returning to the previous viewController.
While the fix works i'm not sure as to what is the underlying issue.
open override func willMove(toSuperview newSuperview: UIView?) { super.willMove(toSuperview: newSuperview) commonInit() //Changed this if (newSuperview != nil){ setupAutocompleteTable(newSuperview!) } }