Add #import <QuartzCore/QuartzCore.h> to source files.