2015-05-21 01:24:34 +00:00
|
|
|
/**
|
2018-09-11 22:27:47 +00:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2015-05-21 01:24:34 +00:00
|
|
|
*
|
2018-02-17 02:24:55 +00:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2015-05-21 01:24:34 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
2016-11-23 15:47:52 +00:00
|
|
|
#import <React/RCTDefines.h>
|
2015-10-23 17:53:42 +00:00
|
|
|
|
|
|
|
#if RCT_DEV
|
2015-05-21 01:24:34 +00:00
|
|
|
|
|
|
|
@interface RCTFPSGraph : UIView
|
|
|
|
|
2015-10-23 17:53:42 +00:00
|
|
|
@property (nonatomic, assign, readonly) NSUInteger FPS;
|
|
|
|
@property (nonatomic, assign, readonly) NSUInteger maxFPS;
|
|
|
|
@property (nonatomic, assign, readonly) NSUInteger minFPS;
|
|
|
|
|
|
|
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
|
|
color:(UIColor *)color NS_DESIGNATED_INITIALIZER;
|
2015-05-21 01:24:34 +00:00
|
|
|
|
2015-06-29 12:47:21 +00:00
|
|
|
- (void)onTick:(NSTimeInterval)timestamp;
|
2015-05-21 01:24:34 +00:00
|
|
|
|
|
|
|
@end
|
2015-10-23 17:53:42 +00:00
|
|
|
|
|
|
|
#endif
|