If you look closely, you can see that CoreGraphics is the underlying drawing framework. What we will actually use are some underlying drawing functions and variables at the beginning of CG. This is a pure C language framework.
QuartzCore is the framework you mentioned that includes CoreAnimation. It is the basic rendering framework of the iOS system, an OC language framework, and a set of OC language packages based on QuartzCore也就是你说的包含了CoreAnimation的框架,是iOS系统的基本渲染框架,是一个OC语言框架,是一套基于CoreGraphics的OC语言封装,封装出了基本渲染类CALayer , encapsulates the basic rendering class CALayer.
I wonder if you can understand the difference between the two at this point.
First of all, let’s talk about Graphic which means
图形
.Compare the header files first
CoreAnimation.h
CoreGraphics.h
If you look closely, you can see that
CoreGraphics
is the underlying drawing framework. What we will actually use are some underlying drawing functions and variables at the beginning of CG. This is a pure C language framework.QuartzCore
is the framework you mentioned that includesCoreAnimation
. It is the basic rendering framework of the iOS system, an OC language framework, and a set of OC language packages based onQuartzCore
也就是你说的包含了CoreAnimation
的框架,是iOS系统的基本渲染框架,是一个OC语言框架,是一套基于CoreGraphics
的OC语言封装,封装出了基本渲染类CALayer
, encapsulates the basic rendering classCALayer
.I wonder if you can understand the difference between the two at this point.