3 ms·
Do you have an FB number for improving the documentation here? CALayer accepts a number of different data types for its contents property, IOSurface being one
by xenadu02 7y ago
Do you have an FB number for improving the documentation here?
CALayer accepts a number of different data types for its contents property, IOSurface being one of them.
Another tip: CAShapeLayer draws on the GPU so simple shapes/strokes can be insanely faster drawn that way vs CoreGraphics.