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

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -