lib/sugarcube-animations.rb in sugarcube-3.0.7 vs lib/sugarcube-animations.rb in sugarcube-3.0.8
- old
+ new
@@ -2,9 +2,12 @@
raise "The sugarcube gem must be required within a RubyMotion project Rakefile."
end
require 'sugarcube'
+if SugarCube.cocoa?
+ require 'sugarcube-coregraphics'
+end
Motion::Project::App.pre_setup do |app|
SugarCube.add_app_files(app, 'sugarcube-animations')
end