mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-25 03:48:51 -04:00
added files via upload
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
//
|
||||
// FHSViewController.h
|
||||
// FLEX
|
||||
//
|
||||
// Created by Tanner Bennett on 1/6/20.
|
||||
// Copyright © 2020 FLEX Team. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/// The view controller
|
||||
/// "FHS" stands for "FLEX (view) hierarchy snapshot"
|
||||
@interface FHSViewController : UIViewController
|
||||
|
||||
/// Use this when you want to snapshot a set of windows.
|
||||
+ (instancetype)snapshotWindows:(NSArray<UIWindow *> *)windows;
|
||||
/// Use this when you want to snapshot a specific slice of the view hierarchy.
|
||||
+ (instancetype)snapshotView:(UIView *)view;
|
||||
/// Use this when you want to emphasize specific views on the screen.
|
||||
/// These views must all be in the same window as the selected view.
|
||||
+ (instancetype)snapshotViewsAtTap:(NSArray<UIView *> *)viewsAtTap selectedView:(UIView *)view;
|
||||
|
||||
@property (nonatomic, nullable) UIView *selectedView;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
Reference in New Issue
Block a user