LKS_Helper.h 617 B

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