mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-24 11:28:52 -04:00
30 lines
879 B
Objective-C
30 lines
879 B
Objective-C
//
|
|
// 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
|