The IBOutlet autoCompleteDelegate is accessed from the initializer (init-> initialize-> styleAutoCompleteTableForBorderStyle:), but the outlets are not set while the designated initializer chain is called, so following delegate method will never get called while the class is initializing
The IBOutlet autoCompleteDelegate is accessed from the initializer (
init-> initialize-> styleAutoCompleteTableForBorderStyle:
), but the outlets are not set while the designated initializer chain is called, so following delegate method will never get called while the class is initializingI moved the call to the
styleAutoCompleteTableForBorderStyle:
in theawakeFromNib
method, where the outlets are set.