CALayer: Implicit animation of a custom property

For Apple’s iOS, below is the code to implicitly animate a custom property, using float as an example, in a subclass of CALayer: /* MyLayer.m */ @interface MyLayer() {     BOOL _isPresenting; /* TRUE for presentation layer */ } @property (nonatomic) float property; /* normally defined in MyLayer.h */ @end @implementation MyLayer @synthesize property = _property; […]

Apple’s GLKit framework for IOS 5

Apple’s GLKit framework for IOS 5 is a few objective-c classes that make it easier to program for OpenGL ES 2.0, especially when porting from OpenGL ES 1.1 applications to 2.0. OpenGL ES 2.0 of course is the new graphics API for creating pretty 3D scenes in mobile apps. What makes it particularly hard for […]