Template for Layer Dimensions in Objective-C