RCTFPSGraph.h 641 B

123456789101112131415161718192021222324252627
  1. /**
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. #import <UIKit/UIKit.h>
  8. #import <React/RCTDefines.h>
  9. #if RCT_DEV
  10. @interface RCTFPSGraph : UIView
  11. @property (nonatomic, assign, readonly) NSUInteger FPS;
  12. @property (nonatomic, assign, readonly) NSUInteger maxFPS;
  13. @property (nonatomic, assign, readonly) NSUInteger minFPS;
  14. - (instancetype)initWithFrame:(CGRect)frame
  15. color:(UIColor *)color NS_DESIGNATED_INITIALIZER;
  16. - (void)onTick:(NSTimeInterval)timestamp;
  17. @end
  18. #endif