// // PDFViewer_Prefix.pch // PDFViewer // // Copyright © 2014-2022 PDF Technologies, Inc. All Rights Reserved. // // The PDF Reader Sample applications are licensed with a modified BSD license. // Please see License for details. This notice may not be removed from this file. // #ifndef PDFViewer_Prefix_pch #define PDFViewer_Prefix_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. #ifdef __OBJC__ #import #import #endif // // Workaround to remove NSLog and change some configs based on the kind of compilation // If __OPTIMIZE__ is defined (default definition by the compiler when in release mode) // we use the config for production otherwise, we use the config for development environment. // #define NSLOG_ENABLED #ifdef NSLOG_ENABLED #ifndef __OPTIMIZE__ // __OPTIMIZE__ is not enables, it means that the active config is Debug, so let NSLog enabled #define NSLog(...) NSLog(__VA_ARGS__) #else //__OPTIMIZE__ is defined, so disable NSLog #define NSLog(...) {} #endif // __OPTIMIZE__ #else // NSLOG_ENABLED is not defined, so disable NSLog #define NSLog(...) {} #endif // NSLOG_ENABLED #endif /* PDFViewer_Prefix_pch */