Trackpad gesture to switch to header/source

This is the correct and best answer. It works. It is posted by “@Buyin” above. Another individual commented that it doesn’t work. He is wrong. It works, I’ve confirmed it. It restores the three finger vertical swipe to switch between interface and implementation files (.h and .m) in xCode in Lion. From your terminal: Change … Read more

Xcode project how to detect target programmatically or how to use env vars

Never mind… figured out that it is in “Schemes” that you set this. For example if you want TARGET=TEST to be available during Test and TARGET=RUN to show during run, just set that in your Scheme > Environment Variables > Name/Value. Then from your app you can do: [[[NSProcessInfo processInfo] environment] objectForKey:@”TARGET”] Using build settings … Read more

tech