I have a UIView and I\'m trying to set its layer properties.
self.colorSwatch = [[UIView alloc] initWithFrame:CGRectMake(400, 150, 100, 100)]; self.colorSwat
You need to import the file #import < QuartzCore/QuartzCore.h> in ViewController.m class if and only if xcode version is less than 5.
See if you are using xcode version 5 or latest than that then not required to import .It is automatically included.