ios - Xcode7 synthesize setter settableview for null resettable property does not handle nil -


in ios9 warning

enter image description here

this on uitableviewcontroller.

although works fine, understand meaning of warning.

so setter not handle when tableview set nil.

i can override setter rid of warning, there better way go this? or should not have synthesised built in property in first place?

- (void)settableview:(uitableview *)intableview {     if (!intableview) {         return;     }     [super settableview:intableview]; } 


Comments