Closed colinta closed 10 years ago
Would be an honor to have it propagate into other projects. Please let me know when I can see the Ruby version of the code :+1:
Finally got around to porting this today! You can check out the code here:
Or the patch here:
https://github.com/rubymotion/sugarcube/commit/5aabb0cf3b3f911c1849e306eecb9318b0180905
I tried to give as much credit as I could!
https://twitter.com/colinta/status/515264702738620416 :smiley:
Great! :+1:
This is an excellent wiggle, sir.
Would I have your blessings to translate this into RubyMotion and include it in SugarCube? I would, of course, add attribution information to the method documentation, and any other attribution and twitter mentions that you require :wink:
Alternatively, if you didn't want this as part of another gem (SugarCube is a very popular collection of many many shorthands) I would like to create a gem that would make it easy to add this to any project. In that case I would include the .m file as-is, and again add attributions to the source and README.
Many RubyMotion-ers shy away from including objc code (even though it's very straightforward), but I'd love to see this handy animation included in more projects.
Let me know your thoughts, I'll respect whatever decision you make on the matter.