Read Xcode Build Configuration Files. How you to use text-based xcconfig - that’s what I always wanted to know.

Side note. I have never heard about SCREAMING_SNAKE_CASE:

According to the POSIX standard environment variables have names consisting solely of uppercase letters, digits, and underscore ( _ ) — a convention I like to call SCREAMING_SNAKE_CASE.

Read Image Resizing Techniques. It’s not only about resizing but also about downsampling as well.

This calculation is smart! Usually I calculate ratio and then multiply sizes to that ratio. Using CGAffineTransform is smart!

```swift let scaleFactor = UIScreen.main.scale let scale = CGAffineTransform(scaleX: scaleFactor, y: scaleFactor) let size = imageView.bounds.size.applying(scale)