cdts/xdts-ios 3/TreeHole/Code/Gategory/BRPickerView/Base/NSBundle+BRPickerView.h
2023-07-27 09:20:00 +08:00

27 lines
692 B
Objective-C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// NSBundle+BRPickerView.h
// BRPickerViewDemo
//
// Created by renbo on 2019/10/30.
// Copyright © 2019 irenb. All rights reserved.
//
// 最新代码下载地址https://github.com/91renb/BRPickerView
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSBundle (BRPickerView)
/// 获取 BRPickerView.bundle
+ (instancetype)br_pickerBundle;
/// 获取国际化后的文本
/// @param key 代表 Localizable.strings 文件中 key-value 中的 key。
/// @param language 设置语言可为空为nil时将随系统的语言自动改变
+ (NSString *)br_localizedStringForKey:(NSString *)key language:(NSString *)language;
@end
NS_ASSUME_NONNULL_END