Media, Graphics, and Gaming
iOS devices shine when it comes to games, sound, and video, and there are a rich set of frameworks for working with static and time-based media.
Graphics
For 2D graphics, the essential tool is Core Graphics, sometimes also called Quartz. Core Graphics is a drawing library that lets us draw resolution-independent lines, shapes, patterns, and text to an arbitrary “context.” It doesn’t matter if the context is a UIView we’re drawing at runtime, or a PDF file stored on the filesystem—either way, the drawing commands are the same. This technology is what gives us user interfaces that look sharp at any size or resolution, from old non-Retina iPhones to the 3x display of the iPhone 7 Plus.
Quartz also gives us Core Animation ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access