Blog
All Posts
Access colors and images from asset catalog via static properties in Xcode 15
Xcode 15 automatically generates static properties on ColorResource and ImageResource types for colors and images that we store in asset catalog. This lets us access them in SwiftUI, UIKit or AppKit code without using string literals.