Bundle
extension Bundle
-
Locate an inner Bundle generated from CocoaPod packaging.
Declaration
Swift
public func podResource(name: String) -> Bundle
Parameters
name
the name of the inner resource bundle. This should match the “s.resource_bundle” key or one of the “s.resource_bundles” keys from the podspec file that defines the CocoPod.
Return Value
the resource Bundle or
self
if resource bundle was not found