Add macOS support
Summary: This adds macOS compatibility to Flipper client along with some of the standard plugins. Reviewed By: jknoxville Differential Revision: D24644439 fbshipit-source-id: dc15636a6ac1bf684fa1c89735f51f0e97667b62
This commit is contained in:
committed by
Facebook GitHub Bot
parent
473f314da1
commit
fb223671a7
@@ -7,8 +7,6 @@
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import "UIKit/UIKit.h"
|
||||
|
||||
typedef NS_ENUM(NSInteger, FLEXNetworkTransactionState) {
|
||||
FLEXNetworkTransactionStateUnstarted,
|
||||
FLEXNetworkTransactionStateAwaitingResponse,
|
||||
@@ -33,10 +31,6 @@ typedef NS_ENUM(NSInteger, FLEXNetworkTransactionState) {
|
||||
|
||||
@property(nonatomic, assign) int64_t receivedDataLength;
|
||||
|
||||
/// Only applicable for image downloads. A small thumbnail to preview the full
|
||||
/// response.
|
||||
@property(nonatomic, strong) UIImage* responseThumbnail;
|
||||
|
||||
/// Populated lazily. Handles both normal HTTPBody data and HTTPBodyStreams.
|
||||
@property(nonatomic, strong, readonly) NSData* cachedRequestBody;
|
||||
|
||||
|
||||
@@ -10,13 +10,6 @@
|
||||
#import <objc/runtime.h>
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#define FLEXFloor(x) \
|
||||
(floor([[UIScreen mainScreen] scale] * (x)) / [[UIScreen mainScreen] scale])
|
||||
|
||||
#define FLEX_AT_LEAST_IOS11_SDK \
|
||||
defined(__IPHONE_11_0) && (__IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_11_0)
|
||||
|
||||
@interface NSNumber (SonarUtility)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user