It can be a struggle to get the right look with 3D transforms by tweaking each variable around in Xcode, and here’s a tool to greatly speed up the process.
This tool from Erwin Maza called Transformifier allows you to get that right 3D transform using sliders and the ability to add new transforms (through drag and drop) and export generated code using CATransform3D that you can drop into your app.
As the readme states:
Temporarily install and instantiate a Transformifier. Set it to act on the CALayer of the victim element on the screen, and interactively set functions and values until you get exactly the desired effect. Click the output icon to get fully formed, ready to paste text to replicate the effect in code.
Here’s a couple of images showing how you can choose your transformations and generate the code:
You can find Transformifier on Github here.
A handy tool if you’re struggling to get that 3D transform code just right.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.