I'm trying to learn more about macro programming for Obj-C, as I have seen quite a bit of cool stuff done with it. Is it is possible to accomplish the following with a one-line macro?
MyNewViewController *newVC = [[MyNewViewController alloc] init]; [self.navigationController pushViewController:newVC animated:YES]; [newVC release]; Something like:
PushToNavController(@"MyNewViewController",YES); Thanks