Summary: Add macOS dependencies and alternative classes to the libraries that FlipperKitLayoutPlugin needs to function. Reviewed By: priteshrnandgaonkar Differential Revision: D27328277 fbshipit-source-id: f22d1e9f6a5415cee0bae8eaada653be5f5467b3
37 lines
709 B
Objective-C
37 lines
709 B
Objective-C
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <TargetConditionals.h>
|
|
|
|
#if TARGET_OS_IPHONE
|
|
#import <UIKit/UIKit.h>
|
|
#elif TARGET_OS_OSX
|
|
#import <AppKit/AppKit.h>
|
|
#import <Foundation/Foundation.h>
|
|
#import <QuartzCore/QuartzCore.h>
|
|
#endif
|
|
|
|
@interface SKHighlightOverlay : NSObject
|
|
|
|
+ (instancetype)sharedInstance;
|
|
|
|
#if TARGET_OS_IPHONE
|
|
|
|
+ (UIColor*)overlayColor;
|
|
- (void)mountInView:(UIView*)view withFrame:(CGRect)frame;
|
|
|
|
#elif TARGET_OS_OSX
|
|
|
|
+ (NSColor*)overlayColor;
|
|
- (void)mountInView:(NSView*)view withFrame:(CGRect)frame;
|
|
|
|
#endif
|
|
|
|
- (void)unmount;
|
|
|
|
@end
|