Saturday, December 10, 2016

Part 11 - UIView's Clear Graphics Context

  • "Graphics Context" is defined by Apple as: "A graphics context represents a drawing destination."
  • "Context" is like scope. In this case it is the bounds of the object.
  • If true, clears what is drawn and redraws the view. Prevents visual artifacts from persisting after redrawing.
  • Property is clearsContextBeforeDrawing in code.
  • If unchecked you are responsible for redrawing.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

SwiftUI Search & Filter with Combine - Part 3 (iOS, Xcode 13, SwiftUI, 2...

In part 3 of the Searchable video series, I show you how to use Combine in #SwiftUI for the search and filter logic connected to the searcha...