Access Images and Colors with Enum in Xcode 15

Access Images and Colors with Enum in Xcode 15

Xcode 15 can automatically create Swift symbols for your resources without any third party. In this article, you will learn what you need to do to enjoy this feature.

[…]

People use tools like R.swift and SwiftGen to generate enum or strong types for the resources.

[…]

But if you open a project from Xcode 14, it will be disabled.

[…]

I am glad Xcode finally supports generating Swift symbols for colors and images out of the box.

[…]