Sunday, December 11, 2016

Part 14 - UIView's Stretching Property

  • It was used to handle corners of images, to prevent them from stretching while stretching out the other parts that would not look weird.
  • This property is actually deprecated and should not be used. Instead, you should use Image Slicing.
    Example of Image Slicing:



Reference: http://macoscope.com/blog/stretchable-images-using-interface-builder/

(Xcode 8, Swift 3)

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