AsyncDisplayKit-prefix.pch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifdef __OBJC__
  2. #import <UIKit/UIKit.h>
  3. #else
  4. #ifndef FOUNDATION_EXPORT
  5. #if defined(__cplusplus)
  6. #define FOUNDATION_EXPORT extern "C"
  7. #else
  8. #define FOUNDATION_EXPORT extern
  9. #endif
  10. #endif
  11. #endif
  12. //
  13. // Prefix header
  14. //
  15. // The contents of this file are implicitly included at the beginning of every source file.
  16. //
  17. #ifdef __OBJC__
  18. #import <Foundation/Foundation.h>
  19. #endif
  20. // Some build systems (Cocoapods, Buck, Bazel, etc) will define these flags manually if the functionality
  21. // is needed by the app. Carthage in particular, or if a user forgets to set the build flag, benefit from
  22. // checking if each flag is not defined and then setting it to whether or not the header is accessible.
  23. #ifndef PIN_REMOTE_IMAGE
  24. // For Carthage or manual builds, this will define PIN_REMOTE_IMAGE if the header is available in the
  25. // search path e.g. they've dragged in the framework (technically this will not be able to detect if
  26. // a user does not include the framework in the link binary with build step).
  27. #define PIN_REMOTE_IMAGE __has_include(<PINRemoteImage/PINRemoteImage.h>)
  28. #endif
  29. #ifndef IG_LIST_KIT
  30. #define IG_LIST_KIT __has_include(<IGListKit/IGListKit.h>)
  31. #endif
  32. #ifndef YOGA
  33. #define YOGA __has_include(<Yoga/Yoga.h>)
  34. #endif