Created
August 6, 2018 19:08
-
-
Save aChase55/fe81a43a7f3394fa688a4c9f9bf94e0a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if defined(TARGET_IOS) || defined(TARGET_TVOS) | |
@import UIKit; | |
#define PlatformViewController UIViewController | |
#else | |
@import AppKit; | |
#define PlatformViewController NSViewController | |
#endif | |
// Our view controller | |
@interface MyViewController : PlatformViewController | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment