52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
//
|
|
// Base.pch
|
|
// xplan-ios
|
|
//
|
|
// Created by zu on 2021/9/1.
|
|
//
|
|
|
|
#ifndef Base_pch
|
|
#define Base_pch
|
|
|
|
// Include any system framework and library headers here that should be included in all compilation units.
|
|
// You will also need to set the Prefix Header build setting of one or more of your targets to reference this file.
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#define AppName ([[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleDisplayName"])
|
|
|
|
#ifdef DEBUG
|
|
#define NSLog(fmt,...) NSLog((@"%s [Line %d]" fmt),__PRETTY_FUNCTION__,__LINE__,##__VA_ARGS__)
|
|
#else
|
|
#define NSLog(...)
|
|
#endif
|
|
|
|
#define isEnterprise \
|
|
({BOOL isEnterprise = NO;\
|
|
if (@available(iOS 11.0, *)) {\
|
|
NSString *bundleID = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleIdentifier"];\
|
|
isEnterprise = [bundleID isEqualToString:@"com.yinyou.enterprise.ios"];\
|
|
}\
|
|
(isEnterprise);})
|
|
#import <Masonry/Masonry.h>
|
|
#import "XPMacro.h"
|
|
#import "ThemeColor.h"
|
|
#import "UIView+Corner.h"
|
|
#import "MvpViewController.h"
|
|
#import "UIImage+Utils.h"
|
|
#import "NetImageView.h"
|
|
#import "UILabel+Factory.h"
|
|
#import <MJRefresh/MJRefresh.h>
|
|
#import "TTPopup.h"
|
|
#import "UIButton+EnlargeTouchArea.h"
|
|
#import "XCHUDTool.h"
|
|
#import "AccountInfoStorage.h"
|
|
#import "UIImage+ImageEffects.h"
|
|
#import "NSArray+Safe.h"
|
|
#import "NSString+Utils.h"
|
|
#import "YYUtility.h"
|
|
#import "XPHtmlUrl.h"
|
|
#import "XPEnum.h"
|
|
#import "MewRefreshSvgaHeader.h"
|
|
#import "StatisticsServiceHelper.h"
|
|
#endif /* Base_pch */
|