delete useless Objective-C code