TVPrefixHeader.pch 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*****************************************************************************
  2. * Prefix header for all source files of the 'VLC for Apple TV' target
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2015 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Felix Paul Kühne <fkuehne # videolan.org>
  9. *
  10. * Refer to the COPYING file of the official project for license.
  11. *****************************************************************************/
  12. #ifndef PrefixHeader_pch
  13. #define PrefixHeader_pch
  14. #ifdef __OBJC__
  15. #import <UIKit/UIKit.h>
  16. #import <Foundation/Foundation.h>
  17. #endif
  18. #import <TVVLCKit/TVVLCKit.h>
  19. #import "UIColor+Presets.h"
  20. #import "VLCTVConstants.h"
  21. #import "UIViewController+VLCAlert.h"
  22. #import "VLCFullscreenMovieTVViewController.h"
  23. #define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[UIDevice currentDevice] systemVersion].floatValue >= [v floatValue])
  24. #define SYSTEM_RUNS_IOS8_OR_LATER SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"8.0")
  25. #ifndef NDEBUG
  26. #define APLog(format, ...) NSLog(format, ## __VA_ARGS__)
  27. #else
  28. #define APLog(format, ...)
  29. #endif
  30. #endif /* PrefixHeader_pch */