WeChatTweak-macOS/WeChatTweak/Category/NSBundle+WeChatTweak.m
2021-09-08 13:57:52 +08:00

22 lines
455 B
Objective-C

//
// NSBundle+WeChatTweak.m
// WeChatTweak
//
// Created by Sunnyyoung on 2017/8/12.
// Copyright © 2017年 Sunnyyoung. All rights reserved.
//
#import "NSBundle+WeChatTweak.h"
@implementation NSBundle (WeChatTweak)
+ (instancetype)tweakBundle {
return [NSBundle bundleWithIdentifier:@"app.tweaks.WeChatTweak"];
}
- (NSString *)localizedStringForKey:(NSString *)key {
return [self localizedStringForKey:key value:nil table:nil];
}
@end