Did you know that you can use po in Xcode while debugging to change variables and call methods? Well, you can, and it is pretty handy.

A very recent scenario I had was that a tap gesture did not work properly. I put a breakpoint and saw that the userInteractionEnabled was set to NO. Instead of changing it in the code, recompiling and test again - you can make a breakpoint and change the flag manually with po [bar setUserInteractionEnabled:YES].

As seen in the picture below, now the tap gesture worked as it should.

Sure, you still need to write the code itself - but it is a nice way of trying some things out on the fly.