mxcl / SuperGoodDeleteWiggle

Wiggle animation (almost) as good as the Springboard delete wiggle animation
13 stars 0 forks source link

Wow, you're not kidding #1

Closed colinta closed 10 years ago

colinta commented 10 years ago

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.

mxcl commented 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:

colinta commented 10 years ago

Finally got around to porting this today! You can check out the code here:

https://github.com/rubymotion/sugarcube/blob/5aabb0cf3b3f911c1849e306eecb9318b0180905/lib/ios/sugarcube-animations/uiview.rb#L563-621

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:

mxcl commented 10 years ago

Great! :+1: