LKS_Helper.h 536 B

12345678910111213141516171819202122232425
  1. //
  2. // LKS_Helper.h
  3. // LookinServer
  4. //
  5. // Created by Li Kai on 2019/7/20.
  6. // https://lookin.work
  7. //
  8. #import "LookinDefines.h"
  9. #import <Foundation/Foundation.h>
  10. #define LKS_Localized(stringKey) NSLocalizedStringFromTableInBundle(stringKey, nil, [NSBundle bundleForClass:self.class], nil)
  11. @interface LKS_Helper : NSObject
  12. /// 如果 object 为 nil 则返回字符串 “nil”,否则返回字符串格式类似于 (UIView *)
  13. + (NSString *)descriptionOfObject:(id)object;
  14. /// 返回当前的bundle
  15. + (NSBundle *)bundle;
  16. @end