Skip to content

Instantly share code, notes, and snippets.

@satococoa
Created August 16, 2012 06:08
Show Gist options
  • Select an option

  • Save satococoa/3367231 to your computer and use it in GitHub Desktop.

Select an option

Save satococoa/3367231 to your computer and use it in GitHub Desktop.
crashes
anim = CABasicAnimation.animationWithKeyPath('transform')
anim.fromValue = 0
anim.toValue = 2 * Math::PI
anim.valueFunction = CAValueFunction.functionWithName(KCAValueFunctionRotateZ)
anim.duration = 2
anim.repeatCount = Float::MAX
=begin
2012-08-16 15:01:39.964 ruby[37392:f0b] unrecognized runtime type `{_CMTime=qiIq}' (TypeError)
Can't compile stub for selector `setDuration:': unrecognized runtime type `{_CMTime=qiIq}' (TypeError)
rake aborted!
Command failed with status (1): [/usr/bin/env VM_KERNEL_PATH="/Users/satosh...]
Tasks: TOP => default => simulator => build:simulator
(See full trace by running task with --trace)
=end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment