Change intention template
Hi,
Is there a way to change the template used when I invoke the "Wrap with if responds to selector" intention? Currently, the generated code contains a local variable:
id <MyControllerDelegate> o = self.delegate;
if ([o respondsToSelector:@selector(controller:willPresentOverlay:)]) {
[o controller:self willPresentOverlay:overlay];
}
and I would like to change it to
if ([self.delegate respondsToSelector:@selector(controller:willPresentOverlay:)]) {
[self.delegate controller:self willPresentOverlay:overlay];
}
cheers,
Jan
Please sign in to leave a comment.