It doesn’t know what type of object the layer property is. Add #import <QuartzCore/QuartzCore.h> to the top of your file.
It doesn’t know what type of object the layer property is. Add #import <QuartzCore/QuartzCore.h> to the top of your file.