iPhone and iPad development
658.7K views | +14 today
Follow
iPhone and iPad development
Tips, Libs and more about iPhone and iPad development and ios
Curated by Vincent Demay
Your new post is loading...
Scooped by Vincent Demay
Scoop.it!

AGGeometryKit - CATransform3D from quadrilateral animated

Create CATransform3D with quadrilaterals, useful math functions, calculate angle between views

Consists of
  • Additions for CGGeometry for common CGRect, CGSize and CGPoint calculations
  • AGQuad which helps you create CATransform3D from convex quadrilaterals (basically you can turn any rectangle into any convex four-cornered shape)
  • Some useful math functions
Vincent Demay's insight:

It's always hard to make 3D animations. Here is a framework to make it easier


✔Sources: https://github.com/hfossli/AGGeometryKit

No comment yet.
Scooped by Vincent Demay
Scoop.it!

A Couple CGAffineTransform Goodies

A Couple CGAffineTransform Goodies | iPhone and iPad development | Scoop.it
Thanks to Core Animation, we iOS programmers tend to use affine transformations (by way of CGAffineTransform) a lot.
No comment yet.
Scooped by Vincent Demay
Scoop.it!

iOS custom OpenGL transitions

Few days ago I found nice class which handles custom OpenGL UIView transitions http://memention.com/blog/2010/02/28/Bells-and-Whistles.html I would probably stick to it and use it, but unfortunately I didn't like the lag before the animation starts and few details (not working on all orientations ...). So I decided to rewrite it from scratch, make it as fast as possible, and maybe a little bit easier (if possible) to use.

I ended up with HMGLTransitions which you can download from here http://github.com/Split82/HMGLTransitions The biggest difference between this and previously mentioned implementations is that I use singleton object which creates OpenGL context only once. This can drastically improve starting lag of animation. Also I don't resample textures and use exact size. Next "big" thing is that all device orientations are supported. Now everything works nice and smooth (except cloth animation on iPhone 3G and lower ;) There are still some things which should be added and there is also space for some performance enhancements, but for now it's enough and can be used without having any problems on iPhone. On iPad there might be performance issues (starting lag) if the view hierarchy which needs to be rendered to the texture is too complicated.
No comment yet.
Curated by Vincent Demay
Development Manager @ Scoop.it - http://www.scoop.it
iPad, iPhone and Android developer
Geek :)