Add method prefix
This commit is contained in:
Родитель
9056914c55
Коммит
401dc7e2b5
|
@ -153,7 +153,7 @@ NSBundle *getLocalizedStringKitBundle(NSString *_Nullable bundleName) {
|
|||
return nil;
|
||||
}
|
||||
|
||||
void SetPrimaryBundleName(NSString *_Nonnull bundleName) {
|
||||
void LSKSetPrimaryBundleName(NSString *_Nonnull bundleName) {
|
||||
LSKPrimaryBundleName = bundleName;
|
||||
}
|
||||
|
||||
|
|
|
@ -64,6 +64,6 @@ NSBundle * _Nullable LSKLocalizedStringKitBundle(NSString *_Nullable bundleName)
|
|||
/// Set the primary bundle name
|
||||
///
|
||||
/// @param bundleName: Nonnull bundle name to set as a String
|
||||
void SetPrimaryBundleName(NSString *_Nonnull bundleName);
|
||||
void LSKSetPrimaryBundleName(NSString *_Nonnull bundleName);
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
|
|
@ -32,7 +32,7 @@ final class LocalizedStringKitTests: XCTestCase {
|
|||
|
||||
func testPrimaryBundleName() {
|
||||
XCTAssertEqual(LSKPrimaryBundleName, "LocalizedStringKit.bundle")
|
||||
SetPrimaryBundleName("Other.bundle")
|
||||
LSKSetPrimaryBundleName("Other.bundle")
|
||||
XCTAssertEqual(LSKPrimaryBundleName, "Other.bundle")
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче