Quartz Core Import not required in Xcode 5?
Yes, <QuartzCore/QuartzCore.h>
is automatically included,but this seems to be more a side effect than intended, becauseit is included only indirectly:
<UIKit/UIKit.h>
includes<UIKit/UISlider.h>
,- in the iOS 7 SDK,
<UIKit/UISlider.h>
includes<QuartzCore/QuartzCore.h>
, due to new instance variables in theUISlider
class (of theCAShapeLayer
type).
In addition, Xcode 5 has a new build setting "Link Frameworks Automatically", which is bydefault on (and requires the new "modules" feature), so that the QuartzCore frameworkis also added to the link libraries.