AAPLViewController.h 448 B

1234567891011121314151617181920212223
  1. /*
  2. See LICENSE folder for this sample’s licensing information.
  3. Abstract:
  4. Header for our our cross-platform view controller
  5. */
  6. #if defined(TARGET_IOS) || defined(TARGET_TVOS)
  7. @import UIKit;
  8. #define PlatformViewController UIViewController
  9. #else
  10. @import AppKit;
  11. #define PlatformViewController NSViewController
  12. #endif
  13. @import MetalKit;
  14. #import "AAPLRenderer.h"
  15. // Our view controller
  16. @interface AAPLViewController : PlatformViewController
  17. @end