Saturday, December 10, 2016

Part 7 - UIView's Background Color Property


  • Gives the UIView a color
  • You can animate the color change
  • Property in code is called backgroundColor
  • You can set the Background color to an image:
     
    view.backgroundColor = UIColor(patternImage: UIImage(named: "myImage")!)
     
    

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