Saturday, December 10, 2016

Part 10 - UIView's Hidden Property

  • Setting to true will hide the UIView and everything inside the UIView. (You can still see it on the storyboard though.)
  • Set to true instead of changing Alpha to zero when you want to hide something.
  • If you want to animate hiding/showing, use Alpha. Hidden is not animatable.
  • All touch events are ignored when the UIView's hidden property is true.

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