Digital PCT265 defect CXTDT-573370: Expose VDS bundle helper in MVMCoreUI.
This commit is contained in:
parent
a608ae294c
commit
725d4e3cd7
@ -22,6 +22,9 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
// The bundle for this framework
|
||||
+ (nullable NSBundle *)bundleForMVMCoreUI;
|
||||
|
||||
/// The bundle for the VDS frameowrk. Handy for accessing VDS resources such as fonts.
|
||||
+ (nullable NSBundle *)bundleForVDS;
|
||||
|
||||
// Returns the hardcoded string from the string file.
|
||||
+ (nullable NSString *)hardcodedStringWithKey:(nonnull NSString *)key;
|
||||
|
||||
|
||||
@ -22,6 +22,10 @@
|
||||
return [NSBundle bundleWithIdentifier:@"com.vzw.MVMCoreUI"];
|
||||
}
|
||||
|
||||
+ (nullable NSBundle *)bundleForVDS {
|
||||
return [NSBundle bundleWithIdentifier:@"com.vzw.vds"];
|
||||
}
|
||||
|
||||
+ (nullable NSString *)hardcodedStringWithKey:(nonnull NSString *)key {
|
||||
// Redirect key with relevant module.
|
||||
return [MVMCoreGetterUtility hardcodedStringWithKey:key bundle:[MVMCoreUIUtility bundleForMVMCoreUI]];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user