Image symbols generation plugin similar to Xcode 15 feature.
Currently there's no way to change access level for generated symbols - all of them will be internal
.
This plugin recreates generation logic with public
accessor applied to each symbol.
In package's dependencies:
dependencies: [
.package(url: "https://github.com/kutchie-pelaez/assets-generation-plugin.git", from: "1.0.0")
]
In target's plugins:
plugins: [
.plugin(name: "AssetsPlugin", package: "assets-generation-plugin")
]
Make sure "Provides Namespaces" is enabled for each folder:
let one = Assets.one
let two = Assets.FolderOne.two
let three = Assets.FolderOne.FolderTwo.three
AssetsPlugin is released under the MIT license. See LICENSE for details.