Slide 1

Slide 1 text

Drawing Using Core Graphics and Core Animation - Mridul Noon Academy

Slide 2

Slide 2 text

Agenda - Efficient drawing - The role of Core Graphics & Core Animation in drawing - Problem statement and solution

Slide 3

Slide 3 text

What is Core Graphics? - It is an advanced, two-dimensional drawing engine available for iOS. - CPU It Provides - Draw graphics - Provide graphics editing capabilities in an application - Create or display bitmap images - Work with PDF documents When we talk about Core graphics then the very first thing which comes to our mind is GraphicsContext

Slide 4

Slide 4 text

What is Core Animation? - Core Animation is a graphics rendering and animation infrastructure - GPU - The Layer-Based Drawing Model

Slide 5

Slide 5 text

Performance Optimization 90% 60

Slide 6

Slide 6 text

Code Snippet(Legacy- Super Bad)

Slide 7

Slide 7 text

Code Snippet(Optimised CPU)

Slide 8

Slide 8 text

Code Snippet(Optimised GPU)

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

` 11

Slide 12

Slide 12 text

Thank you