Saturday, December 10, 2016

Part 9 - UIView's Opaque Property

  • Whether the Opaque property is true or false it will not hide/show the UIView.
  • This property is simply a hint to the drawing system to improve performance when set to true. If it knows the UIView is opaque then it won't draw anything behind it.
  • If Alpha is less than one, this property should be set to false.
  • From Apple documentation: The opaque property has no effect in system-provided classes such as UIButton, UILabel, UITableViewCell, and so on.

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...