SCSMinimizableDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | SCSMinimizable.h |
Overview
Delegate protocol used to interact with, and be informed of changes to, minimizable controllers.
– minimizedController:destinationPoint:
Overrides the destination point that the minimization will animate to.
- (CGPoint)minimizedController:(UIViewController<SCSMinimizable> *)minimized destinationPoint:(CGPoint)defaultPoint
Parameters
minimized |
The minimized controller. |
---|---|
defaultPoint |
The default point that would be used. |
Return Value
New point to serve as the initial destination point.
Discussion
The point is a floating point value between 0.0 and 1.0 to indicate a relative position across the screen. If any dimension in the point is larger than 1.0, it will be assumed to be an absolute position on the screen, and its value will be converted. If you want to accept the previous position the attachment was minimized to, or you want to accept the system default, simply return the supplied defaultPoint
.
Declared In
SCSMinimizable.h
– minimizedController:movedToPoint:
Informs the receiver when the minimized view is moved to a new point.
- (void)minimizedController:(UIViewController<SCSMinimizable> *)minimized movedToPoint:(CGPoint)point
Parameters
minimized |
The minimized controller. |
---|---|
point |
The new center point for the attachment. |
Declared In
SCSMinimizable.h
– minimizedController:controllerWillMinimize:
Notifies the receiver when the minimized view will be minimized.
- (void)minimizedController:(UIViewController<SCSMinimizable> *)minimized controllerWillMinimize:(BOOL)animated
Parameters
minimized |
The minimized controller. |
---|---|
animated |
Whether or not the minimization will be animated. |
Declared In
SCSMinimizable.h
– minimizedController:controllerDidMinimize:
Notifies the receiver when the window minimization is complete.
- (void)minimizedController:(UIViewController<SCSMinimizable> *)minimized controllerDidMinimize:(BOOL)animated
Parameters
minimized |
The minimized controller. |
---|---|
animated |
Whether or not the minimization was animated. |
Declared In
SCSMinimizable.h
– minimizedController:controllerWillMaximize:
Notifies the receiver when the window will be maximized.
- (void)minimizedController:(UIViewController<SCSMinimizable> *)minimized controllerWillMaximize:(BOOL)animated
Parameters
minimized |
The minimized controller. |
---|---|
animated |
Whether or not the maximization will be animated. |
Declared In
SCSMinimizable.h
– minimizedController:controllerDidMaximize:
Notifies the receiver when the window was maximized.
- (void)minimizedController:(UIViewController<SCSMinimizable> *)minimized controllerDidMaximize:(BOOL)animated
Parameters
minimized |
The minimized controller. |
---|---|
animated |
Whether or not the maximization was animated. |
Declared In
SCSMinimizable.h