summaryrefslogtreecommitdiff
path: root/tests/projects/objc/metal_app/Application/AAPLViewController.h
blob: f9ecea64f33cc8279bc1104060a865226b702c98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
See LICENSE folder for this sample’s licensing information.

Abstract:
Header for our our cross-platform view controller
*/

#if defined(TARGET_IOS) || defined(TARGET_TVOS)
@import UIKit;
#define PlatformViewController UIViewController
#else
@import AppKit;
#define PlatformViewController NSViewController
#endif

@import MetalKit;

#import "AAPLRenderer.h"

// Our view controller
@interface AAPLViewController : PlatformViewController

@end