Skip to content

Instantly share code, notes, and snippets.

@ArtSabintsev
Created December 21, 2020 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ArtSabintsev/a5afba7c099ea30450c0b0de7f375ed4 to your computer and use it in GitHub Desktop.
Save ArtSabintsev/a5afba7c099ea30450c0b0de7f375ed4 to your computer and use it in GitHub Desktop.
Example of Bundle.module
// Source: https://developer.apple.com/forums/thread/650158?answerId=614513022#614513022
import Foundation
extension Bundle {
static let module = Bundle(path: "\(Bundle.main.bundlePath)/path/to/this/targets/resource/bundle")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment