Over the last 4 months b2cloud has been busily building Google Glass Apps for the most forward thinking companies in Australia. Not to mention the neat little Apps we have developed for demonstration at events around Australia including Glass Tabs – Learning guitar through Google Glass.
Transforms in iOS are great, very easy to create and use, as long as you only want to rotate, translate or scale. In a project we completed a while back we needed to distort the text on a switch type button to make it look like the text followed the contour of the button’s edges. We tried rotating but that looked strange when the corners of the text poked out, we needed to keep the left and right edges straight like a parallelogram, we needed a ‘distort’ transform. The CGAffine methods don’t support distorting, so we had to make the transform ourselves. It is actually very easy, just implement these two defines in your project and use them like you would use the scale, rotate or translate functions.