0

I have the following line of code

 CGAffineTransform rotate = CGAffineTransformMakeRotation( 1.0 / 240.0 * 3.14 );

Is it possible to change rotate variable on the fly and initialise it with CGAffineTransformMakeRotation( 1.0 / 180.0 * 10 )?

TOP KEK
  • 2,593
  • 5
  • 36
  • 62

1 Answers1

0

This answer may help you, it did me.

Quote:

You can do this in the debug console. Say you have NSString* myVar. In the console, after (gdb), type set myVar = @"My new string". If you are using (lldb), then use the equivalent expression expr myVar = @"My new string" instead.

Community
  • 1
  • 1
Putz1103
  • 6,211
  • 1
  • 18
  • 25