update
This commit is contained in:
26
Pods/CocoaDebug/Sources/Sandbox/_Sandboxer-Header.h
generated
Executable file
26
Pods/CocoaDebug/Sources/Sandbox/_Sandboxer-Header.h
generated
Executable file
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// Example
|
||||
// man
|
||||
//
|
||||
// Created by man 11/11/2018.
|
||||
// Copyright © 2020 man. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef _Sandboxer_Header_h
|
||||
#define _Sandboxer_Header_h
|
||||
|
||||
/*
|
||||
* System Versioning Preprocessor Macros
|
||||
*/
|
||||
|
||||
#define _SYSTEM_VERSION_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedSame)
|
||||
#define _SYSTEM_VERSION_GREATER_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedDescending)
|
||||
#define _SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)
|
||||
#define _SYSTEM_VERSION_LESS_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedAscending)
|
||||
#define _SYSTEM_VERSION_LESS_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedDescending)
|
||||
|
||||
#define _IsStringEmpty(string) (nil == string || (NSNull *)string == [NSNull null] || [@"" isEqualToString:string])
|
||||
#define _IsStringNotEmpty(string) (string && (NSNull *)string != [NSNull null] && ![@"" isEqualToString:string])
|
||||
|
||||
|
||||
#endif /* _Sandboxer_Header_h */
|
||||
Reference in New Issue
Block a user