@protocol PSPDFPageGrabberView <NSObject>
The page grabber view protocol can be implemented by
UIView subclasses. It enables
an instance of
PSPDFPageGrabber to communicate state changes to the view that
implements this protocol, if the view is used as the page grabber’s
If implemented, this method is called to let you know when the grabber view is touched.
- (void)setCollapsed:(BOOL)collapsed animated:(BOOL)animated;
optional func setCollapsed(_ collapsed: Bool, animated: Bool)
YES if the user is touching the grabber. NO when the user is currently not touching the grabber.
YES if the state change should be animated, NO otherwise.