SCSMinimizable Protocol Reference

Conforms to NSObject
Declared in SCSMinimizable.h

Overview

Protocol used by UI components that are capable of being minimized.

  minimizable required method

Indicates whether or not the receiver is capable of being minimized.

@property (nonatomic, assign, getter=isMinimizable, readonly) BOOL minimizable

Declared In

SCSMinimizable.h

  minimized required method

Property to control whether or not the window is minimized.

@property (nonatomic, assign, getter=isMinimized) BOOL minimized

Declared In

SCSMinimizable.h

  minimizationDelegate required method

Optional delegate property used to interact with minimized views.

@property (nullable, nonatomic, weak) NSObject<SCSMinimizableDelegate> *minimizationDelegate

Declared In

SCSMinimizable.h

– setMinimized:animated:completion: required method

Animated setter for controlling the window minimification.

- (void)setMinimized:(BOOL)minimized animated:(BOOL)animated completion:(nullable void ( ^ ) ( ))completion

Parameters

minimized

Boolean indicating if the view should be minimized or not.

animated

Indicates whether or not the minimization should occur with an animation.

completion

Optional completion block to be called when the operation has completed.

Declared In

SCSMinimizable.h