Sha256: a0574ded24cc07a945dd6fbc770f0cda4c253519d72257274dc7ff7c4ba5347d
Contents?: true
Size: 482 Bytes
Versions: 19
Compression:
Stored size: 482 Bytes
Contents
private class ModuleBundle {} enum Environment { static let resourcesBundleName = "${POD_NAME}" } extension Bundle { static var moduleBundle: Bundle { let podBundle = Bundle(for: ModuleBundle.self) guard let bundleURL = podBundle.url(forResource: Environment.resourcesBundleName, withExtension: "bundle"), let bundle = Bundle(url: bundleURL) else { return .main } return bundle } }
Version data entries
19 entries across 19 versions & 1 rubygems