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

Version Path
shellboxCLI-0.3.2 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.3.1 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.3.0 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.2.0 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.1.16 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.1.15 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.1.14 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.1.12 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.1.11 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.1.10 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.1.9 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.1.8 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.1.7 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.1.6 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.1.4 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.1.3 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.1.2 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.1.1 lib/ios/module/templates/Feature/bundle_template
shellboxCLI-0.1.0 lib/ios/module/templates/Feature/bundle_template